Files
circomlib-ml/models/conv1D_input.json
drCathieSo.eth 30a43a2712 Version 2.0.0 (#5)
* feat: `Poly` renamed to `ZeLU` with scaling implemented

* fix: assertion in `ZeLU`

* feat: `AveragePooling2D` with scaling

* feat: `BatchNorm` with scaling

* feat: `Conv1D` with scaling

* feat: `Conv2D` with scaling

* feat: `Dense` with scaling

* fix: assertion in `Dense`

* feat: `GlobalAveragePooling2D` with scaling

* feat: input-only `ArgMax`

* feat: input-only `Flatten2D`

* feat: input-only `GlobalMaxPooling2D`

* feat: input-only `MaxPooling2D`

* feat: input-only `ReLU`

* test: precision up to 36 decimals

* chore: clean up

* test: model1 with 36 decimals

* fix: ReLU should use `p//2` as threshold

* test: clean up

* test: mnist model with 18 decimals

* build: Update package.json version to 2.0.0

* chore: Update README with warning message
2023-10-24 02:50:34 +07:00

1 line
4.9 KiB
JSON

{"in": [["669375160632934234241932014009712640", "690700204790223707469653269689663488", "969961165032497457090214907883814912"], ["195201269236954377049132177073111040", "139981069176083231677853171865092096", "93119814401318001799953091450109952"], ["750790759243610072177023207224639488", "29708356850593923198634732384419840", "74416518860712880152507808099598336"], ["174154047918857478118987098579009536", "835715872561134620472944211836010496", "603343925645616811093780139941560320"], ["103812278993319687100132966059212800", "775796171450837933641966653263577088", "225574095552399258993634742141714432"], ["139182754915722964767353281905164288", "126248219055212010646249079073406976", "163572860635746956314031178540646400"], ["690688737879051468309278752113688576", "448528177473627991458471179754405888", "230298125380187339252364774798786560"], ["311392411582138283578902627844358144", "798539428120006797881568033027129344", "481353807346480719102372728419647488"], ["403431843668760747584090924111626240", "828983764241238272247890241501790208", "895179672875147329612410006521511936"], ["285149918852797621991944686544093184", "604412842258800644712511369985916928", "278425167718983085133650699663441920"], ["776365769473402398338909794268610560", "325281313213643073328033548480806912", "316383104286559610419073171033423872"], ["864281157646164303878274200700452864", "897816724790860942112176510802591744", "310256556782161460198933782096510976"], ["502927346661196896414615920615358464", "796924871270739348258045649431298048", "126869236584478142051808502834266112"], ["861704349702861577938023177558949888", "411073233110919282149223943586709504", "275437565759325669872969069367394304"], ["849570320165641802974039431991787520", "385571718594538529474996944127393792", "996149994862380741068846357989556224"], ["884385186086863982766787226587103232", "512173869211343689795835813588631552", "408400273092890886187550318767636480"], ["435406503077906444334255378962317312", "750600666723328320483085853720051712", "307496555477491903487589566516297728"], ["189444168655433477697304722537447424", "525369878572606469985048591838740480", "242636899512379015445210919220543488"], ["759674688526444024055303954776457216", "980445789126834936902326720774799360", "150481486304037353619466908948496384"], ["803396036407164089374568099061170176", "657171072492512190248086068854259712", "640461791059883913078963621999935488"]], "weights": [[["21888242871839275222246405745257275088548305997609513881656115751890077089793", "21888242871839275222246405745257275088548024827241319301605477351855694544897"], ["226462304592132570441828350325424128", "58255612850189209596429026080063488"], ["165256977081298841814496389403508736", "234053969383239752509361784644173824"]], [["21888242871839275222246405745257275088547838505118507030442437326900777975809", "21888242871839275222246405745257275088547970779001134517637215768633828966401"], ["134543657302856443467707781667094528", "21888242871839275222246405745257275088548136187999862316088529810764800720897"], ["31477391719818115941792103608090624", "21888242871839275222246405745257275088548352432637828472115504727098709245953"]], [["350902378559112552032213710904754176", "139657199382781987692417613440221184"], ["409930169582366973006150534132924416", "21888242871839275222246405745257275088548089315533059719045277925449794584577"], ["116602003574371339896642315713773568", "21888242871839275222246405745257275088548215413420814159364159932946406440961"]], [["371222317218780556904991005257760768", "82731187343597418760734776148099072"], ["21888242871839275222246405745257275088548067228137868526427284349715417661441", "534574866294860892517105015761928192"], ["493486523628234849778154065574756352", "21888242871839275222246405745257275088548321975737231853464556094420317896705"]]], "bias": ["0", "0"], "out": [["595076432565314636873373017613140151", "451221242188051044982898155310089176"], ["692101791264109605416098691984234110", "157635196511948127458268143134517909"], ["707534041076922026686504470881153950", "21888242871839275222246405745257275088547929138190672685567302106918640005237"], ["531650362682809033665109229370302980", "21888242871839275222246405745257275088548274078760710220327439407996310078926"], ["732844672853217673574394205962948992", "21888242871839275222246405745257275088548027251228401034660957748100577552406"], ["388558804761306031693830030956978129", "21888242871839275222246405745257275088548269522397035548207044857128138122494"]], "remainder": [["559476430118783401148220455172177920", "798629717274041486200430078621384704"], ["222725218484853070285693236889518080", "703236219970385258366708181735833600"], ["935243375755259327550534863114207232", "629676730817043015262169534306451456"], ["168613979210646022892058708579188736", "20078824844870090673720198793527296"], ["382452121618037097983987448914378752", "384848670804947558045463129800835072"], ["997624818969376769735560795535704064", "607655476452490925911677042723651584"]]}