Image Classification
Keras
tfjs
tensorflowjs
synthetic-data
blender
abacus
soroban
browser
on-device
abaci-one
Eval Results (legacy)
Run this model with HF Jobs
Run thomashallock/abacus-column-reader on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/thomashallock/abacus-column-reader. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/thomashallock/abacus-column-reader on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use thomashallock/abacus-column-reader with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use thomashallock/abacus-column-reader with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://thomashallock/abacus-column-reader") - Notebooks
- Google Colab
- Kaggle
v2: column reader drawn-slots-sor2 (Studio + soroban): TF.js bundle, soroban-cut.json, Keras source, card
Browse filesFiles changed (7)
- .gitattributes+1
- README.md+151-115
- group1-shard1of1.bin+1-1
- keras/column-reader-gateB.keras → keras/column-reader-sor2.kerasRenamed+1-1
- keras/recipe.json+9-9
- model.json+1-1
- soroban-cut.jsonAdded+1
33 unmodified lines3435363733 unmodified lines*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textkeras/column-reader-gateB.keras filter=lfs diff=lfs merge=lfs -textkeras/column-reader-sor2.keras filter=lfs diff=lfs merge=lfs -text12 unmodified lines131415161617181920202122232223242526272627282930293031323332333435363637383940413839404142434444454647484748495051525354555657585960616212 unmodified lines75767778798081828384858687888990919293949596979899100101102103717273104105106107751081091101111121131141151161171183 unmodified lines12212312491125126931271281291301311321331341351369798991001371381391401411421431041441451461071081091101111121131141151161171181191201211471481491501511521531541551561571581591601611621631641651661251261271281291301311321331671681691701711351361371381391401411721731741751431441451461761771481491501511521531541551561571581781791601611621631641651661671681691701801811821831841851861871881891901911921931941951961971981992001721732012022032042052061771781792072082092102112122132141831841852152162172182192202212221911921932232242252262272282291981992002012022032042052062072082092102302312322332342352362372382392402412422432442452462472482152162172492502512522532542192552562572581 unmodified line26026126222726326426526612 unmodified lines - on-device - abaci-onemodel-index: - name: abacus-column-reader (drawn-slots-gateB) - name: abacus-column-reader (drawn-slots-sor2) results: - task: type: image-classification name: Digit (0-9) of one abacus column, with refusal name: Digit (0-9) of one abacus column or soroban rod, with refusal dataset: name: Studio abacus renders, held-back test set (seed 59003), no column covered, slot cuts from exact corners type: synthetic-studio-abacus-renders name: Drawn Studio abaci and sorobans, no column covered, exact corners (development scores - these drawings were used to choose this model; no held-back score yet for this version) type: synthetic-abacus-renders-development metrics: - type: accuracy name: Per-column digit accuracy value: 98.5 name: Soroban, per-rod digit accuracy (development) value: 95.0 - type: accuracy name: Whole numbers read right (all columns accepted and right) value: 90.6 name: Soroban, whole numbers read right (development) value: 69.8 - type: accuracy name: Wrong among accepted columns (at the app's 0.5 floor) value: 0.98 name: Studio abacus, whole numbers read right (development) value: 92.4---
# abacus-column-reader (drawn-slots-gateB)# abacus-column-reader (drawn-slots-sor2)
A **332 k-parameter, 1.3 MB TF.js** convolutional network that reads one column of a 3D-printed[Abacus Studio](https://abaci.one/create/abacus) abacus from a 64 × 128 grey picture: is the heaven beadset, how many earth beads are set, and — folded into the same two outputs — *is this a readable abacuscolumn at all*. It is the last stage of the camera reader on [abaci.one](https://abaci.one), afterA **332 k-parameter, 1.3 MB TF.js** convolutional network that reads one column of an abacus from a64 × 128 grey picture: is the heaven bead set, how many earth beads are set, and — folded into the same twooutputs — *is this a readable abacus column at all*. **Version 2 reads a soroban as well as the3D-printed [Abacus Studio](https://abaci.one/create/abacus) abacus.** It is the last stage of the camerareader on [abaci.one](https://abaci.one), after[abacus-frame-finder](https://huggingface.co/thomashallock/abacus-frame-finder) and[abacus-column-counter](https://huggingface.co/thomashallock/abacus-column-counter), and it is what turnsa phone pointed at a child's abacus into the number they have set.a phone pointed at a child's abacus into the number they have set. It is live on abaci.one since2026-12-04.
**Trained only on rendered drawings; no photograph was ever a training example.** Real pictures wereused to *measure* it and, earlier in its lineage, to *choose* its recipe. The Privacy section says exactlyhow.used, earlier in its lineage, to *choose* its recipe, and to *check* it before publishing. The Privacysection says exactly how.
## What's new in version 2
- **It reads sorobans.** Version 1 (gate B) was taught Studio abaci only. This version was taught on 57,921 drawn soroban rods as well, cut the way the phone cuts them (`soroban-cut.json`, below).- **The Studio is not measurably worse** for it (development scores below).- Version 1's weights, its held-back test scores and its real-picture scores stay at the tag [`v1-20261203`](https://huggingface.co/thomashallock/abacus-column-reader/tree/v1-20261203). Those scores belong to those weights, not to this version.
## What it predicts
12 unmodified linesflat earth distribution, so its confidence is near 0 and the app refuses it — with no change to the app.The digits are the base reader's; the gate only withholds them.
### The soroban cut (`soroban-cut.json`)
The reader cuts a soroban exactly as it cuts a Studio abacus, so the app needs no second cutter. It doesthis with a stand-in outline:
1. The finder gives the soroban frame's four corners, and the counter gives the number of rods and where each rod is seen.2. The app stretches the found outline sideways until the Studio's column positions for that count fall on the soroban's rods.3. A soroban's beads sit lower than the top of its frame, so on a slanted view the bead row also shifts up or down in the picture, and the phone cannot measure by how much. So the stand-in outline is made taller than the frame's opening: from 12 % of the opening's depth above its top edge to 17 % below its bottom edge. That is `"depth": [-0.12, 1.17]`, in shares of the found outline's depth. This span covers where the rods' ends land on 98 % of the training drawings (the 1st to 99th percentile).4. Each rod is then cut from the stand-in outline like a Studio column.
The reader was taught on cuts at exactly this span, so the file belongs to these weights: read it, don'thard-code it. A reader folder without the file means the span 0 to 1. The first soroban reader (live for32 minutes on 2026-12-04, never published) used 0 to 1, and on slanted views it cut the heaven bead off,so a 5 read as 0.
## Files
| File | SHA-256 | Size ||---|---|---|| `soroban-cut.json` — the soroban cut's depth span, `{"version": 1, "depth": [-0.12, 1.17]}` | `dd4c5c6e…96b8dbba` | 39 B || `model.json` + `group1-shard1of1.bin` — TF.js graph model | `798de4d5…3d115c8c` / `0218f6cd…fe77958bc86` | 1.3 MB || `keras/column-reader-gateB.keras` — the trained Keras 3 model it was exported from | `cc6f4a3a…616923c` | 1.4 MB || `keras/recipe.json` — the gate head's training record (counts, epochs, drawn validation) | | || `model.json` + `group1-shard1of1.bin` — TF.js graph model | `15505f64…578e9172` / `f16ece17…6016049c` | 1.3 MB || `keras/column-reader-sor2.keras` — the trained Keras 3 model it was exported from | `3034206e…155a84b3` | 1.4 MB || `keras/recipe.json` — the gate head's training record (counts, epochs, drawn validation) | `a83fca5a…76a30909` | 429 B |
The TF.js files are byte-identical to what abaci.one serves as `column-classifier/drawn-slots-gateB-cnn-20261203`.The TF.js files are byte-identical to what abaci.one serves as `column-classifier/drawn-slots-sor2-cnn-20261203`.
## Usage
```jsimport * as tf from '@tensorflow/tfjs';const model = await tf.loadGraphModel('model.json');const sorobanCut = await (await fetch('soroban-cut.json')).json(); // { version: 1, depth: [v0, v1] }
// column: a 64x128 grey crop as [1, 128, 64, 1], values 0-1const [heaven, earth] = model.predict(column); // [1,1], [1,5]3 unmodified linesif (confidence >= 0.5) console.log('digit', digit); else console.log('not sure');```
The slot cut and the rest of the pipeline are in the open-source app:The slot cut, the soroban's stand-in outline and the rest of the pipeline are in the open-source app:[`apps/web/src/lib/vision/`](https://github.com/antialias/abaci-one/tree/main/apps/web/src/lib/vision)(`columnClassifier.ts`, `slotCut.ts`, `cvPort.ts`); the floor and frame count are in `src/types/vision.ts`.(`columnClassifier.ts`, `slotCut.ts`, `sorobanCut.ts`, `cvPort.ts`); the floor and frame count are in`src/types/vision.ts`.
**A trap in the Keras file.** Run in Keras on a batch of exactly 5 cuts (the same as the number of earthclasses), the folded gate is applied wrongly: each row's share of "unsure" lands on one earth class ofevery row. Any other batch size is right, and the browser reads one cut at a time. Avoid batches of 5, orcheck against single cuts.
## Architecture
Base reader: four blocks of Conv 3 × 3 (16 / 32 / 64 / 64, no bias) → BatchNorm → ReLU → MaxPool 2,dropout 0.25, flatten (2,048), Dense 64, dropout 0.4, then two Dense-64 branches to the heaven (1) andearth (5) heads: 200,598 parameters. Gate: Dense 64 → dropout → Dense 1 (sigmoid) on the frozen flatten,131,201 parameters, folded in as above. 331,799 in all.Unchanged from version 1. Base reader: four blocks of Conv 3 × 3 (16 / 32 / 64 / 64, no bias) → BatchNorm→ ReLU → MaxPool 2, dropout 0.25, flatten (2,048), Dense 64, dropout 0.4, then two Dense-64 branches to theheaven (1) and earth (5) heads: 200,598 parameters. Gate: Dense 64 → dropout → Dense 1 (sigmoid) on thefrozen flatten, 131,201 parameters, folded in as above. 331,799 in all.
## Training
Three steps, all on rendered column cuts:Four steps, all on rendered column cuts:
1. **Root** (`d-v1slice-s42`, 2026-11-29): the base architecture from a blank start on 5,808 drawn columns of the 4-column printed design (tan frame, dark beads), seed 42. It became the first drawn-only reader in the app.2. **Base** (`base-slots-s42`, 2026-12-03): warm-started from the root and trained 30 epochs (lr 3 × 10⁻⁴, 94 min, laptop CPU) on 131,000 drawn columns from four renderers: the printed design in random frame and bead colours (29,408), its original look (29,408), rods of a general procedural abacus generator (5,336, a third of what exists — all of it cost accuracy on the real check), and slot cuts of Studio prints with 3–21 columns (66,677). Validation on drawn pictures.3. **Gate B** (`gatedB-slots-s42`): the gate head trained 26 epochs on 124,198 drawn abacus columns against 19,098 drawn not-abacus pictures (desk renders cut as if they were columns, general-generator desks, and Studio slots at least four-ninths covered by a hand or object — the "B" is that last group; gate A without it accepted four times as many wrong numbers on covered pictures). Drawn validation: abacus called abacus 98.8 %, not-abacus called abacus 2.7 %.
TensorFlow 2.19 on several CPU threads: the same command and seed has given readers a point apart on thereal check. **Score any re-trained reader before trusting it.** columns of the 4-column printed design (tan frame, dark beads), seed 42.2. **Studio base** (`base-slots-s42`, 2026-12-03, version 1's base): warm-started from the root and trained 30 epochs (lr 3 × 10⁻⁴, 94 min, laptop CPU) on 131,000 drawn columns from four renderers: the printed design in random frame and bead colours (29,408), its original look (29,408), rods of a general procedural abacus generator (5,336), and slot cuts of Studio prints with 3–21 columns (66,677).3. **Soroban base** (`sorV-base-s42`, 2026-12-03): warm-started from the Studio base and trained 20 epochs (lr 2 × 10⁻⁴, 87 min, laptop CPU) on all of the above plus **57,921 clear soroban rods**, cut with the stand-in outline over the −0.12 to 1.17 depth span, with corners shaken like the counter's training. Validation on drawn pictures.4. **Gate** (`sorVgated-s42`): the gate head trained 20 epochs on 182,261 drawn abacus columns (version 1's plus clear soroban rods) against 23,428 drawn not-abacus pictures (version 1's: desk renders cut as if they were columns, general-generator desks, Studio slots at least four-ninths covered by a hand or object; plus soroban rods at least four-ninths covered). Drawn validation: abacus called abacus 98.5 %, not-abacus called abacus 2.1 %.
TensorFlow 2.19 on several CPU threads: the same command and seed has given readers a point apart.**Score any re-trained reader before trusting it.**
## Evaluation
The target this reader was built to was **≥ 99 % of whole numbers right with ≤ 1 wrong number acceptedin 300, at 3, 4, 9 and 10 columns**. It is **not met** (it reaches it at 3 columns only); the model is inthe app because it is a clear improvement on what it replaced, and the target stands as open work.
### Held-back drawings (never read before 2026-12-03)
Studio renders, seed 59003. "Clear" = no column covered. "Wrong accepted" = a wrong digit atconfidence ≥ 0.5; "whole number" = every column accepted and right. The choice set (seed 59002) is theset the gate variant was picked on; it is shown for comparison.**Development scores: these drawings were used to choose this model; no held-back score yet for thisversion.** The soroban numbers below chose the depth span (0 to 1 against −0.12 to 1.17), and the Studionumbers were read to make sure the Studio did not get worse. The held-back drawn test sets have not been readfor this version.
| Set | Corners | Per column | Wrong among accepted | Whole numbers: right / wrong accepted / refused ||---|---|---|---|---|| test, clear (171) | exact | **98.5 %** | **0.98 %** (15 / 1,538) | **155 (90.6 %) / 3 / 13** || test, clear (171) | finder + counter | 97.9 % | 1.11 % | 156 (91.2 %) / 5 / 10 || test, all incl. covered columns (325) | exact | 86.7 % | 1.47 % | 182 (56.0 %) / 8 / 135 || test, all incl. covered columns (325) | finder + counter | 82.7 % | 4.09 % | 181 (55.7 %) / 11 / 133 || choice, clear (171) | exact | 98.5 % | 0.92 % | 157 / 6 / 8 |The target this reader is built towards is ≥ 99 % of whole numbers right with ≤ 1 wrong number accepted in300. **It is not met** on either kind; the model is in the app because it reads sorobans far better thanversion 1 did, at no measurable cost on the Studio.
By count on the test set, clear, exact corners — right / of (wrong accepted): 3 columns 25/25 (0),4 columns 28/30 (0), 9 columns 27/29 (1), 10 columns 22/25 (0). Covered columns are scored againsttheir true digit, so the "all" rows mostly measure refusal: on covered pictures the right behaviour is torefuse, and 135 of 325 were refused."Clear" = no column covered. "Wrong accepted" = a wrong whole number with every column at confidence ≥ 0.5.
Earlier drawn checks: on 300 held-back colour drawings of the old 4-column design, 300/300 whole numbers,0 wrong; on 2,424 unseen Studio renders including covered ones, 60 wrong numbers accepted (gate A: 249).
### Real pictures (counts only)
The one real set we have is 2,778 labelled column pictures of one printed 4-column abacus, cut the olderway (even four-way split between marker centres, not the slot cut this model now serves), collected inJanuary 2026 during practice, across 35 sittings. 460 of them come from four sittings whose columns werecut through the beads ("badly cut"). Scored once for this card:
| Set | Per column | Accepted at 0.5 | Wrong among accepted || Set (clear pictures) | Corners | Whole numbers right | Wrong accepted ||---|---|---|---|| all 2,778 | 98.96 % | | || 2,318 ordinary | 99.57 % | 99.7 % | 0.35 % || 460 badly cut | 95.87 % | 92.0 % | 1.89 % || 1,559 whole-desk phone frames (no abacus column in the cut) | | **0.0 % accepted** | |
The last row is the gate working: a frame of the whole desk, cut as if it were a column, is refusedevery time (median confidence 0.00). Label noise in the practice sittings is 1–3 % (an abacus clearedbefore the picture, a hand in the way), so the ceiling is below 100 %.
Browser path against Python on 733 drawn columns: the same digit 733/733, largest output gap1.85 × 10⁻⁴; the TypeScript slot cut within one grey level of OpenCV's.| Soroban drawings never trained on (874) | exact | **610 (69.8 %)**; per rod 95.0 % | 68 || Soroban drawings never trained on (874) | shaken like the finder's | 536 (61.3 %) | 52 || Soroban choice drawings (165), end to end | finder + counter | 117 (70.9 %) | 11 || Studio drawings never trained on (1,298) | exact | 1,200 (92.4 %) | 24 || Studio choice drawings (171) | exact | 155 (90.6 %) | 4 |
With the first soroban cut (span 0 to 1) the same soroban sets gave 534 / 874 (exact corners) and 101 / 165(end to end). Version 1 on the same Studio sets: 1,210 / 1,298 (26 wrong) and 157 / 171 (6 wrong). Version 1read 23.3 % of the never-trained-on soroban whole numbers (exact corners).
**Real-picture check, before publishing.** A check on real photos of a printed abacus with its markerspainted out: phone frames of printed four-column Studio abaci. The printed markers give the true corners,and "the right number" is this same reader's reading cut at those true corners; the markers are then paintedout and the whole served chain (finder, counter, this reader) reads the frame. Two sets: 1,023 frames frompractice sittings, and 210 frames (5 moments) from the owner's own trial.
| | practice frames | owner's trial frames ||---|---|---|| same number as the true-corner reading | 96.6 % | 84.0 % || a different number, confidently | 0.5 % | 5.8 % |
**Real use:** in the author's docked phone trials at home, the chain with this reader "worked very verywell" on his four-column prints. There is no labelled real set for other counts.(Version 1's chain: 97.5 % / 0.9 % and 77.2 % / 8.9 %.) The trial's wrong numbers are beads caughtmid-move, where the true-corner reading is itself unreliable. There are no real sorobans in this check, andit is a pre-publish gate, not a benchmark: nothing was trained or tuned on it.
## Limitations
- Studio-design abaci only. Traditional soroban beads (bicones on rods) are not read; that is separate work.- Below the target: about one whole number in ten is refused and about 2 in 100 come out wrong at the 0.5 floor on clear drawings; the app's three-frame agreement rule lowers that in use, unmeasured.- Studio-design abaci and ordinary 1/4 sorobans only. Other abaci are not read.- Below the target on both kinds: on clear soroban drawings about 3 in 10 whole numbers are refused or wrong; on the Studio about 1 in 13.- Sorobans are scored on drawings only. There is no real-photo score for sorobans, and the depth span was set from drawings; the phone cannot measure a real soroban's bead-row shift.- Heaven beads caught mid-travel (the drawings count a bead as set from 60 % of its travel) and columns under about 20 px wide are the usual misses.- The gate refuses covered columns, not every kind of nonsense: it was trained against desks, hands and objects on Studio prints, nothing else.- Real-picture scores exist for one abacus, one cut and one camera. The model's behaviour on other real prints is reported by one person's trials, not measured. objects, nothing else.- Real-picture checks exist for printed four-column Studio abaci, one camera. Behaviour on other real abaci is not measured.
## Training data, attribution and licence
Every training example is a render: Blender 4.4 scenes built from the Studio's own OpenSCAD parts([`public/scad/abacus.scad`](https://github.com/antialias/abaci-one/blob/main/apps/web/public/scad/abacus.scad),the author's design) and from a procedural abacus generator, procedural textures, no third-party image ormesh assets, macOS system fonts for frame text. No pretrained weights anywhere in the lineage. **ApacheLicense 2.0** (`LICENSE`).the owner's design), from a procedural abacus generator and from a procedural soroban generator,procedural textures, no third-party image or mesh assets, macOS system fonts for frame text. No pretrainedweights anywhere in the lineage. **Apache License 2.0** (`LICENSE`).
## Privacy
The camera reader is used by children practising at home; the real pictures we hold show their desksand hands, and their file names carry account ids. **None of them is published, here or anywhere, andnone was a training example for any weight in this model.** They did touch it in three ways, which westate so nobody mistakes "drawn-only" for "untouched":
1. **Measurement.** The real scores above come from them, and every earlier reader in this lineage was scored on them before it went live.2. **Selection.** The root reader was picked among several training runs by its real score, as were the renderer, the separate gate head over an "unsure" target, and the share of general-generator rods in the base's data. Those are choices among drawn-only candidates, made by looking at real numbers.3. **One measured constant.** The renderer's default cut inset (10.7 × 8.5 mm) was measured on the real abacus's stuck-on markers.
Gate B over gate A, and the slot-cut window, were chosen on drawings alone.and hands. **None of the three camera models (the finder, the counter, this reader) was trained on realpictures, and none of those pictures is published, here or anywhere.** They did touch this reader in theseways, which we state so nobody mistakes "drawn-only" for "untouched":
1. **Selection, earlier in the lineage (as in version 1).** The root reader was picked among several training runs by its score on real January practice columns, as were the renderer, the separate gate head over an "unsure" target, and the share of general-generator rods in the base's data. Those are choices among drawn-only candidates, made by looking at real numbers.2. **One measured constant.** The renderer's default cut inset (10.7 × 8.5 mm) was measured on the real printed abacus's stuck-on markers.3. **A pre-publish check.** Real frames with their markers painted out were scored once before this version was published (the table above); only counts and rates leave the owner's machine.
Version 2's own choices (adding sorobans, the depth span, the gate's soroban negatives) were made ondrawings alone.
## Reproducibility
Generators (`studio2/scripts/gen.py`, `render_wide.py`, `synth/scripts/render.py`,`general/scripts/gen.py`; Blender 4.4; seeds in the kit), cutters, `train_slots.py` (warm start, lr, seed42, 30 epochs), `add_abacus_head.py`, scorers (`score_slots.py`, `report.py`), export to TF.js (TF 2.19,converter 4.22) and the Node equivalence check. The original drawn-only recipe is already public at`general/scripts/gen.py`, `soroban1/scripts/gen.py`; Blender 4.4; seeds in the kit), cutters(`cut_studio2.py`, `cut_soroban1.py`), `train_slots.py` (warm start, lr, seed 42), `add_abacus_head.py`,scorers (`score_slots.py`, `score_sor.py`), export to TF.js (`export_graph_models.py reader`, TF 2.19,converter 4.22) and the Node equivalence check. The original drawn-only recipe, `add_abacus_head.py` andthe export script are public at[`apps/web/scripts/train-column-classifier/drawn/`](https://github.com/antialias/abaci-one/tree/main/apps/web/scripts/train-column-classifier/drawn);the rest of the kit is on the author's machine and is being prepared for release with a DOI, and this cardthe rest of the kit is on the owner's machine and is being prepared for release with a DOI, and this cardwill link it. The root's 5,808-column slice was cut by hand and no script rebuilds it byte for byte; are-run of the recipe gives a reader within about a point of this one.
1 unmodified line
```bibtex@misc{hallock2026abacusreader, title={abacus-column-reader: reading the columns of a 3D-printed abacus with a network trained only on drawings}, title={abacus-column-reader: reading the columns of a 3D-printed abacus or a soroban with a network trained only on drawings}, author={Hallock, Thomas}, year={2026}, url={https://huggingface.co/thomashallock/abacus-column-reader}1223version https://git-lfs.github.com/spec/v1oid sha256:0218f6cde68ab84c8110c9c6b1cdb1706412709cb004e85ae9885fe77958bc86oid sha256:f16ece17afef89b99c36d155d3887fecd499315e402533082f151c7a6016049csize 13251161223version https://git-lfs.github.com/spec/v1oid sha256:cc6f4a3a07be365f943f48a3356765bff291e62227aa8dad7e2d13ae8616923coid sha256:3034206e673e21a5d52285aaa679783897a7264df734c1218805c396155a84b3size 144748112345345678910789101112131213141516{ "step": "add_abacus_head", "base": "models/base-slots-s42/column-classifier.keras", "abacus": "cuts/gate-pos.npz", "not_abacus": "cuts/gate-negB.npz", "base": "models/sorV-base-s42/column-classifier.keras", "abacus": "cuts/gate-posSV.npz", "not_abacus": "cuts/gate-negSV.npz", "seed": 42, "train_abacus": 124198, "train_not_abacus": 19098, "epochs_trained": 26, "seconds": 1474, "train_abacus": 182261, "train_not_abacus": 23428, "epochs_trained": 20, "seconds": 1660, "drawn_validation": { "abacus_called_abacus": 0.9881480649328764, "not_abacus_called_abacus": 0.027134587554269174 "abacus_called_abacus": 0.9852529972804229, "not_abacus_called_abacus": 0.0214992927864215 }, "tensorflow": "2.19.0"}11{"format": "graph-model", "generatedBy": "2.19.0", "convertedBy": "TensorFlow.js Converter v4.22.0", "signature": {"inputs": {"input_layer": {"name": "input_layer:0", "dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "-1"}, {"size": "128"}, {"size": "64"}, {"size": "1"}]}}}, "outputs": {"output_1": {"name": "Identity_1:0", "dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "-1"}, {"size": "5"}]}}, "output_0": {"name": "Identity:0", "dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "-1"}, {"size": "1"}]}}}}, "modelTopology": {"node": [{"name": "StatefulPartitionedCall/functional_2_1/dense_1_2/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1_2/BiasAdd/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}, {"size": "1"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Add/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_centre_1/Cast_1/x", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_out_1/Cast_1/x", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast_1/x", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast/x", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "2048"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1/BiasAdd/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_2_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_2_1/BiasAdd/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}, {"size": "5"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/BiasAdd/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "5"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_1/convolution/merged_input", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "3"}, {"size": "3"}, {"size": "1"}, {"size": "16"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1/batchnorm/sub", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "16"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_1_2/convolution/merged_input", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "3"}, {"size": "3"}, {"size": "16"}, {"size": "32"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1_2/batchnorm/sub", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "32"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_2_1/convolution/merged_input", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "3"}, {"size": "3"}, {"size": "32"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_2_1/batchnorm/sub", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_3_1/convolution/merged_input", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "3"}, {"size": "3"}, {"size": "64"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_3_1/batchnorm/sub", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_1", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_2", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape/shape/1", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_dense_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "2048"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_dense_1/BiasAdd/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}, {"size": "1"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Add/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "input_layer", "op": "Placeholder", "attr": {"shape": {"shape": {"dim": [{"size": "-1"}, {"size": "128"}, {"size": "64"}, {"size": "1"}]}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1/batchnorm/add_1", "op": "_FusedConv2D", "input": ["input_layer", "StatefulPartitionedCall/functional_2_1/conv2d_1/convolution/merged_input", "StatefulPartitionedCall/functional_2_1/batch_normalization_1/batchnorm/sub"], "device": "/device:CPU:0", "attr": {"num_host_args": {"i": "0"}, "data_format": {"s": "TkhXQw=="}, "filter_format": {"s": "SFdJTw=="}, "strides": {"list": {"i": ["1", "1", "1", "1"]}}, "num_args": {"i": "1"}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "TArgs": {"list": {"type": ["DT_FLOAT"]}}, "padding": {"s": "U0FNRQ=="}, "use_cudnn_on_gpu": {"b": true}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "dilations": {"list": {"i": ["1", "1", "1", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/max_pooling2d_1/MaxPool2d", "op": "MaxPool", "input": ["StatefulPartitionedCall/functional_2_1/batch_normalization_1/batchnorm/add_1"], "attr": {"ksize": {"list": {"i": ["1", "2", "2", "1"]}}, "data_format": {"s": "TkhXQw=="}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "padding": {"s": "VkFMSUQ="}, "strides": {"list": {"i": ["1", "2", "2", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/activation_1/Relu", "op": "Relu", "input": ["StatefulPartitionedCall/functional_2_1/max_pooling2d_1/MaxPool2d"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1_2/batchnorm/add_1", "op": "_FusedConv2D", "input": ["StatefulPartitionedCall/functional_2_1/activation_1/Relu", "StatefulPartitionedCall/functional_2_1/conv2d_1_2/convolution/merged_input", "StatefulPartitionedCall/functional_2_1/batch_normalization_1_2/batchnorm/sub"], "device": "/device:CPU:0", "attr": {"num_host_args": {"i": "0"}, "data_format": {"s": "TkhXQw=="}, "filter_format": {"s": "SFdJTw=="}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "num_args": {"i": "1"}, "strides": {"list": {"i": ["1", "1", "1", "1"]}}, "TArgs": {"list": {"type": ["DT_FLOAT"]}}, "padding": {"s": "U0FNRQ=="}, "use_cudnn_on_gpu": {"b": true}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "dilations": {"list": {"i": ["1", "1", "1", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/max_pooling2d_1_2/MaxPool2d", "op": "MaxPool", "input": ["StatefulPartitionedCall/functional_2_1/batch_normalization_1_2/batchnorm/add_1"], "attr": {"ksize": {"list": {"i": ["1", "2", "2", "1"]}}, "data_format": {"s": "TkhXQw=="}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "padding": {"s": "VkFMSUQ="}, "strides": {"list": {"i": ["1", "2", "2", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/activation_1_2/Relu", "op": "Relu", "input": ["StatefulPartitionedCall/functional_2_1/max_pooling2d_1_2/MaxPool2d"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_2_1/batchnorm/add_1", "op": "_FusedConv2D", "input": ["StatefulPartitionedCall/functional_2_1/activation_1_2/Relu", "StatefulPartitionedCall/functional_2_1/conv2d_2_1/convolution/merged_input", "StatefulPartitionedCall/functional_2_1/batch_normalization_2_1/batchnorm/sub"], "device": "/device:CPU:0", "attr": {"num_host_args": {"i": "0"}, "data_format": {"s": "TkhXQw=="}, "filter_format": {"s": "SFdJTw=="}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "num_args": {"i": "1"}, "strides": {"list": {"i": ["1", "1", "1", "1"]}}, "TArgs": {"list": {"type": ["DT_FLOAT"]}}, "padding": {"s": "U0FNRQ=="}, "use_cudnn_on_gpu": {"b": true}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "dilations": {"list": {"i": ["1", "1", "1", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/max_pooling2d_2_1/MaxPool2d", "op": "MaxPool", "input": ["StatefulPartitionedCall/functional_2_1/batch_normalization_2_1/batchnorm/add_1"], "attr": {"padding": {"s": "VkFMSUQ="}, "data_format": {"s": "TkhXQw=="}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "ksize": {"list": {"i": ["1", "2", "2", "1"]}}, "strides": {"list": {"i": ["1", "2", "2", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/activation_2_1/Relu", "op": "Relu", "input": ["StatefulPartitionedCall/functional_2_1/max_pooling2d_2_1/MaxPool2d"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_3_1/batchnorm/add_1", "op": "_FusedConv2D", "input": ["StatefulPartitionedCall/functional_2_1/activation_2_1/Relu", "StatefulPartitionedCall/functional_2_1/conv2d_3_1/convolution/merged_input", "StatefulPartitionedCall/functional_2_1/batch_normalization_3_1/batchnorm/sub"], "device": "/device:CPU:0", "attr": {"num_host_args": {"i": "0"}, "data_format": {"s": "TkhXQw=="}, "filter_format": {"s": "SFdJTw=="}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "num_args": {"i": "1"}, "strides": {"list": {"i": ["1", "1", "1", "1"]}}, "TArgs": {"list": {"type": ["DT_FLOAT"]}}, "padding": {"s": "U0FNRQ=="}, "use_cudnn_on_gpu": {"b": true}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "dilations": {"list": {"i": ["1", "1", "1", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/max_pooling2d_3_1/MaxPool2d", "op": "MaxPool", "input": ["StatefulPartitionedCall/functional_2_1/batch_normalization_3_1/batchnorm/add_1"], "attr": {"padding": {"s": "VkFMSUQ="}, "data_format": {"s": "TkhXQw=="}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "ksize": {"list": {"i": ["1", "2", "2", "1"]}}, "strides": {"list": {"i": ["1", "2", "2", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/activation_3_1/Relu", "op": "Relu", "input": ["StatefulPartitionedCall/functional_2_1/max_pooling2d_3_1/MaxPool2d"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/Shape", "op": "Shape", "input": ["StatefulPartitionedCall/functional_2_1/activation_3_1/Relu"], "attr": {"T": {"type": "DT_FLOAT"}, "out_type": {"type": "DT_INT32"}}, "experimentalType": {"typeId": "TFT_PRODUCT", "args": [{"typeId": "TFT_SHAPE_TENSOR", "args": [{"typeId": "TFT_INT32"}]}]}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice", "op": "StridedSlice", "input": ["StatefulPartitionedCall/functional_2_1/flatten_1/Shape", "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack", "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_1", "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_2"], "attr": {"shrink_axis_mask": {"i": "1"}, "new_axis_mask": {"i": "0"}, "Index": {"type": "DT_INT32"}, "begin_mask": {"i": "0"}, "T": {"type": "DT_INT32"}, "end_mask": {"i": "0"}, "ellipsis_mask": {"i": "0"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape/shape", "op": "Pack", "input": ["StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice", "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape/shape/1"], "attr": {"N": {"i": "2"}, "axis": {"i": "0"}, "T": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape", "op": "Reshape", "input": ["StatefulPartitionedCall/functional_2_1/activation_3_1/Relu", "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape/shape"], "attr": {"T": {"type": "DT_FLOAT"}, "Tshape": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_dense_1/Relu", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/flatten_1/Reshape", "StatefulPartitionedCall/functional_2_1/abacus_dense_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/abacus_dense_1/BiasAdd/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA==", "UmVsdQ=="]}}, "leakyrelu_alpha": {"f": 0.2}, "num_args": {"i": "1"}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1/Relu", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/flatten_1/Reshape", "StatefulPartitionedCall/functional_2_1/dense_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/dense_1/BiasAdd/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA==", "UmVsdQ=="]}}, "num_args": {"i": "1"}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Add", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/abacus_dense_1/Relu", "StatefulPartitionedCall/functional_2_1/abacus_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/abacus_1/Add/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "leakyrelu_alpha": {"f": 0.2}, "num_args": {"i": "1"}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1_2/Relu", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/dense_1/Relu", "StatefulPartitionedCall/functional_2_1/dense_1_2/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/dense_1_2/BiasAdd/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA==", "UmVsdQ=="]}}, "leakyrelu_alpha": {"f": 0.2}, "num_args": {"i": "1"}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_2_1/Relu", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/dense_1/Relu", "StatefulPartitionedCall/functional_2_1/dense_2_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/dense_2_1/BiasAdd/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA==", "UmVsdQ=="]}}, "num_args": {"i": "1"}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Sigmoid", "op": "Sigmoid", "input": ["StatefulPartitionedCall/functional_2_1/abacus_1/Add"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Add", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/dense_1_2/Relu", "StatefulPartitionedCall/functional_2_1/heaven_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/heaven_1/Add/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "num_args": {"i": "1"}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/BiasAdd", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/dense_2_1/Relu", "StatefulPartitionedCall/functional_2_1/earth_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/earth_1/BiasAdd/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "num_args": {"i": "1"}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_sq_1/ArithmeticOptimizer/ReplaceMulWithSquare_Mul", "op": "Square", "input": ["StatefulPartitionedCall/functional_2_1/abacus_1/Sigmoid"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Sigmoid", "op": "Sigmoid", "input": ["StatefulPartitionedCall/functional_2_1/heaven_1/Add"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/Softmax", "op": "Softmax", "input": ["StatefulPartitionedCall/functional_2_1/earth_1/BiasAdd"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_spread_1/mul", "op": "Mul", "input": ["StatefulPartitionedCall/functional_2_1/abacus_sq_1/ArithmeticOptimizer/ReplaceMulWithSquare_Mul", "StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast/x"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_centre_1/add", "op": "AddV2", "input": ["StatefulPartitionedCall/functional_2_1/heaven_1/Sigmoid", "StatefulPartitionedCall/functional_2_1/heaven_centre_1/Cast_1/x"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_gated_1/Mul", "op": "Mul", "input": ["StatefulPartitionedCall/functional_2_1/earth_1/Softmax", "StatefulPartitionedCall/functional_2_1/abacus_sq_1/ArithmeticOptimizer/ReplaceMulWithSquare_Mul"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_out_1/ArithmeticOptimizer/AddOpsRewrite_Internal_0_Add", "op": "AddV2", "input": ["StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast_1/x", "StatefulPartitionedCall/functional_2_1/earth_spread_1/mul"], "attr": {"T": {"type": "DT_FLOAT"}, "_grappler_ArithmeticOptimizer_AddOpsRewriteStage": {"b": true}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_gated_1/Mul", "op": "Mul", "input": ["StatefulPartitionedCall/functional_2_1/heaven_centre_1/add", "StatefulPartitionedCall/functional_2_1/abacus_sq_1/ArithmeticOptimizer/ReplaceMulWithSquare_Mul"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_out_1/ArithmeticOptimizer/AddOpsRewrite_Add", "op": "AddV2", "input": ["StatefulPartitionedCall/functional_2_1/earth_out_1/ArithmeticOptimizer/AddOpsRewrite_Internal_0_Add", "StatefulPartitionedCall/functional_2_1/earth_gated_1/Mul"], "attr": {"T": {"type": "DT_FLOAT"}, "_grappler_ArithmeticOptimizer_AddOpsRewriteStage": {"b": true}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_out_1/add", "op": "AddV2", "input": ["StatefulPartitionedCall/functional_2_1/heaven_gated_1/Mul", "StatefulPartitionedCall/functional_2_1/heaven_out_1/Cast_1/x"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "Identity_1", "op": "Identity", "input": ["StatefulPartitionedCall/functional_2_1/earth_out_1/ArithmeticOptimizer/AddOpsRewrite_Add"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "Identity", "op": "Identity", "input": ["StatefulPartitionedCall/functional_2_1/heaven_out_1/add"], "attr": {"T": {"type": "DT_FLOAT"}}}], "library": {}, "versions": {"producer": 2129}}, "weightsManifest": [{"paths": ["group1-shard1of1.bin"], "weights": [{"name": "StatefulPartitionedCall/functional_2_1/dense_1_2/Cast/ReadVariableOp", "shape": [64, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1_2/BiasAdd/ReadVariableOp", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Cast/ReadVariableOp", "shape": [64, 1], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Add/ReadVariableOp", "shape": [1], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_centre_1/Cast_1/x", "shape": [], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_out_1/Cast_1/x", "shape": [], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast_1/x", "shape": [], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast/x", "shape": [], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1/Cast/ReadVariableOp", "shape": [2048, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1/BiasAdd/ReadVariableOp", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/dense_2_1/Cast/ReadVariableOp", "shape": [64, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/dense_2_1/BiasAdd/ReadVariableOp", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/Cast/ReadVariableOp", "shape": [64, 5], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/BiasAdd/ReadVariableOp", "shape": [5], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_1/convolution/merged_input", "shape": [3, 3, 1, 16], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1/batchnorm/sub", "shape": [16], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_1_2/convolution/merged_input", "shape": [3, 3, 16, 32], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1_2/batchnorm/sub", "shape": [32], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_2_1/convolution/merged_input", "shape": [3, 3, 32, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_2_1/batchnorm/sub", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_3_1/convolution/merged_input", "shape": [3, 3, 64, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_3_1/batchnorm/sub", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack", "shape": [1], "dtype": "int32"}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_1", "shape": [1], "dtype": "int32"}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_2", "shape": [1], "dtype": "int32"}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape/shape/1", "shape": [], "dtype": "int32"}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_dense_1/Cast/ReadVariableOp", "shape": [2048, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_dense_1/BiasAdd/ReadVariableOp", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Cast/ReadVariableOp", "shape": [64, 1], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Add/ReadVariableOp", "shape": [1], "dtype": "float32"}]}]}{"format": "graph-model", "generatedBy": "2.19.0", "convertedBy": "TensorFlow.js Converter v4.22.0", "signature": {"inputs": {"input_layer": {"name": "input_layer:0", "dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "-1"}, {"size": "128"}, {"size": "64"}, {"size": "1"}]}}}, "outputs": {"output_1": {"name": "Identity_1:0", "dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "-1"}, {"size": "5"}]}}, "output_0": {"name": "Identity:0", "dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "-1"}, {"size": "1"}]}}}}, "modelTopology": {"node": [{"name": "StatefulPartitionedCall/functional_2_1/dense_1_2/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1_2/BiasAdd/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}, {"size": "1"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Add/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_centre_1/Cast_1/x", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_out_1/Cast_1/x", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast_1/x", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast/x", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "2048"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1/BiasAdd/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_2_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_2_1/BiasAdd/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}, {"size": "5"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/BiasAdd/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "5"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_1/convolution/merged_input", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "3"}, {"size": "3"}, {"size": "1"}, {"size": "16"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1/batchnorm/sub", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "16"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_1_2/convolution/merged_input", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "3"}, {"size": "3"}, {"size": "16"}, {"size": "32"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1_2/batchnorm/sub", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "32"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_2_1/convolution/merged_input", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "3"}, {"size": "3"}, {"size": "32"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_2_1/batchnorm/sub", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_3_1/convolution/merged_input", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "3"}, {"size": "3"}, {"size": "64"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_3_1/batchnorm/sub", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_1", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_2", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape/shape/1", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_INT32", "tensorShape": {}}}, "dtype": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_dense_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "2048"}, {"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_dense_1/BiasAdd/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Cast/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "64"}, {"size": "1"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Add/ReadVariableOp", "op": "Const", "attr": {"value": {"tensor": {"dtype": "DT_FLOAT", "tensorShape": {"dim": [{"size": "1"}]}}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "input_layer", "op": "Placeholder", "attr": {"shape": {"shape": {"dim": [{"size": "-1"}, {"size": "128"}, {"size": "64"}, {"size": "1"}]}}, "dtype": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1/batchnorm/add_1", "op": "_FusedConv2D", "input": ["input_layer", "StatefulPartitionedCall/functional_2_1/conv2d_1/convolution/merged_input", "StatefulPartitionedCall/functional_2_1/batch_normalization_1/batchnorm/sub"], "device": "/device:CPU:0", "attr": {"num_host_args": {"i": "0"}, "data_format": {"s": "TkhXQw=="}, "filter_format": {"s": "SFdJTw=="}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "num_args": {"i": "1"}, "strides": {"list": {"i": ["1", "1", "1", "1"]}}, "TArgs": {"list": {"type": ["DT_FLOAT"]}}, "padding": {"s": "U0FNRQ=="}, "use_cudnn_on_gpu": {"b": true}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "dilations": {"list": {"i": ["1", "1", "1", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/max_pooling2d_1/MaxPool2d", "op": "MaxPool", "input": ["StatefulPartitionedCall/functional_2_1/batch_normalization_1/batchnorm/add_1"], "attr": {"ksize": {"list": {"i": ["1", "2", "2", "1"]}}, "data_format": {"s": "TkhXQw=="}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "padding": {"s": "VkFMSUQ="}, "strides": {"list": {"i": ["1", "2", "2", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/activation_1/Relu", "op": "Relu", "input": ["StatefulPartitionedCall/functional_2_1/max_pooling2d_1/MaxPool2d"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1_2/batchnorm/add_1", "op": "_FusedConv2D", "input": ["StatefulPartitionedCall/functional_2_1/activation_1/Relu", "StatefulPartitionedCall/functional_2_1/conv2d_1_2/convolution/merged_input", "StatefulPartitionedCall/functional_2_1/batch_normalization_1_2/batchnorm/sub"], "device": "/device:CPU:0", "attr": {"num_host_args": {"i": "0"}, "data_format": {"s": "TkhXQw=="}, "filter_format": {"s": "SFdJTw=="}, "strides": {"list": {"i": ["1", "1", "1", "1"]}}, "num_args": {"i": "1"}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "TArgs": {"list": {"type": ["DT_FLOAT"]}}, "padding": {"s": "U0FNRQ=="}, "use_cudnn_on_gpu": {"b": true}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "dilations": {"list": {"i": ["1", "1", "1", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/max_pooling2d_1_2/MaxPool2d", "op": "MaxPool", "input": ["StatefulPartitionedCall/functional_2_1/batch_normalization_1_2/batchnorm/add_1"], "attr": {"ksize": {"list": {"i": ["1", "2", "2", "1"]}}, "data_format": {"s": "TkhXQw=="}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "padding": {"s": "VkFMSUQ="}, "strides": {"list": {"i": ["1", "2", "2", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/activation_1_2/Relu", "op": "Relu", "input": ["StatefulPartitionedCall/functional_2_1/max_pooling2d_1_2/MaxPool2d"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_2_1/batchnorm/add_1", "op": "_FusedConv2D", "input": ["StatefulPartitionedCall/functional_2_1/activation_1_2/Relu", "StatefulPartitionedCall/functional_2_1/conv2d_2_1/convolution/merged_input", "StatefulPartitionedCall/functional_2_1/batch_normalization_2_1/batchnorm/sub"], "device": "/device:CPU:0", "attr": {"num_host_args": {"i": "0"}, "data_format": {"s": "TkhXQw=="}, "filter_format": {"s": "SFdJTw=="}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "num_args": {"i": "1"}, "strides": {"list": {"i": ["1", "1", "1", "1"]}}, "TArgs": {"list": {"type": ["DT_FLOAT"]}}, "padding": {"s": "U0FNRQ=="}, "use_cudnn_on_gpu": {"b": true}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "dilations": {"list": {"i": ["1", "1", "1", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/max_pooling2d_2_1/MaxPool2d", "op": "MaxPool", "input": ["StatefulPartitionedCall/functional_2_1/batch_normalization_2_1/batchnorm/add_1"], "attr": {"ksize": {"list": {"i": ["1", "2", "2", "1"]}}, "data_format": {"s": "TkhXQw=="}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "padding": {"s": "VkFMSUQ="}, "strides": {"list": {"i": ["1", "2", "2", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/activation_2_1/Relu", "op": "Relu", "input": ["StatefulPartitionedCall/functional_2_1/max_pooling2d_2_1/MaxPool2d"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_3_1/batchnorm/add_1", "op": "_FusedConv2D", "input": ["StatefulPartitionedCall/functional_2_1/activation_2_1/Relu", "StatefulPartitionedCall/functional_2_1/conv2d_3_1/convolution/merged_input", "StatefulPartitionedCall/functional_2_1/batch_normalization_3_1/batchnorm/sub"], "device": "/device:CPU:0", "attr": {"num_host_args": {"i": "0"}, "data_format": {"s": "TkhXQw=="}, "filter_format": {"s": "SFdJTw=="}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "num_args": {"i": "1"}, "strides": {"list": {"i": ["1", "1", "1", "1"]}}, "TArgs": {"list": {"type": ["DT_FLOAT"]}}, "padding": {"s": "U0FNRQ=="}, "use_cudnn_on_gpu": {"b": true}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "dilations": {"list": {"i": ["1", "1", "1", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/max_pooling2d_3_1/MaxPool2d", "op": "MaxPool", "input": ["StatefulPartitionedCall/functional_2_1/batch_normalization_3_1/batchnorm/add_1"], "attr": {"ksize": {"list": {"i": ["1", "2", "2", "1"]}}, "data_format": {"s": "TkhXQw=="}, "T": {"type": "DT_FLOAT"}, "explicit_paddings": {"list": {}}, "padding": {"s": "VkFMSUQ="}, "strides": {"list": {"i": ["1", "2", "2", "1"]}}}}, {"name": "StatefulPartitionedCall/functional_2_1/activation_3_1/Relu", "op": "Relu", "input": ["StatefulPartitionedCall/functional_2_1/max_pooling2d_3_1/MaxPool2d"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/Shape", "op": "Shape", "input": ["StatefulPartitionedCall/functional_2_1/activation_3_1/Relu"], "attr": {"T": {"type": "DT_FLOAT"}, "out_type": {"type": "DT_INT32"}}, "experimentalType": {"typeId": "TFT_PRODUCT", "args": [{"typeId": "TFT_SHAPE_TENSOR", "args": [{"typeId": "TFT_INT32"}]}]}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice", "op": "StridedSlice", "input": ["StatefulPartitionedCall/functional_2_1/flatten_1/Shape", "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack", "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_1", "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_2"], "attr": {"shrink_axis_mask": {"i": "1"}, "new_axis_mask": {"i": "0"}, "Index": {"type": "DT_INT32"}, "begin_mask": {"i": "0"}, "T": {"type": "DT_INT32"}, "end_mask": {"i": "0"}, "ellipsis_mask": {"i": "0"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape/shape", "op": "Pack", "input": ["StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice", "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape/shape/1"], "attr": {"N": {"i": "2"}, "axis": {"i": "0"}, "T": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape", "op": "Reshape", "input": ["StatefulPartitionedCall/functional_2_1/activation_3_1/Relu", "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape/shape"], "attr": {"T": {"type": "DT_FLOAT"}, "Tshape": {"type": "DT_INT32"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_dense_1/Relu", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/flatten_1/Reshape", "StatefulPartitionedCall/functional_2_1/abacus_dense_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/abacus_dense_1/BiasAdd/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA==", "UmVsdQ=="]}}, "leakyrelu_alpha": {"f": 0.2}, "num_args": {"i": "1"}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1/Relu", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/flatten_1/Reshape", "StatefulPartitionedCall/functional_2_1/dense_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/dense_1/BiasAdd/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA==", "UmVsdQ=="]}}, "leakyrelu_alpha": {"f": 0.2}, "num_args": {"i": "1"}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Add", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/abacus_dense_1/Relu", "StatefulPartitionedCall/functional_2_1/abacus_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/abacus_1/Add/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "leakyrelu_alpha": {"f": 0.2}, "num_args": {"i": "1"}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1_2/Relu", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/dense_1/Relu", "StatefulPartitionedCall/functional_2_1/dense_1_2/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/dense_1_2/BiasAdd/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA==", "UmVsdQ=="]}}, "leakyrelu_alpha": {"f": 0.2}, "num_args": {"i": "1"}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/dense_2_1/Relu", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/dense_1/Relu", "StatefulPartitionedCall/functional_2_1/dense_2_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/dense_2_1/BiasAdd/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA==", "UmVsdQ=="]}}, "num_args": {"i": "1"}, "leakyrelu_alpha": {"f": 0.2}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Sigmoid", "op": "Sigmoid", "input": ["StatefulPartitionedCall/functional_2_1/abacus_1/Add"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Add", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/dense_1_2/Relu", "StatefulPartitionedCall/functional_2_1/heaven_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/heaven_1/Add/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "leakyrelu_alpha": {"f": 0.2}, "num_args": {"i": "1"}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/BiasAdd", "op": "_FusedMatMul", "input": ["StatefulPartitionedCall/functional_2_1/dense_2_1/Relu", "StatefulPartitionedCall/functional_2_1/earth_1/Cast/ReadVariableOp", "StatefulPartitionedCall/functional_2_1/earth_1/BiasAdd/ReadVariableOp"], "device": "/device:CPU:0", "attr": {"transpose_a": {"b": false}, "transpose_b": {"b": false}, "fused_ops": {"list": {"s": ["Qmlhc0FkZA=="]}}, "leakyrelu_alpha": {"f": 0.2}, "num_args": {"i": "1"}, "epsilon": {"f": 0.0}, "T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_sq_1/ArithmeticOptimizer/ReplaceMulWithSquare_Mul", "op": "Square", "input": ["StatefulPartitionedCall/functional_2_1/abacus_1/Sigmoid"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Sigmoid", "op": "Sigmoid", "input": ["StatefulPartitionedCall/functional_2_1/heaven_1/Add"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/Softmax", "op": "Softmax", "input": ["StatefulPartitionedCall/functional_2_1/earth_1/BiasAdd"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_spread_1/mul", "op": "Mul", "input": ["StatefulPartitionedCall/functional_2_1/abacus_sq_1/ArithmeticOptimizer/ReplaceMulWithSquare_Mul", "StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast/x"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_centre_1/add", "op": "AddV2", "input": ["StatefulPartitionedCall/functional_2_1/heaven_1/Sigmoid", "StatefulPartitionedCall/functional_2_1/heaven_centre_1/Cast_1/x"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_gated_1/Mul", "op": "Mul", "input": ["StatefulPartitionedCall/functional_2_1/earth_1/Softmax", "StatefulPartitionedCall/functional_2_1/abacus_sq_1/ArithmeticOptimizer/ReplaceMulWithSquare_Mul"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_out_1/ArithmeticOptimizer/AddOpsRewrite_Internal_0_Add", "op": "AddV2", "input": ["StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast_1/x", "StatefulPartitionedCall/functional_2_1/earth_spread_1/mul"], "attr": {"T": {"type": "DT_FLOAT"}, "_grappler_ArithmeticOptimizer_AddOpsRewriteStage": {"b": true}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_gated_1/Mul", "op": "Mul", "input": ["StatefulPartitionedCall/functional_2_1/heaven_centre_1/add", "StatefulPartitionedCall/functional_2_1/abacus_sq_1/ArithmeticOptimizer/ReplaceMulWithSquare_Mul"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "StatefulPartitionedCall/functional_2_1/earth_out_1/ArithmeticOptimizer/AddOpsRewrite_Add", "op": "AddV2", "input": ["StatefulPartitionedCall/functional_2_1/earth_out_1/ArithmeticOptimizer/AddOpsRewrite_Internal_0_Add", "StatefulPartitionedCall/functional_2_1/earth_gated_1/Mul"], "attr": {"T": {"type": "DT_FLOAT"}, "_grappler_ArithmeticOptimizer_AddOpsRewriteStage": {"b": true}}}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_out_1/add", "op": "AddV2", "input": ["StatefulPartitionedCall/functional_2_1/heaven_gated_1/Mul", "StatefulPartitionedCall/functional_2_1/heaven_out_1/Cast_1/x"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "Identity_1", "op": "Identity", "input": ["StatefulPartitionedCall/functional_2_1/earth_out_1/ArithmeticOptimizer/AddOpsRewrite_Add"], "attr": {"T": {"type": "DT_FLOAT"}}}, {"name": "Identity", "op": "Identity", "input": ["StatefulPartitionedCall/functional_2_1/heaven_out_1/add"], "attr": {"T": {"type": "DT_FLOAT"}}}], "library": {}, "versions": {"producer": 2129}}, "weightsManifest": [{"paths": ["group1-shard1of1.bin"], "weights": [{"name": "StatefulPartitionedCall/functional_2_1/dense_1_2/Cast/ReadVariableOp", "shape": [64, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1_2/BiasAdd/ReadVariableOp", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Cast/ReadVariableOp", "shape": [64, 1], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_1/Add/ReadVariableOp", "shape": [1], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_centre_1/Cast_1/x", "shape": [], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/heaven_out_1/Cast_1/x", "shape": [], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast_1/x", "shape": [], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/earth_spread_1/Cast/x", "shape": [], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1/Cast/ReadVariableOp", "shape": [2048, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/dense_1/BiasAdd/ReadVariableOp", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/dense_2_1/Cast/ReadVariableOp", "shape": [64, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/dense_2_1/BiasAdd/ReadVariableOp", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/Cast/ReadVariableOp", "shape": [64, 5], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/earth_1/BiasAdd/ReadVariableOp", "shape": [5], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_1/convolution/merged_input", "shape": [3, 3, 1, 16], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1/batchnorm/sub", "shape": [16], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_1_2/convolution/merged_input", "shape": [3, 3, 16, 32], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_1_2/batchnorm/sub", "shape": [32], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_2_1/convolution/merged_input", "shape": [3, 3, 32, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_2_1/batchnorm/sub", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/conv2d_3_1/convolution/merged_input", "shape": [3, 3, 64, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/batch_normalization_3_1/batchnorm/sub", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack", "shape": [1], "dtype": "int32"}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_1", "shape": [1], "dtype": "int32"}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/strided_slice/stack_2", "shape": [1], "dtype": "int32"}, {"name": "StatefulPartitionedCall/functional_2_1/flatten_1/Reshape/shape/1", "shape": [], "dtype": "int32"}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_dense_1/Cast/ReadVariableOp", "shape": [2048, 64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_dense_1/BiasAdd/ReadVariableOp", "shape": [64], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Cast/ReadVariableOp", "shape": [64, 1], "dtype": "float32"}, {"name": "StatefulPartitionedCall/functional_2_1/abacus_1/Add/ReadVariableOp", "shape": [1], "dtype": "float32"}]}]}1{"version": 1, "depth": [-0.12, 1.17]}.gitattributes+1
README.md+151-115
group1-shard1of1.bin+1-1
keras/column-reader-gateB.keras → keras/column-reader-sor2.kerasRenamed+1-1
keras/recipe.json+9-9
model.json+1-1
soroban-cut.jsonAdded+1