@reicek/neataptic-ts 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/agents/boundary-mapper.agent.md +29 -0
- package/.github/agents/docs-scout.agent.md +29 -0
- package/.github/agents/plan-scout.agent.md +29 -0
- package/.github/agents/solid-split.agent.md +138 -0
- package/.github/copilot-instructions.md +103 -0
- package/package.json +6 -3
- package/plans/ES2023 migration +13 -8
- package/plans/Evolution_Training_Interoperability_Contracts.md +1 -1
- package/plans/Interactive_Examples_and_Learning_Path.md +10 -2
- package/plans/Memory_Optimization.md +3 -3
- package/plans/README.md +63 -0
- package/plans/Roadmap.md +15 -3
- package/plans/asciiMaze_SOLID_split.done.md +130 -0
- package/plans/flappy_bird_SOLID_split.done.md +67 -0
- package/scripts/assets/theme.css +221 -34
- package/scripts/copy-examples.mjs +9 -5
- package/scripts/export-onnx.mjs +3 -3
- package/scripts/generate-bench-tables.mjs +10 -10
- package/scripts/generate-bench-tables.ts +10 -10
- package/scripts/generate-docs.ts +1415 -449
- package/scripts/render-docs-html.ts +15 -8
- package/src/README.md +101 -223
- package/src/architecture/README.md +57 -185
- package/src/architecture/layer/README.md +38 -38
- package/src/architecture/network/README.md +33 -31
- package/src/architecture/network/activate/README.md +77 -77
- package/src/architecture/network/connect/README.md +15 -13
- package/src/architecture/network/deterministic/README.md +7 -7
- package/src/architecture/network/evolve/README.md +44 -44
- package/src/architecture/network/gating/README.md +20 -20
- package/src/architecture/network/genetic/README.md +51 -51
- package/src/architecture/network/mutate/README.md +97 -97
- package/src/architecture/network/onnx/README.md +264 -264
- package/src/architecture/network/prune/README.md +39 -39
- package/src/architecture/network/remove/README.md +26 -26
- package/src/architecture/network/serialize/README.md +56 -56
- package/src/architecture/network/slab/README.md +61 -61
- package/src/architecture/network/standalone/README.md +24 -24
- package/src/architecture/network/stats/README.md +9 -9
- package/src/architecture/network/topology/README.md +46 -46
- package/src/architecture/network/training/README.md +21 -21
- package/src/methods/README.md +9 -87
- package/src/multithreading/README.md +8 -77
- package/src/multithreading/workers/README.md +2 -2
- package/src/multithreading/workers/browser/README.md +0 -6
- package/src/multithreading/workers/node/README.md +0 -3
- package/src/neat/README.md +562 -568
- package/src/utils/README.md +18 -18
- package/test/examples/asciiMaze/README.md +59 -59
- package/test/examples/asciiMaze/asciiMaze.e2e.test.ts +14 -9
- package/test/examples/asciiMaze/browser-entry/README.md +196 -0
- package/test/examples/asciiMaze/browser-entry/browser-entry.abort.services.ts +95 -0
- package/test/examples/asciiMaze/browser-entry/browser-entry.constants.ts +23 -0
- package/test/examples/asciiMaze/browser-entry/browser-entry.curriculum.services.ts +115 -0
- package/test/examples/asciiMaze/browser-entry/browser-entry.globals.services.ts +106 -0
- package/test/examples/asciiMaze/browser-entry/browser-entry.host.services.ts +157 -0
- package/test/examples/asciiMaze/browser-entry/browser-entry.services.ts +14 -0
- package/test/examples/asciiMaze/browser-entry/browser-entry.ts +129 -0
- package/test/examples/asciiMaze/browser-entry/browser-entry.types.ts +120 -0
- package/test/examples/asciiMaze/browser-entry/browser-entry.utils.ts +98 -0
- package/test/examples/asciiMaze/browser-entry.ts +10 -576
- package/test/examples/asciiMaze/dashboardManager/README.md +276 -0
- package/test/examples/asciiMaze/dashboardManager/archive/README.md +16 -0
- package/test/examples/asciiMaze/dashboardManager/archive/dashboardManager.archive.services.ts +267 -0
- package/test/examples/asciiMaze/dashboardManager/dashboardManager.constants.ts +35 -0
- package/test/examples/asciiMaze/dashboardManager/dashboardManager.services.ts +103 -0
- package/test/examples/asciiMaze/dashboardManager/dashboardManager.ts +181 -0
- package/test/examples/asciiMaze/dashboardManager/dashboardManager.types.ts +267 -0
- package/test/examples/asciiMaze/dashboardManager/dashboardManager.utils.ts +254 -0
- package/test/examples/asciiMaze/dashboardManager/live/README.md +14 -0
- package/test/examples/asciiMaze/dashboardManager/live/dashboardManager.live.services.ts +264 -0
- package/test/examples/asciiMaze/dashboardManager/telemetry/README.md +47 -0
- package/test/examples/asciiMaze/dashboardManager/telemetry/dashboardManager.telemetry.services.ts +513 -0
- package/test/examples/asciiMaze/dashboardManager.ts +13 -2335
- package/test/examples/asciiMaze/evolutionEngine/README.md +1058 -0
- package/test/examples/asciiMaze/evolutionEngine/curriculumPhase.ts +90 -0
- package/test/examples/asciiMaze/evolutionEngine/engineState.constants.ts +36 -0
- package/test/examples/asciiMaze/evolutionEngine/engineState.ts +58 -513
- package/test/examples/asciiMaze/evolutionEngine/engineState.types.ts +212 -0
- package/test/examples/asciiMaze/evolutionEngine/engineState.utils.ts +301 -0
- package/test/examples/asciiMaze/evolutionEngine/evolutionEngine.types.ts +445 -0
- package/test/examples/asciiMaze/evolutionEngine/evolutionLoop.ts +81 -50
- package/test/examples/asciiMaze/evolutionEngine/optionsAndSetup.ts +2 -4
- package/test/examples/asciiMaze/evolutionEngine/populationDynamics.ts +17 -33
- package/test/examples/asciiMaze/evolutionEngine/populationPruning.ts +1 -1
- package/test/examples/asciiMaze/evolutionEngine/rngAndTiming.ts +1 -2
- package/test/examples/asciiMaze/evolutionEngine/sampling.ts +1 -1
- package/test/examples/asciiMaze/evolutionEngine/scratchPools.ts +2 -5
- package/test/examples/asciiMaze/evolutionEngine/setupHelpers.ts +30 -37
- package/test/examples/asciiMaze/evolutionEngine/telemetryMetrics.ts +16 -58
- package/test/examples/asciiMaze/evolutionEngine/trainingWarmStart.ts +2 -2
- package/test/examples/asciiMaze/evolutionEngine.ts +55 -55
- package/test/examples/asciiMaze/fitness.ts +2 -2
- package/test/examples/asciiMaze/fitness.types.ts +65 -0
- package/test/examples/asciiMaze/interfaces.ts +64 -1352
- package/test/examples/asciiMaze/mazeMovement/README.md +356 -0
- package/test/examples/asciiMaze/mazeMovement/finalization/README.md +49 -0
- package/test/examples/asciiMaze/mazeMovement/finalization/mazeMovement.finalization.ts +138 -0
- package/test/examples/asciiMaze/mazeMovement/mazeMovement.constants.ts +101 -0
- package/test/examples/asciiMaze/mazeMovement/mazeMovement.services.ts +230 -0
- package/test/examples/asciiMaze/mazeMovement/mazeMovement.ts +299 -0
- package/test/examples/asciiMaze/mazeMovement/mazeMovement.types.ts +185 -0
- package/test/examples/asciiMaze/mazeMovement/mazeMovement.utils.ts +153 -0
- package/test/examples/asciiMaze/mazeMovement/policy/README.md +91 -0
- package/test/examples/asciiMaze/mazeMovement/policy/mazeMovement.policy.ts +467 -0
- package/test/examples/asciiMaze/mazeMovement/runtime/README.md +95 -0
- package/test/examples/asciiMaze/mazeMovement/runtime/mazeMovement.runtime.ts +354 -0
- package/test/examples/asciiMaze/mazeMovement/shaping/README.md +124 -0
- package/test/examples/asciiMaze/mazeMovement/shaping/mazeMovement.shaping.ts +459 -0
- package/test/examples/asciiMaze/mazeMovement.ts +12 -2978
- package/test/examples/flappy_bird/Trace-20260309T191949.json +24124 -0
- package/test/examples/flappy_bird/browser-entry/README.md +1129 -0
- package/test/examples/flappy_bird/browser-entry/browser-entry.host.utils.ts +4 -324
- package/test/examples/flappy_bird/browser-entry/browser-entry.network-view.utils.ts +6 -399
- package/test/examples/flappy_bird/browser-entry/browser-entry.playback.utils.ts +1 -717
- package/test/examples/flappy_bird/browser-entry/browser-entry.spawn.utils.ts +11 -31
- package/test/examples/flappy_bird/browser-entry/browser-entry.visualization.utils.ts +15 -893
- package/test/examples/flappy_bird/browser-entry/host/README.md +307 -0
- package/test/examples/flappy_bird/browser-entry/host/host.resize.service.ts +1 -295
- package/test/examples/flappy_bird/browser-entry/host/host.ts +562 -6
- package/test/examples/flappy_bird/browser-entry/host/resize/README.md +274 -0
- package/test/examples/flappy_bird/browser-entry/host/resize/host.resize.service.constants.ts +31 -0
- package/test/examples/flappy_bird/browser-entry/host/resize/host.resize.service.services.ts +360 -0
- package/test/examples/flappy_bird/browser-entry/host/resize/host.resize.service.ts +117 -0
- package/test/examples/flappy_bird/browser-entry/host/resize/host.resize.service.types.ts +63 -0
- package/test/examples/flappy_bird/browser-entry/host/resize/host.resize.service.utils.ts +250 -0
- package/test/examples/flappy_bird/browser-entry/network-view/README.md +399 -0
- package/test/examples/flappy_bird/browser-entry/network-view/network-view.topology.utils.ts +255 -0
- package/test/examples/flappy_bird/browser-entry/network-view/network-view.ts +802 -7
- package/test/examples/flappy_bird/browser-entry/playback/README.md +684 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/README.md +277 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/ground-grid/README.md +770 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/ground-grid/playback.background.ground-grid.cache.services.ts +178 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/ground-grid/playback.background.ground-grid.constants.ts +107 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/ground-grid/playback.background.ground-grid.geometry.utils.ts +518 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/ground-grid/playback.background.ground-grid.math.utils.ts +117 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/ground-grid/playback.background.ground-grid.pulse.utils.ts +233 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/ground-grid/playback.background.ground-grid.services.ts +211 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/ground-grid/playback.background.ground-grid.ts +48 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/ground-grid/playback.background.ground-grid.types.ts +212 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/ground-grid/playback.background.ground-grid.utils.ts +81 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/playback.background.cache.services.ts +96 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/playback.background.constants.ts +62 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/playback.background.services.ts +244 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/playback.background.ts +53 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/playback.background.types.ts +68 -0
- package/test/examples/flappy_bird/browser-entry/playback/background/playback.background.utils.ts +100 -0
- package/test/examples/flappy_bird/browser-entry/playback/frame-render/README.md +310 -0
- package/test/examples/flappy_bird/browser-entry/playback/frame-render/playback.frame-render.service.ts +92 -0
- package/test/examples/flappy_bird/browser-entry/playback/frame-render/playback.frame-render.services.ts +272 -0
- package/test/examples/flappy_bird/browser-entry/playback/frame-render/playback.frame-render.types.ts +39 -0
- package/test/examples/flappy_bird/browser-entry/playback/frame-render/playback.frame-render.utils.ts +493 -0
- package/test/examples/flappy_bird/browser-entry/playback/playback.constants.ts +1 -1
- package/test/examples/flappy_bird/browser-entry/playback/playback.frame-render.service.ts +4 -0
- package/test/examples/flappy_bird/browser-entry/playback/playback.snapshot.utils.ts +44 -0
- package/test/examples/flappy_bird/browser-entry/playback/playback.starfield.service.ts +39 -122
- package/test/examples/flappy_bird/browser-entry/playback/playback.starfield.services.ts +272 -0
- package/test/examples/flappy_bird/browser-entry/playback/playback.starfield.types.ts +62 -0
- package/test/examples/flappy_bird/browser-entry/playback/playback.starfield.utils.ts +11 -4
- package/test/examples/flappy_bird/browser-entry/playback/playback.ts +409 -8
- package/test/examples/flappy_bird/browser-entry/playback/playback.types.ts +4 -12
- package/test/examples/flappy_bird/browser-entry/runtime/README.md +235 -0
- package/test/examples/flappy_bird/browser-entry/runtime/runtime.evolution-launch.service.ts +45 -0
- package/test/examples/flappy_bird/browser-entry/runtime/runtime.lifecycle.service.ts +81 -0
- package/test/examples/flappy_bird/browser-entry/runtime/runtime.startup.service.ts +74 -0
- package/test/examples/flappy_bird/browser-entry/runtime/runtime.ts +31 -121
- package/test/examples/flappy_bird/browser-entry/runtime/runtime.types.ts +36 -0
- package/test/examples/flappy_bird/browser-entry/visualization/README.md +557 -0
- package/test/examples/flappy_bird/browser-entry/visualization/visualization.constants.ts +110 -0
- package/test/examples/flappy_bird/browser-entry/visualization/visualization.draw.service.ts +957 -19
- package/test/examples/flappy_bird/browser-entry/visualization/visualization.legend.utils.ts +138 -3
- package/test/examples/flappy_bird/browser-entry/visualization/visualization.topology.utils.ts +3 -27
- package/test/examples/flappy_bird/browser-entry/visualization/visualization.ts +1 -23
- package/test/examples/flappy_bird/browser-entry/worker-channel/README.md +156 -0
- package/test/examples/flappy_bird/constants/README.md +1179 -0
- package/test/examples/flappy_bird/constants/constants.network-view.ts +24 -0
- package/test/examples/flappy_bird/constants/constants.palette.ts +7 -0
- package/test/examples/flappy_bird/constants/constants.starfield.ts +78 -3
- package/test/examples/flappy_bird/environment/README.md +143 -0
- package/test/examples/flappy_bird/environment/environment.observation.utils.ts +1 -19
- package/test/examples/flappy_bird/environment/environment.step.service.ts +3 -66
- package/test/examples/flappy_bird/evaluation/README.md +130 -0
- package/test/examples/flappy_bird/evaluation/evaluation.fitness.utils.ts +1 -1
- package/test/examples/flappy_bird/evaluation/evaluation.rollout.service.ts +5 -375
- package/test/examples/flappy_bird/evaluation/rollout/README.md +291 -0
- package/test/examples/flappy_bird/evaluation/rollout/evaluation.rollout.constants.ts +30 -0
- package/test/examples/flappy_bird/evaluation/rollout/evaluation.rollout.service.ts +58 -0
- package/test/examples/flappy_bird/evaluation/rollout/evaluation.rollout.services.ts +310 -0
- package/test/examples/flappy_bird/evaluation/rollout/evaluation.rollout.types.ts +56 -0
- package/test/examples/flappy_bird/evaluation/rollout/evaluation.rollout.utils.ts +368 -0
- package/test/examples/flappy_bird/flappy-evolution-worker/README.md +618 -0
- package/test/examples/flappy_bird/flappy-evolution-worker/flappy-evolution-worker.playback.service.ts +7 -7
- package/test/examples/flappy_bird/flappy-evolution-worker/flappy-evolution-worker.simulation.frame.service.ts +364 -0
- package/test/examples/flappy_bird/flappy-evolution-worker/flappy-evolution-worker.simulation.types.ts +14 -0
- package/test/examples/flappy_bird/flappy-evolution-worker/flappy-evolution-worker.simulation.utils.ts +4 -201
- package/test/examples/flappy_bird/flappy-evolution-worker/flappy-evolution-worker.ts +184 -345
- package/test/examples/flappy_bird/flappy-evolution-worker/flappy-evolution-worker.warm-start.service.ts +291 -0
- package/test/examples/flappy_bird/flappy.simulation.shared.utils.ts +5 -0
- package/test/examples/flappy_bird/simulation-shared/README.md +417 -0
- package/test/examples/flappy_bird/simulation-shared/observation/README.md +183 -0
- package/test/examples/flappy_bird/simulation-shared/observation/observation.features.utils.ts +301 -0
- package/test/examples/flappy_bird/simulation-shared/observation/observation.ts +9 -0
- package/test/examples/flappy_bird/simulation-shared/observation/observation.vector.utils.ts +59 -0
- package/test/examples/flappy_bird/simulation-shared/simulation-shared.observation.utils.ts +5 -403
- package/test/examples/flappy_bird/simulation-shared/simulation-shared.spawn.utils.ts +20 -6
- package/test/examples/flappy_bird/{evaluation/evaluation.statistics.utils.ts → simulation-shared/simulation-shared.statistics.utils.ts} +23 -8
- package/test/examples/flappy_bird/trainer/README.md +563 -0
- package/test/examples/flappy_bird/trainer/evaluation/README.md +199 -0
- package/test/examples/flappy_bird/trainer/evaluation/trainer.evaluation.service.constants.ts +9 -0
- package/test/examples/flappy_bird/trainer/evaluation/trainer.evaluation.service.services.ts +73 -0
- package/test/examples/flappy_bird/trainer/evaluation/trainer.evaluation.service.ts +165 -0
- package/test/examples/flappy_bird/trainer/evaluation/trainer.evaluation.service.types.ts +25 -0
- package/test/examples/flappy_bird/trainer/evaluation/trainer.evaluation.service.utils.ts +161 -0
- package/test/examples/flappy_bird/trainer/trainer.evaluation.service.ts +13 -0
- package/test/examples/flappy_bird/trainer/trainer.report.service.services.ts +181 -0
- package/test/examples/flappy_bird/trainer/trainer.report.service.ts +126 -0
- package/test/examples/flappy_bird/trainer/trainer.selection.utils.ts +89 -0
- package/test/examples/flappy_bird/trainer/trainer.ts +11 -553
- package/test/examples/flappy_bird/browser-entry/browser-entry.utils.ts +0 -12
- package/test/examples/flappy_bird/environment/environment.ts +0 -7
- package/test/examples/flappy_bird/evaluation/evaluation.ts +0 -7
- package/test/examples/flappy_bird/simulation-shared/simulation-shared.ts +0 -15
- package/test/examples/flappy_bird/trainer/trainer.statistics.utils.ts +0 -78
|
@@ -48,7 +48,7 @@ may reject the model.
|
|
|
48
48
|
|
|
49
49
|
### exportToONNX
|
|
50
50
|
|
|
51
|
-
`(network: import("
|
|
51
|
+
`(network: import("src/architecture/network").default, options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel`
|
|
52
52
|
|
|
53
53
|
Export a NeatapticTS network to an ONNX-like **JSON object** (`OnnxModel`).
|
|
54
54
|
|
|
@@ -86,7 +86,7 @@ Returns: ONNX-like model object suitable for persistence or re-import.
|
|
|
86
86
|
|
|
87
87
|
### importFromONNX
|
|
88
88
|
|
|
89
|
-
`(onnx: import("
|
|
89
|
+
`(onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel) => import("src/architecture/network").default`
|
|
90
90
|
|
|
91
91
|
Reconstruct a NeatapticTS network from an exported `OnnxModel`.
|
|
92
92
|
|
|
@@ -741,7 +741,7 @@ while keeping the ONNX parser itself mostly pure.
|
|
|
741
741
|
|
|
742
742
|
### OnnxRuntimeLayerFactory
|
|
743
743
|
|
|
744
|
-
`(size: number) => import("
|
|
744
|
+
`(size: number) => import("src/architecture/layer").default`
|
|
745
745
|
|
|
746
746
|
Runtime layer-constructor signature used for recurrent layer reconstruction.
|
|
747
747
|
|
|
@@ -760,7 +760,7 @@ This is the minimal set of recurrent factories needed by the importer.
|
|
|
760
760
|
|
|
761
761
|
### OnnxRuntimePerceptronFactory
|
|
762
762
|
|
|
763
|
-
`(sizes: number[]) => import("
|
|
763
|
+
`(sizes: number[]) => import("src/architecture/network").default`
|
|
764
764
|
|
|
765
765
|
Runtime perceptron factory signature used by ONNX import orchestration.
|
|
766
766
|
|
|
@@ -958,7 +958,7 @@ NOT supported. Experimental fused recurrent nodes are best-effort and may silent
|
|
|
958
958
|
|
|
959
959
|
### applyModelMetadata
|
|
960
960
|
|
|
961
|
-
`(context: import("
|
|
961
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModelMetadataContext) => void`
|
|
962
962
|
|
|
963
963
|
Attach producer and opset metadata to a model when metadata emission is enabled.
|
|
964
964
|
|
|
@@ -969,7 +969,7 @@ Returns: Nothing.
|
|
|
969
969
|
|
|
970
970
|
### assignActivationFunctions
|
|
971
971
|
|
|
972
|
-
`(network: import("
|
|
972
|
+
`(network: import("src/architecture/network").default, onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, hiddenLayerSizes: number[]) => void`
|
|
973
973
|
|
|
974
974
|
Assign node activation functions from ONNX activation nodes.
|
|
975
975
|
|
|
@@ -982,7 +982,7 @@ Returns: Nothing.
|
|
|
982
982
|
|
|
983
983
|
### assignWeightsAndBiases
|
|
984
984
|
|
|
985
|
-
`(network: import("
|
|
985
|
+
`(network: import("src/architecture/network").default, onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, hiddenLayerSizes: number[], metadataProps: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[] | undefined) => void`
|
|
986
986
|
|
|
987
987
|
Assign weights and biases from ONNX initializers to a newly created network.
|
|
988
988
|
|
|
@@ -996,7 +996,7 @@ Returns: Nothing.
|
|
|
996
996
|
|
|
997
997
|
### buildOnnxModel
|
|
998
998
|
|
|
999
|
-
`(network: import("
|
|
999
|
+
`(network: import("src/architecture/network").default, layers: import("src/architecture/node").default[][], options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel`
|
|
1000
1000
|
|
|
1001
1001
|
Build an ONNX-like model from a validated layered network view.
|
|
1002
1002
|
|
|
@@ -1026,7 +1026,7 @@ Returns: ONNX-like model object representing graph nodes, tensors, and metadata.
|
|
|
1026
1026
|
|
|
1027
1027
|
### collectRecurrentLayerIndices
|
|
1028
1028
|
|
|
1029
|
-
`(context: import("
|
|
1029
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRecurrentCollectionContext) => number[]`
|
|
1030
1030
|
|
|
1031
1031
|
Detect hidden layers with self-recurrence and add matching previous-state graph inputs.
|
|
1032
1032
|
|
|
@@ -1037,7 +1037,7 @@ Returns: Export-layer indices with recurrent self-connections.
|
|
|
1037
1037
|
|
|
1038
1038
|
### createBaseModel
|
|
1039
1039
|
|
|
1040
|
-
`(context: import("
|
|
1040
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxBaseModelBuildContext) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel`
|
|
1041
1041
|
|
|
1042
1042
|
Create the base ONNX model shell with graph input/output declarations.
|
|
1043
1043
|
|
|
@@ -1048,7 +1048,7 @@ Returns: Initialized ONNX model with empty initializer/node lists.
|
|
|
1048
1048
|
|
|
1049
1049
|
### createGraphDimensions
|
|
1050
1050
|
|
|
1051
|
-
`(context: import("
|
|
1051
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxGraphDimensionBuildContext) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxGraphDimensions`
|
|
1052
1052
|
|
|
1053
1053
|
Build tensor dimensions for model input and output, optionally with symbolic batch dimension.
|
|
1054
1054
|
|
|
@@ -1059,7 +1059,7 @@ Returns: Input and output dimension arrays for ONNX value info.
|
|
|
1059
1059
|
|
|
1060
1060
|
### deriveHiddenLayerSizes
|
|
1061
1061
|
|
|
1062
|
-
`(initializers: import("
|
|
1062
|
+
`(initializers: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxTensor[], metadataProps: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[] | undefined) => number[]`
|
|
1063
1063
|
|
|
1064
1064
|
Extract hidden layer sizes from ONNX initializers (weight tensors).
|
|
1065
1065
|
|
|
@@ -1071,7 +1071,7 @@ Returns: Hidden layer sizes in order.
|
|
|
1071
1071
|
|
|
1072
1072
|
### emitFusedRecurrentHeuristics
|
|
1073
1073
|
|
|
1074
|
-
`(model: import("
|
|
1074
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, layers: import("src/architecture/node").default[][], allowRecurrent: boolean | undefined, previousOutputName: string) => void`
|
|
1075
1075
|
|
|
1076
1076
|
Emit heuristic fused recurrent operators (LSTM/GRU) when recurrent export is enabled.
|
|
1077
1077
|
|
|
@@ -1085,7 +1085,7 @@ Returns: Nothing.
|
|
|
1085
1085
|
|
|
1086
1086
|
### emitLayerGraph
|
|
1087
1087
|
|
|
1088
|
-
`(context: import("
|
|
1088
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").LayerBuildContext) => string`
|
|
1089
1089
|
|
|
1090
1090
|
Emit one export layer graph segment and return the produced output tensor name.
|
|
1091
1091
|
|
|
@@ -1096,7 +1096,7 @@ Returns: Output tensor name produced by this layer.
|
|
|
1096
1096
|
|
|
1097
1097
|
### finalizeExportMetadata
|
|
1098
1098
|
|
|
1099
|
-
`(model: import("
|
|
1099
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, layers: import("src/architecture/node").default[][], options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions, includeMetadata: boolean, hiddenSizesMetadata: number[], recurrentLayerIndices: number[]) => void`
|
|
1100
1100
|
|
|
1101
1101
|
Finalize export metadata and optional conv-sharing validation.
|
|
1102
1102
|
|
|
@@ -1112,7 +1112,7 @@ Returns: Nothing.
|
|
|
1112
1112
|
|
|
1113
1113
|
### inferLayerOrdering
|
|
1114
1114
|
|
|
1115
|
-
`(network: import("
|
|
1115
|
+
`(network: import("src/architecture/network").default) => import("src/architecture/node").default[][]`
|
|
1116
1116
|
|
|
1117
1117
|
Infer strictly layered ordering from a network.
|
|
1118
1118
|
|
|
@@ -1142,7 +1142,7 @@ Security/trust boundary:
|
|
|
1142
1142
|
|
|
1143
1143
|
### rebuildConnectionsLocal
|
|
1144
1144
|
|
|
1145
|
-
`(networkLike: import("
|
|
1145
|
+
`(networkLike: import("src/architecture/network").default) => void`
|
|
1146
1146
|
|
|
1147
1147
|
Rebuild the network's flat connections array from each node's outgoing list.
|
|
1148
1148
|
|
|
@@ -1153,7 +1153,7 @@ Returns: Nothing.
|
|
|
1153
1153
|
|
|
1154
1154
|
### runOnnxExportFlow
|
|
1155
1155
|
|
|
1156
|
-
`(network: import("
|
|
1156
|
+
`(network: import("src/architecture/network").default, options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel`
|
|
1157
1157
|
|
|
1158
1158
|
Execute the complete ONNX export flow for one network instance.
|
|
1159
1159
|
|
|
@@ -1171,7 +1171,7 @@ Returns: ONNX-like model payload.
|
|
|
1171
1171
|
|
|
1172
1172
|
### runOnnxImportFlow
|
|
1173
1173
|
|
|
1174
|
-
`(onnx: import("
|
|
1174
|
+
`(onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel) => import("src/architecture/network").default`
|
|
1175
1175
|
|
|
1176
1176
|
Execute the complete ONNX import flow and reconstruct a runtime network.
|
|
1177
1177
|
|
|
@@ -1187,7 +1187,7 @@ Returns: Reconstructed network instance.
|
|
|
1187
1187
|
|
|
1188
1188
|
### validateLayerHomogeneityAndConnectivity
|
|
1189
1189
|
|
|
1190
|
-
`(layers: import("
|
|
1190
|
+
`(layers: import("src/architecture/node").default[][], network: import("src/architecture/network").default, options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions) => void`
|
|
1191
1191
|
|
|
1192
1192
|
Validate connectivity and activation homogeneity constraints per layer.
|
|
1193
1193
|
|
|
@@ -1202,7 +1202,7 @@ Returns: Nothing.
|
|
|
1202
1202
|
|
|
1203
1203
|
### tryEmitConvLayer
|
|
1204
1204
|
|
|
1205
|
-
`(params: import("
|
|
1205
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxConvEmissionParams) => string | undefined`
|
|
1206
1206
|
|
|
1207
1207
|
Try to emit a conv-mapped layer.
|
|
1208
1208
|
|
|
@@ -1215,7 +1215,7 @@ Returns: New output tensor name when handled, otherwise undefined.
|
|
|
1215
1215
|
|
|
1216
1216
|
### runOnnxExportFlow
|
|
1217
1217
|
|
|
1218
|
-
`(network: import("
|
|
1218
|
+
`(network: import("src/architecture/network").default, options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel`
|
|
1219
1219
|
|
|
1220
1220
|
Execute the complete ONNX export flow for one network instance.
|
|
1221
1221
|
|
|
@@ -1235,7 +1235,7 @@ Returns: ONNX-like model payload.
|
|
|
1235
1235
|
|
|
1236
1236
|
### runOnnxImportFlow
|
|
1237
1237
|
|
|
1238
|
-
`(onnx: import("
|
|
1238
|
+
`(onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel) => import("src/architecture/network").default`
|
|
1239
1239
|
|
|
1240
1240
|
Execute the complete ONNX import flow and reconstruct a runtime network.
|
|
1241
1241
|
|
|
@@ -1253,7 +1253,7 @@ Returns: Reconstructed network instance.
|
|
|
1253
1253
|
|
|
1254
1254
|
### buildOnnxModel
|
|
1255
1255
|
|
|
1256
|
-
`(network: import("
|
|
1256
|
+
`(network: import("src/architecture/network").default, layers: import("src/architecture/node").default[][], options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel`
|
|
1257
1257
|
|
|
1258
1258
|
Construct ONNX graph (initializers + nodes) from validated layered network structure.
|
|
1259
1259
|
|
|
@@ -1268,7 +1268,7 @@ Returns: ONNX model.
|
|
|
1268
1268
|
|
|
1269
1269
|
### appendDenseBiasInitializer
|
|
1270
1270
|
|
|
1271
|
-
`(layerContext: import("
|
|
1271
|
+
`(layerContext: import("src/architecture/network/onnx/network.onnx.utils.types").DenseLayerContext, biasTensorName: string, biasVector: number[]) => void`
|
|
1272
1272
|
|
|
1273
1273
|
Append dense bias initializer.
|
|
1274
1274
|
|
|
@@ -1281,7 +1281,7 @@ Returns: Nothing.
|
|
|
1281
1281
|
|
|
1282
1282
|
### appendDenseNodes
|
|
1283
1283
|
|
|
1284
|
-
`(model: import("
|
|
1284
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, orderedNodes: import("src/architecture/network/onnx/network.onnx.utils.types").DenseOrderedNodePayload[]) => void`
|
|
1285
1285
|
|
|
1286
1286
|
Append ordered dense nodes to the model graph.
|
|
1287
1287
|
|
|
@@ -1293,7 +1293,7 @@ Returns: Nothing.
|
|
|
1293
1293
|
|
|
1294
1294
|
### appendDenseWeightInitializer
|
|
1295
1295
|
|
|
1296
|
-
`(layerContext: import("
|
|
1296
|
+
`(layerContext: import("src/architecture/network/onnx/network.onnx.utils.types").DenseLayerContext, weightTensorName: string, weightMatrixValues: number[]) => void`
|
|
1297
1297
|
|
|
1298
1298
|
Append dense weight initializer.
|
|
1299
1299
|
|
|
@@ -1306,7 +1306,7 @@ Returns: Nothing.
|
|
|
1306
1306
|
|
|
1307
1307
|
### buildSingleNeuronWeightRow
|
|
1308
1308
|
|
|
1309
|
-
`(targetNodeInternal: import("
|
|
1309
|
+
`(targetNodeInternal: import("src/architecture/network/onnx/network.onnx.utils.types").NodeInternals, previousLayerNodes: import("src/architecture/node").default[]) => number[]`
|
|
1310
1310
|
|
|
1311
1311
|
Build one neuron's incoming weight row against previous layer.
|
|
1312
1312
|
|
|
@@ -1318,7 +1318,7 @@ Returns: Weight row values.
|
|
|
1318
1318
|
|
|
1319
1319
|
### collectDenseInitializerValues
|
|
1320
1320
|
|
|
1321
|
-
`(layerContext: import("
|
|
1321
|
+
`(layerContext: import("src/architecture/network/onnx/network.onnx.utils.types").DenseLayerContext) => import("src/architecture/network/onnx/network.onnx.utils.types").DenseInitializerValues`
|
|
1322
1322
|
|
|
1323
1323
|
Collect dense weight matrix and bias vector values.
|
|
1324
1324
|
|
|
@@ -1329,7 +1329,7 @@ Returns: Dense initializer values.
|
|
|
1329
1329
|
|
|
1330
1330
|
### createActivationNode
|
|
1331
1331
|
|
|
1332
|
-
`(denseActivationContext: import("
|
|
1332
|
+
`(denseActivationContext: import("src/architecture/network/onnx/network.onnx.utils.types").DenseActivationContext) => import("src/architecture/network/onnx/network.onnx.utils.types").DenseActivationNodePayload`
|
|
1333
1333
|
|
|
1334
1334
|
Create dense activation node definition.
|
|
1335
1335
|
|
|
@@ -1348,7 +1348,7 @@ Returns: Default Gemm attribute list.
|
|
|
1348
1348
|
|
|
1349
1349
|
### createDenseTensorNames
|
|
1350
1350
|
|
|
1351
|
-
`(layerIndex: number) => import("
|
|
1351
|
+
`(layerIndex: number) => import("src/architecture/network/onnx/network.onnx.utils.types").DenseTensorNames`
|
|
1352
1352
|
|
|
1353
1353
|
Build dense tensor names for initializer emission.
|
|
1354
1354
|
|
|
@@ -1359,7 +1359,7 @@ Returns: Dense tensor names.
|
|
|
1359
1359
|
|
|
1360
1360
|
### createGemmNode
|
|
1361
1361
|
|
|
1362
|
-
`(denseActivationContext: import("
|
|
1362
|
+
`(denseActivationContext: import("src/architecture/network/onnx/network.onnx.utils.types").DenseActivationContext) => import("src/architecture/network/onnx/network.onnx.utils.types").DenseGemmNodePayload`
|
|
1363
1363
|
|
|
1364
1364
|
Create dense Gemm node definition.
|
|
1365
1365
|
|
|
@@ -1370,7 +1370,7 @@ Returns: ONNX Gemm node payload.
|
|
|
1370
1370
|
|
|
1371
1371
|
### createSharedActivationNodePayload
|
|
1372
1372
|
|
|
1373
|
-
`(params: import("
|
|
1373
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").SharedActivationNodeBuildParams) => import("src/architecture/network/onnx/network.onnx.utils.types").DenseActivationNodePayload`
|
|
1374
1374
|
|
|
1375
1375
|
Build a shared activation node payload.
|
|
1376
1376
|
|
|
@@ -1381,7 +1381,7 @@ Returns: Activation node payload.
|
|
|
1381
1381
|
|
|
1382
1382
|
### createSharedGemmNodePayload
|
|
1383
1383
|
|
|
1384
|
-
`(params: import("
|
|
1384
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").SharedGemmNodeBuildParams) => import("src/architecture/network/onnx/network.onnx.utils.types").DenseGemmNodePayload`
|
|
1385
1385
|
|
|
1386
1386
|
Build a shared Gemm node payload.
|
|
1387
1387
|
|
|
@@ -1392,7 +1392,7 @@ Returns: Gemm node payload.
|
|
|
1392
1392
|
|
|
1393
1393
|
### emitDenseActivationSubgraph
|
|
1394
1394
|
|
|
1395
|
-
`(model: import("
|
|
1395
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, denseActivationContext: import("src/architecture/network/onnx/network.onnx.utils.types").DenseActivationContext) => void`
|
|
1396
1396
|
|
|
1397
1397
|
Emit Gemm and activation nodes using requested ordering.
|
|
1398
1398
|
|
|
@@ -1404,7 +1404,7 @@ Returns: Nothing.
|
|
|
1404
1404
|
|
|
1405
1405
|
### emitDenseInitializers
|
|
1406
1406
|
|
|
1407
|
-
`(layerContext: import("
|
|
1407
|
+
`(layerContext: import("src/architecture/network/onnx/network.onnx.utils.types").DenseLayerContext) => import("src/architecture/network/onnx/network.onnx.utils.types").DenseTensorNames`
|
|
1408
1408
|
|
|
1409
1409
|
Emit dense initializers and return tensor names.
|
|
1410
1410
|
|
|
@@ -1415,7 +1415,7 @@ Returns: Tensor names.
|
|
|
1415
1415
|
|
|
1416
1416
|
### emitDenseLayer
|
|
1417
1417
|
|
|
1418
|
-
`(params: import("
|
|
1418
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").DenseLayerParams) => string`
|
|
1419
1419
|
|
|
1420
1420
|
Emit dense layer representation.
|
|
1421
1421
|
|
|
@@ -1426,7 +1426,7 @@ Returns: Output tensor name.
|
|
|
1426
1426
|
|
|
1427
1427
|
### emitOptionalLayerOutput
|
|
1428
1428
|
|
|
1429
|
-
`(params: import("
|
|
1429
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").OptionalLayerOutputParams) => string`
|
|
1430
1430
|
|
|
1431
1431
|
Emit optional pooling and flatten output fold.
|
|
1432
1432
|
|
|
@@ -1437,7 +1437,7 @@ Returns: Output tensor name.
|
|
|
1437
1437
|
|
|
1438
1438
|
### emitPerNeuronLayer
|
|
1439
1439
|
|
|
1440
|
-
`(params: import("
|
|
1440
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").PerNeuronLayerParams) => string`
|
|
1441
1441
|
|
|
1442
1442
|
Emit per-neuron decomposition layer representation.
|
|
1443
1443
|
|
|
@@ -1448,7 +1448,7 @@ Returns: Output tensor name.
|
|
|
1448
1448
|
|
|
1449
1449
|
### emitPerNeuronSubgraph
|
|
1450
1450
|
|
|
1451
|
-
`(perNeuronSubgraphContext: import("
|
|
1451
|
+
`(perNeuronSubgraphContext: import("src/architecture/network/onnx/network.onnx.utils.types").PerNeuronSubgraphContext) => string`
|
|
1452
1452
|
|
|
1453
1453
|
Emit per-neuron Gemm + activation subgraph.
|
|
1454
1454
|
|
|
@@ -1459,7 +1459,7 @@ Returns: Per-neuron activation output name.
|
|
|
1459
1459
|
|
|
1460
1460
|
### resolveDenseNodeOrder
|
|
1461
1461
|
|
|
1462
|
-
`(gemmNode: import("
|
|
1462
|
+
`(gemmNode: import("src/architecture/network/onnx/network.onnx.utils.types").DenseGemmNodePayload, activationNode: import("src/architecture/network/onnx/network.onnx.utils.types").DenseActivationNodePayload, legacyNodeOrdering: boolean) => import("src/architecture/network/onnx/network.onnx.utils.types").DenseOrderedNodePayload[]`
|
|
1463
1463
|
|
|
1464
1464
|
Resolve dense node order for legacy and current exports.
|
|
1465
1465
|
|
|
@@ -1472,7 +1472,7 @@ Returns: Ordered node list.
|
|
|
1472
1472
|
|
|
1473
1473
|
### resolveSingleNeuronInboundWeight
|
|
1474
1474
|
|
|
1475
|
-
`(targetNodeInternal: import("
|
|
1475
|
+
`(targetNodeInternal: import("src/architecture/network/onnx/network.onnx.utils.types").NodeInternals, sourceNode: import("src/architecture/node").default) => number`
|
|
1476
1476
|
|
|
1477
1477
|
Resolve one inbound connection weight for a source node.
|
|
1478
1478
|
|
|
@@ -1486,7 +1486,7 @@ Returns: Inbound weight or zero when missing.
|
|
|
1486
1486
|
|
|
1487
1487
|
### appendRecurrentGraphInput
|
|
1488
1488
|
|
|
1489
|
-
`(model: import("
|
|
1489
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, traversalContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRecurrentLayerTraversalContext) => void`
|
|
1490
1490
|
|
|
1491
1491
|
Append one recurrent previous-state graph input for a hidden layer.
|
|
1492
1492
|
|
|
@@ -1498,7 +1498,7 @@ Returns: Nothing.
|
|
|
1498
1498
|
|
|
1499
1499
|
### appendRecurrentLayerIndex
|
|
1500
1500
|
|
|
1501
|
-
`(recurrentLayerIndices: number[], traversalContext: import("
|
|
1501
|
+
`(recurrentLayerIndices: number[], traversalContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRecurrentLayerTraversalContext) => void`
|
|
1502
1502
|
|
|
1503
1503
|
Append one recurrent layer index to the collected index list.
|
|
1504
1504
|
|
|
@@ -1510,7 +1510,7 @@ Returns: Nothing.
|
|
|
1510
1510
|
|
|
1511
1511
|
### applyModelMetadata
|
|
1512
1512
|
|
|
1513
|
-
`(context: import("
|
|
1513
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModelMetadataContext) => void`
|
|
1514
1514
|
|
|
1515
1515
|
Attach producer and opset metadata to a model when metadata emission is enabled.
|
|
1516
1516
|
|
|
@@ -1521,7 +1521,7 @@ Returns: Nothing.
|
|
|
1521
1521
|
|
|
1522
1522
|
### collectRecurrentLayerIndices
|
|
1523
1523
|
|
|
1524
|
-
`(context: import("
|
|
1524
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRecurrentCollectionContext) => number[]`
|
|
1525
1525
|
|
|
1526
1526
|
Detect hidden layers with self-recurrence and add matching previous-state graph inputs.
|
|
1527
1527
|
|
|
@@ -1532,7 +1532,7 @@ Returns: Export-layer indices with recurrent self-connections.
|
|
|
1532
1532
|
|
|
1533
1533
|
### createBaseModel
|
|
1534
1534
|
|
|
1535
|
-
`(context: import("
|
|
1535
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxBaseModelBuildContext) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel`
|
|
1536
1536
|
|
|
1537
1537
|
Create the base ONNX model shell with graph input/output declarations.
|
|
1538
1538
|
|
|
@@ -1543,7 +1543,7 @@ Returns: Initialized ONNX model with empty initializer/node lists.
|
|
|
1543
1543
|
|
|
1544
1544
|
### createGraphDimensions
|
|
1545
1545
|
|
|
1546
|
-
`(context: import("
|
|
1546
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxGraphDimensionBuildContext) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxGraphDimensions`
|
|
1547
1547
|
|
|
1548
1548
|
Build tensor dimensions for model input and output, optionally with symbolic batch dimension.
|
|
1549
1549
|
|
|
@@ -1554,7 +1554,7 @@ Returns: Input and output dimension arrays for ONNX value info.
|
|
|
1554
1554
|
|
|
1555
1555
|
### createGraphValueInfo
|
|
1556
1556
|
|
|
1557
|
-
`(valueName: string, dimensions: import("
|
|
1557
|
+
`(valueName: string, dimensions: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxDimension[]) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxValueInfo`
|
|
1558
1558
|
|
|
1559
1559
|
Create ONNX value info payload for one graph boundary tensor.
|
|
1560
1560
|
|
|
@@ -1577,7 +1577,7 @@ Returns: Hidden layer indices.
|
|
|
1577
1577
|
|
|
1578
1578
|
### createHiddenLayerTraversalContexts
|
|
1579
1579
|
|
|
1580
|
-
`(context: import("
|
|
1580
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRecurrentCollectionContext) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRecurrentLayerTraversalContext[]`
|
|
1581
1581
|
|
|
1582
1582
|
Build traversal contexts for all hidden layers.
|
|
1583
1583
|
|
|
@@ -1588,7 +1588,7 @@ Returns: Hidden layer traversal contexts.
|
|
|
1588
1588
|
|
|
1589
1589
|
### createRecurrentInputValueInfo
|
|
1590
1590
|
|
|
1591
|
-
`(context: import("
|
|
1591
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRecurrentInputValueInfoContext) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxValueInfo`
|
|
1592
1592
|
|
|
1593
1593
|
Build one recurrent previous-state graph input payload.
|
|
1594
1594
|
|
|
@@ -1599,7 +1599,7 @@ Returns: ONNX value info payload for recurrent state input.
|
|
|
1599
1599
|
|
|
1600
1600
|
### createRecurrentInputValueInfoContext
|
|
1601
1601
|
|
|
1602
|
-
`(traversalContext: import("
|
|
1602
|
+
`(traversalContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRecurrentLayerTraversalContext) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRecurrentInputValueInfoContext`
|
|
1603
1603
|
|
|
1604
1604
|
Build recurrent input context for one hidden recurrent layer.
|
|
1605
1605
|
|
|
@@ -1610,7 +1610,7 @@ Returns: Recurrent input value-info context.
|
|
|
1610
1610
|
|
|
1611
1611
|
### createTensorDimensions
|
|
1612
1612
|
|
|
1613
|
-
`(width: number, batchDimension: boolean) => import("
|
|
1613
|
+
`(width: number, batchDimension: boolean) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxDimension[]`
|
|
1614
1614
|
|
|
1615
1615
|
Build one tensor shape dimension payload for dense vectors.
|
|
1616
1616
|
|
|
@@ -1622,7 +1622,7 @@ Returns: ONNX dimensions for the vector payload.
|
|
|
1622
1622
|
|
|
1623
1623
|
### hasLayerSelfRecurrence
|
|
1624
1624
|
|
|
1625
|
-
`(hiddenLayerNodes: import("
|
|
1625
|
+
`(hiddenLayerNodes: import("src/architecture/node").default[]) => boolean`
|
|
1626
1626
|
|
|
1627
1627
|
Detect whether a hidden layer contains at least one self-recurrent node.
|
|
1628
1628
|
|
|
@@ -1633,7 +1633,7 @@ Returns: True when any node has a self-connection.
|
|
|
1633
1633
|
|
|
1634
1634
|
### isRecurrentCollectionEnabled
|
|
1635
1635
|
|
|
1636
|
-
`(context: import("
|
|
1636
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRecurrentCollectionContext) => boolean`
|
|
1637
1637
|
|
|
1638
1638
|
Determine whether recurrent layer collection should execute.
|
|
1639
1639
|
|
|
@@ -1644,7 +1644,7 @@ Returns: True when recurrent collection is enabled.
|
|
|
1644
1644
|
|
|
1645
1645
|
### processHiddenLayerRecurrence
|
|
1646
1646
|
|
|
1647
|
-
`(context: import("
|
|
1647
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRecurrentLayerProcessingContext) => void`
|
|
1648
1648
|
|
|
1649
1649
|
Process one hidden layer for recurrent self-connections.
|
|
1650
1650
|
|
|
@@ -1657,7 +1657,7 @@ Returns: Nothing.
|
|
|
1657
1657
|
|
|
1658
1658
|
### buildPerceptronNetwork
|
|
1659
1659
|
|
|
1660
|
-
`(buildContext: import("
|
|
1660
|
+
`(buildContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxPerceptronBuildContext) => import("src/architecture/network").default`
|
|
1661
1661
|
|
|
1662
1662
|
Build a perceptron network from size-extraction context.
|
|
1663
1663
|
|
|
@@ -1668,7 +1668,7 @@ Returns: Reconstructed network instance.
|
|
|
1668
1668
|
|
|
1669
1669
|
### createPerceptronBuildContext
|
|
1670
1670
|
|
|
1671
|
-
`(sizes: number[]) => import("
|
|
1671
|
+
`(sizes: number[]) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxPerceptronBuildContext`
|
|
1672
1672
|
|
|
1673
1673
|
Build perceptron-network construction context.
|
|
1674
1674
|
|
|
@@ -1679,7 +1679,7 @@ Returns: Build context.
|
|
|
1679
1679
|
|
|
1680
1680
|
### createPerceptronFactory
|
|
1681
1681
|
|
|
1682
|
-
`() => import("
|
|
1682
|
+
`() => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRuntimePerceptronFactory`
|
|
1683
1683
|
|
|
1684
1684
|
Create an ONNX import network factory from modern static constructors.
|
|
1685
1685
|
|
|
@@ -1687,7 +1687,7 @@ Returns: Perceptron-compatible factory function.
|
|
|
1687
1687
|
|
|
1688
1688
|
### createPerceptronSizeValidationContext
|
|
1689
1689
|
|
|
1690
|
-
`(sizes: number[]) => import("
|
|
1690
|
+
`(sizes: number[]) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxPerceptronSizeValidationContext`
|
|
1691
1691
|
|
|
1692
1692
|
Build perceptron-size validation context.
|
|
1693
1693
|
|
|
@@ -1698,7 +1698,7 @@ Returns: Validation context.
|
|
|
1698
1698
|
|
|
1699
1699
|
### createRuntimeLayerModule
|
|
1700
1700
|
|
|
1701
|
-
`() => import("
|
|
1701
|
+
`() => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRuntimeLayerModule`
|
|
1702
1702
|
|
|
1703
1703
|
Create the runtime layer-module wiring used by ONNX import orchestrators.
|
|
1704
1704
|
|
|
@@ -1706,7 +1706,7 @@ Returns: Runtime recurrent-layer module object.
|
|
|
1706
1706
|
|
|
1707
1707
|
### foldRuntimeFactories
|
|
1708
1708
|
|
|
1709
|
-
`(perceptronFactory: import("
|
|
1709
|
+
`(perceptronFactory: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRuntimePerceptronFactory, layerModule: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRuntimeLayerModule) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRuntimeFactories`
|
|
1710
1710
|
|
|
1711
1711
|
Fold runtime perceptron and layer module into a transport payload.
|
|
1712
1712
|
|
|
@@ -1718,7 +1718,7 @@ Returns: Runtime factories payload.
|
|
|
1718
1718
|
|
|
1719
1719
|
### foldRuntimeLayerModule
|
|
1720
1720
|
|
|
1721
|
-
`(lstmFactory: import("
|
|
1721
|
+
`(lstmFactory: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRuntimeLayerFactory, gruFactory: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRuntimeLayerFactory) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRuntimeLayerModule`
|
|
1722
1722
|
|
|
1723
1723
|
Fold LSTM/GRU factories into a runtime layer module payload.
|
|
1724
1724
|
|
|
@@ -1730,7 +1730,7 @@ Returns: Runtime layer module.
|
|
|
1730
1730
|
|
|
1731
1731
|
### loadRuntimeFactories
|
|
1732
1732
|
|
|
1733
|
-
`() => import("
|
|
1733
|
+
`() => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRuntimeFactories`
|
|
1734
1734
|
|
|
1735
1735
|
Resolve runtime factories used by ONNX import orchestration.
|
|
1736
1736
|
|
|
@@ -1738,7 +1738,7 @@ Returns: Perceptron factory and layer module object.
|
|
|
1738
1738
|
|
|
1739
1739
|
### resolveLayerFactory
|
|
1740
1740
|
|
|
1741
|
-
`(layerKey: keyof import("
|
|
1741
|
+
`(layerKey: keyof import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRuntimeLayerModule) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxRuntimeLayerFactory`
|
|
1742
1742
|
|
|
1743
1743
|
Resolve one runtime layer factory by module key.
|
|
1744
1744
|
|
|
@@ -1749,7 +1749,7 @@ Returns: Matching layer factory.
|
|
|
1749
1749
|
|
|
1750
1750
|
### validatePerceptronSizes
|
|
1751
1751
|
|
|
1752
|
-
`(validationContext: import("
|
|
1752
|
+
`(validationContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxPerceptronSizeValidationContext) => void`
|
|
1753
1753
|
|
|
1754
1754
|
Validate perceptron size-list constraints.
|
|
1755
1755
|
|
|
@@ -1762,7 +1762,7 @@ Returns: Nothing. Throws on invalid size-list.
|
|
|
1762
1762
|
|
|
1763
1763
|
### applyAggregatedLayerWeights
|
|
1764
1764
|
|
|
1765
|
-
`(aggregatedContext: import("
|
|
1765
|
+
`(aggregatedContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportAggregatedLayerAssignmentContext) => void`
|
|
1766
1766
|
|
|
1767
1767
|
Apply aggregated dense tensor assignments for one layer.
|
|
1768
1768
|
|
|
@@ -1773,7 +1773,7 @@ Returns: Nothing.
|
|
|
1773
1773
|
|
|
1774
1774
|
### applyAggregatedNeuronAssignment
|
|
1775
1775
|
|
|
1776
|
-
`(neuronContext: import("
|
|
1776
|
+
`(neuronContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportAggregatedNeuronAssignmentContext) => void`
|
|
1777
1777
|
|
|
1778
1778
|
Apply aggregated dense row weights and bias for one target neuron.
|
|
1779
1779
|
|
|
@@ -1784,7 +1784,7 @@ Returns: Nothing.
|
|
|
1784
1784
|
|
|
1785
1785
|
### applyConvCoordinateAssignment
|
|
1786
1786
|
|
|
1787
|
-
`(coordinateContext: import("
|
|
1787
|
+
`(coordinateContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvCoordinateAssignmentContext) => void`
|
|
1788
1788
|
|
|
1789
1789
|
Apply Conv bias and kernel weights for one output coordinate.
|
|
1790
1790
|
|
|
@@ -1795,7 +1795,7 @@ Returns: Nothing.
|
|
|
1795
1795
|
|
|
1796
1796
|
### applyConvLayerReconstruction
|
|
1797
1797
|
|
|
1798
|
-
`(layerContext: import("
|
|
1798
|
+
`(layerContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvLayerContext) => void`
|
|
1799
1799
|
|
|
1800
1800
|
Apply Conv reconstruction for one validated Conv layer context.
|
|
1801
1801
|
|
|
@@ -1806,7 +1806,7 @@ Returns: Nothing.
|
|
|
1806
1806
|
|
|
1807
1807
|
### applyDenseWeightAssignments
|
|
1808
1808
|
|
|
1809
|
-
`(assignmentContext: import("
|
|
1809
|
+
`(assignmentContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportWeightAssignmentContext) => void`
|
|
1810
1810
|
|
|
1811
1811
|
Apply dense/per-neuron assignments for all sorted layer indices.
|
|
1812
1812
|
|
|
@@ -1817,7 +1817,7 @@ Returns: Nothing.
|
|
|
1817
1817
|
|
|
1818
1818
|
### applyOptionalConvReconstruction
|
|
1819
1819
|
|
|
1820
|
-
`(assignmentContext: import("
|
|
1820
|
+
`(assignmentContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportWeightAssignmentContext) => void`
|
|
1821
1821
|
|
|
1822
1822
|
Apply optional Conv2D reconstruction pass from metadata payloads.
|
|
1823
1823
|
|
|
@@ -1828,7 +1828,7 @@ Returns: Nothing.
|
|
|
1828
1828
|
|
|
1829
1829
|
### applyPerNeuronAssignment
|
|
1830
1830
|
|
|
1831
|
-
`(perNeuronAssignmentContext: import("
|
|
1831
|
+
`(perNeuronAssignmentContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportPerNeuronAssignmentContext) => void`
|
|
1832
1832
|
|
|
1833
1833
|
Apply one per-neuron weight vector and bias assignment.
|
|
1834
1834
|
|
|
@@ -1839,7 +1839,7 @@ Returns: Nothing.
|
|
|
1839
1839
|
|
|
1840
1840
|
### applyPerNeuronLayerWeights
|
|
1841
1841
|
|
|
1842
|
-
`(perNeuronContext: import("
|
|
1842
|
+
`(perNeuronContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportPerNeuronLayerAssignmentContext) => void`
|
|
1843
1843
|
|
|
1844
1844
|
Apply per-neuron tensor assignments for one layer.
|
|
1845
1845
|
|
|
@@ -1850,7 +1850,7 @@ Returns: Nothing.
|
|
|
1850
1850
|
|
|
1851
1851
|
### assignConvKernelWeight
|
|
1852
1852
|
|
|
1853
|
-
`(kernelAssignmentContext: import("
|
|
1853
|
+
`(kernelAssignmentContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvKernelAssignmentContext) => void`
|
|
1854
1854
|
|
|
1855
1855
|
Assign one Conv kernel weight to the matching inbound neuron connection.
|
|
1856
1856
|
|
|
@@ -1861,7 +1861,7 @@ Returns: Nothing.
|
|
|
1861
1861
|
|
|
1862
1862
|
### assignLayerWeights
|
|
1863
1863
|
|
|
1864
|
-
`(initializerMap: Record<string, import("
|
|
1864
|
+
`(initializerMap: Record<string, import("src/architecture/network/onnx/network.onnx.utils.types").OnnxTensor>, nodePair: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerNodePair) => void`
|
|
1865
1865
|
|
|
1866
1866
|
Assign one layer's weights using aggregated or per-neuron tensors.
|
|
1867
1867
|
|
|
@@ -1873,7 +1873,7 @@ Returns: Nothing.
|
|
|
1873
1873
|
|
|
1874
1874
|
### assignWeightsAndBiases
|
|
1875
1875
|
|
|
1876
|
-
`(network: import("
|
|
1876
|
+
`(network: import("src/architecture/network").default, onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, hiddenLayerSizes: number[], metadataProps: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[] | undefined) => void`
|
|
1877
1877
|
|
|
1878
1878
|
Assign weights and biases from ONNX initializers to a newly created network.
|
|
1879
1879
|
|
|
@@ -1887,7 +1887,7 @@ Returns: Nothing.
|
|
|
1887
1887
|
|
|
1888
1888
|
### buildConvLayerContext
|
|
1889
1889
|
|
|
1890
|
-
`(params: import("
|
|
1890
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvLayerContextBuildParams) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvLayerContext | null`
|
|
1891
1891
|
|
|
1892
1892
|
Build one Conv layer reconstruction context.
|
|
1893
1893
|
|
|
@@ -1898,7 +1898,7 @@ Returns: Conv layer context when valid.
|
|
|
1898
1898
|
|
|
1899
1899
|
### buildConvNeuronLinearIndex
|
|
1900
1900
|
|
|
1901
|
-
`(coordinate: import("
|
|
1901
|
+
`(coordinate: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvOutputCoordinate, convSpec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping) => number`
|
|
1902
1902
|
|
|
1903
1903
|
Build flattened linear index for one Conv output coordinate.
|
|
1904
1904
|
|
|
@@ -1910,7 +1910,7 @@ Returns: Linear neuron index.
|
|
|
1910
1910
|
|
|
1911
1911
|
### buildConvNodeSlices
|
|
1912
1912
|
|
|
1913
|
-
`(layerContext: import("
|
|
1913
|
+
`(layerContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvLayerContext) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvNodeSlices`
|
|
1914
1914
|
|
|
1915
1915
|
Build Conv current/previous node slices for one layer context.
|
|
1916
1916
|
|
|
@@ -1921,7 +1921,7 @@ Returns: Node slice payload.
|
|
|
1921
1921
|
|
|
1922
1922
|
### buildConvTensorContext
|
|
1923
1923
|
|
|
1924
|
-
`(layerContext: import("
|
|
1924
|
+
`(layerContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvLayerContext) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvTensorContext | null`
|
|
1925
1925
|
|
|
1926
1926
|
Build validated Conv tensor context for one layer.
|
|
1927
1927
|
|
|
@@ -1932,7 +1932,7 @@ Returns: Conv tensor context when valid.
|
|
|
1932
1932
|
|
|
1933
1933
|
### buildHiddenLayerSizesFromBuckets
|
|
1934
1934
|
|
|
1935
|
-
`(layerWeightBuckets: Record<string, import("
|
|
1935
|
+
`(layerWeightBuckets: Record<string, import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerWeightBucket>, sortedLayerIndices: number[]) => number[]`
|
|
1936
1936
|
|
|
1937
1937
|
Build hidden-layer sizes from weight buckets while excluding output layer.
|
|
1938
1938
|
|
|
@@ -1944,7 +1944,7 @@ Returns: Hidden-layer sizes.
|
|
|
1944
1944
|
|
|
1945
1945
|
### buildInboundConnectionMap
|
|
1946
1946
|
|
|
1947
|
-
`(neuronInternal: import("
|
|
1947
|
+
`(neuronInternal: import("src/architecture/network/onnx/network.onnx.utils.types").NodeInternals) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportInboundConnectionMap`
|
|
1948
1948
|
|
|
1949
1949
|
Build inbound connection lookup map for one neuron.
|
|
1950
1950
|
|
|
@@ -1955,7 +1955,7 @@ Returns: Inbound connection map keyed by source node.
|
|
|
1955
1955
|
|
|
1956
1956
|
### buildInitializerMap
|
|
1957
1957
|
|
|
1958
|
-
`(initializers: import("
|
|
1958
|
+
`(initializers: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxTensor[]) => Record<string, import("src/architecture/network/onnx/network.onnx.utils.types").OnnxTensor>`
|
|
1959
1959
|
|
|
1960
1960
|
Build ONNX initializer map keyed by tensor name.
|
|
1961
1961
|
|
|
@@ -1966,7 +1966,7 @@ Returns: Tensor map by name.
|
|
|
1966
1966
|
|
|
1967
1967
|
### buildInputCoordinate
|
|
1968
1968
|
|
|
1969
|
-
`(kernelAssignmentContext: import("
|
|
1969
|
+
`(kernelAssignmentContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvKernelAssignmentContext) => { inputRow: number; inputColumn: number; } | null`
|
|
1970
1970
|
|
|
1971
1971
|
Build input-space coordinate for one Conv kernel element.
|
|
1972
1972
|
|
|
@@ -1977,7 +1977,7 @@ Returns: Input coordinate when in bounds.
|
|
|
1977
1977
|
|
|
1978
1978
|
### buildInputFeatureLinearIndex
|
|
1979
1979
|
|
|
1980
|
-
`(convSpec: import("
|
|
1980
|
+
`(convSpec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping, inChannelIndex: number, inputRow: number, inputColumn: number) => number`
|
|
1981
1981
|
|
|
1982
1982
|
Build linear feature index in input feature space.
|
|
1983
1983
|
|
|
@@ -1991,7 +1991,7 @@ Returns: Linear input feature index.
|
|
|
1991
1991
|
|
|
1992
1992
|
### buildLayerNodePair
|
|
1993
1993
|
|
|
1994
|
-
`(assignmentContext: import("
|
|
1994
|
+
`(assignmentContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportWeightAssignmentContext, params: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerNodePairBuildParams) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerNodePair`
|
|
1995
1995
|
|
|
1996
1996
|
Build current/previous node slices for one sequential import layer pass.
|
|
1997
1997
|
|
|
@@ -2003,7 +2003,7 @@ Returns: Layer node pair.
|
|
|
2003
2003
|
|
|
2004
2004
|
### buildLayerTensorNames
|
|
2005
2005
|
|
|
2006
|
-
`(layerIndex: number) => import("
|
|
2006
|
+
`(layerIndex: number) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerTensorNames`
|
|
2007
2007
|
|
|
2008
2008
|
Build dense weight/bias tensor names for one layer index.
|
|
2009
2009
|
|
|
@@ -2014,7 +2014,7 @@ Returns: Layer tensor names.
|
|
|
2014
2014
|
|
|
2015
2015
|
### buildPerNeuronTensorNames
|
|
2016
2016
|
|
|
2017
|
-
`(layerIndex: number, neuronIndex: number) => import("
|
|
2017
|
+
`(layerIndex: number, neuronIndex: number) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerTensorNames`
|
|
2018
2018
|
|
|
2019
2019
|
Build per-neuron tensor names for one layer and neuron index.
|
|
2020
2020
|
|
|
@@ -2026,7 +2026,7 @@ Returns: Per-neuron tensor names.
|
|
|
2026
2026
|
|
|
2027
2027
|
### buildWeightAssignmentContext
|
|
2028
2028
|
|
|
2029
|
-
`(params: import("
|
|
2029
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportWeightAssignmentBuildParams) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportWeightAssignmentContext`
|
|
2030
2030
|
|
|
2031
2031
|
Build the shared assignment context for import weight restoration.
|
|
2032
2032
|
|
|
@@ -2037,7 +2037,7 @@ Returns: Shared assignment context.
|
|
|
2037
2037
|
|
|
2038
2038
|
### collectConvKernelCoordinates
|
|
2039
2039
|
|
|
2040
|
-
`(inChannels: number, kernelHeight: number, kernelWidth: number) => import("
|
|
2040
|
+
`(inChannels: number, kernelHeight: number, kernelWidth: number) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxConvKernelCoordinate[]`
|
|
2041
2041
|
|
|
2042
2042
|
Collect all kernel traversal coordinates for one Conv output position.
|
|
2043
2043
|
|
|
@@ -2050,7 +2050,7 @@ Returns: Kernel traversal coordinates.
|
|
|
2050
2050
|
|
|
2051
2051
|
### collectConvOutputCoordinates
|
|
2052
2052
|
|
|
2053
|
-
`(convSpec: import("
|
|
2053
|
+
`(convSpec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping, outChannels: number) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvOutputCoordinate[]`
|
|
2054
2054
|
|
|
2055
2055
|
Collect all output traversal coordinates for one Conv layer.
|
|
2056
2056
|
|
|
@@ -2062,7 +2062,7 @@ Returns: Output traversal coordinates.
|
|
|
2062
2062
|
|
|
2063
2063
|
### collectLayerWeightBuckets
|
|
2064
2064
|
|
|
2065
|
-
`(initializers: import("
|
|
2065
|
+
`(initializers: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxTensor[]) => Record<string, import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerWeightBucket>`
|
|
2066
2066
|
|
|
2067
2067
|
Collect ONNX weight tensor buckets grouped by export layer index.
|
|
2068
2068
|
|
|
@@ -2073,7 +2073,7 @@ Returns: Layer-weight buckets keyed by export layer index.
|
|
|
2073
2073
|
|
|
2074
2074
|
### collectNodesByType
|
|
2075
2075
|
|
|
2076
|
-
`(nodes: import("
|
|
2076
|
+
`(nodes: import("src/architecture/node").default[], nodeType: "input" | "output" | "hidden") => import("src/architecture/node").default[]`
|
|
2077
2077
|
|
|
2078
2078
|
Collect nodes by runtime node type discriminator.
|
|
2079
2079
|
|
|
@@ -2085,7 +2085,7 @@ Returns: Filtered nodes.
|
|
|
2085
2085
|
|
|
2086
2086
|
### collectSortedLayerIndices
|
|
2087
2087
|
|
|
2088
|
-
`(layerWeightBuckets: Record<string, import("
|
|
2088
|
+
`(layerWeightBuckets: Record<string, import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerWeightBucket>) => number[]`
|
|
2089
2089
|
|
|
2090
2090
|
Collect sorted layer indices from weight buckets.
|
|
2091
2091
|
|
|
@@ -2096,7 +2096,7 @@ Returns: Ascending export layer indices.
|
|
|
2096
2096
|
|
|
2097
2097
|
### collectSortedUniqueLayerIndices
|
|
2098
2098
|
|
|
2099
|
-
`(initializerMap: Record<string, import("
|
|
2099
|
+
`(initializerMap: Record<string, import("src/architecture/network/onnx/network.onnx.utils.types").OnnxTensor>) => number[]`
|
|
2100
2100
|
|
|
2101
2101
|
Collect unique sorted layer indices from initializer weight tensors.
|
|
2102
2102
|
|
|
@@ -2107,7 +2107,7 @@ Returns: Unique sorted layer indices.
|
|
|
2107
2107
|
|
|
2108
2108
|
### deriveHiddenLayerSizes
|
|
2109
2109
|
|
|
2110
|
-
`(initializers: import("
|
|
2110
|
+
`(initializers: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxTensor[], metadataProps: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[] | undefined) => number[]`
|
|
2111
2111
|
|
|
2112
2112
|
Extract hidden layer sizes from ONNX initializers (weight tensors).
|
|
2113
2113
|
|
|
@@ -2119,7 +2119,7 @@ Returns: Hidden layer sizes in order.
|
|
|
2119
2119
|
|
|
2120
2120
|
### hasAggregatedLayerWeights
|
|
2121
2121
|
|
|
2122
|
-
`(aggregatedContext: import("
|
|
2122
|
+
`(aggregatedContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportAggregatedLayerAssignmentContext) => boolean`
|
|
2123
2123
|
|
|
2124
2124
|
Determine whether the layer has aggregated weight tensor data.
|
|
2125
2125
|
|
|
@@ -2130,7 +2130,7 @@ Returns: True when aggregated tensor exists.
|
|
|
2130
2130
|
|
|
2131
2131
|
### parseConvMetadata
|
|
2132
2132
|
|
|
2133
|
-
`(metadataProps: import("
|
|
2133
|
+
`(metadataProps: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[]) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvMetadata | null`
|
|
2134
2134
|
|
|
2135
2135
|
Parse Conv reconstruction metadata payload.
|
|
2136
2136
|
|
|
@@ -2152,7 +2152,7 @@ Returns: Parsed layer index or null.
|
|
|
2152
2152
|
|
|
2153
2153
|
### parseMetadataLayerSizes
|
|
2154
2154
|
|
|
2155
|
-
`(metadataProps: import("
|
|
2155
|
+
`(metadataProps: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[]) => number[] | null`
|
|
2156
2156
|
|
|
2157
2157
|
Parse explicit metadata-driven hidden layer sizes.
|
|
2158
2158
|
|
|
@@ -2174,7 +2174,7 @@ Returns: Parsed layer+neuron components when matched.
|
|
|
2174
2174
|
|
|
2175
2175
|
### readConvKernelWeight
|
|
2176
2176
|
|
|
2177
|
-
`(kernelAssignmentContext: import("
|
|
2177
|
+
`(kernelAssignmentContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportConvKernelAssignmentContext) => number`
|
|
2178
2178
|
|
|
2179
2179
|
Read one Conv kernel weight from flattened ONNX tensor payload.
|
|
2180
2180
|
|
|
@@ -2185,7 +2185,7 @@ Returns: Kernel weight.
|
|
|
2185
2185
|
|
|
2186
2186
|
### resolveCurrentLayerNodes
|
|
2187
2187
|
|
|
2188
|
-
`(assignmentContext: import("
|
|
2188
|
+
`(assignmentContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportWeightAssignmentContext, params: { sequentialIndex: number; }) => import("src/architecture/node").default[]`
|
|
2189
2189
|
|
|
2190
2190
|
Resolve current layer nodes for one sequential layer assignment pass.
|
|
2191
2191
|
|
|
@@ -2197,7 +2197,7 @@ Returns: Current layer nodes.
|
|
|
2197
2197
|
|
|
2198
2198
|
### resolveLayerHiddenSize
|
|
2199
2199
|
|
|
2200
|
-
`(layerWeightBuckets: Record<string, import("
|
|
2200
|
+
`(layerWeightBuckets: Record<string, import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerWeightBucket>, layerIndex: number) => number`
|
|
2201
2201
|
|
|
2202
2202
|
Resolve one hidden-layer size from its weight bucket.
|
|
2203
2203
|
|
|
@@ -2209,7 +2209,7 @@ Returns: Hidden-layer size.
|
|
|
2209
2209
|
|
|
2210
2210
|
### resolvePreviousLayerNodes
|
|
2211
2211
|
|
|
2212
|
-
`(assignmentContext: import("
|
|
2212
|
+
`(assignmentContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportWeightAssignmentContext, params: { sequentialIndex: number; }) => import("src/architecture/node").default[]`
|
|
2213
2213
|
|
|
2214
2214
|
Resolve previous layer nodes for one sequential layer assignment pass.
|
|
2215
2215
|
|
|
@@ -2235,7 +2235,7 @@ Returns: Prefix sum.
|
|
|
2235
2235
|
|
|
2236
2236
|
### appendLastResolvedLayer
|
|
2237
2237
|
|
|
2238
|
-
`(resolutionContext: import("
|
|
2238
|
+
`(resolutionContext: import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingResolutionContext) => import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingResolutionContext`
|
|
2239
2239
|
|
|
2240
2240
|
Append the final resolved hidden layer into ordered layer output.
|
|
2241
2241
|
|
|
@@ -2246,7 +2246,7 @@ Returns: Traversal state with last hidden layer persisted.
|
|
|
2246
2246
|
|
|
2247
2247
|
### buildLayerValidationContexts
|
|
2248
2248
|
|
|
2249
|
-
`(layers: import("
|
|
2249
|
+
`(layers: import("src/architecture/node").default[][], options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions) => import("src/architecture/network/onnx/network.onnx.utils.types").LayerValidationTraversalContext[]`
|
|
2250
2250
|
|
|
2251
2251
|
Build per-layer validation contexts for all non-input layers.
|
|
2252
2252
|
|
|
@@ -2258,7 +2258,7 @@ Returns: Traversal contexts used by layer validators.
|
|
|
2258
2258
|
|
|
2259
2259
|
### collectCurrentResolvableHiddenLayer
|
|
2260
2260
|
|
|
2261
|
-
`(resolutionContext: import("
|
|
2261
|
+
`(resolutionContext: import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingResolutionContext) => import("src/architecture/node").default[]`
|
|
2262
2262
|
|
|
2263
2263
|
Collect unresolved hidden nodes that can be placed in the next layer.
|
|
2264
2264
|
|
|
@@ -2269,7 +2269,7 @@ Returns: Hidden nodes that are resolvable in this pass.
|
|
|
2269
2269
|
|
|
2270
2270
|
### collectLayerOrderingNodeGroups
|
|
2271
2271
|
|
|
2272
|
-
`(network: import("
|
|
2272
|
+
`(network: import("src/architecture/network").default) => import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingNodeGroups`
|
|
2273
2273
|
|
|
2274
2274
|
Partition all network nodes into input/hidden/output groups.
|
|
2275
2275
|
|
|
@@ -2280,7 +2280,7 @@ Returns: Node groups used by layered-ordering inference.
|
|
|
2280
2280
|
|
|
2281
2281
|
### collectUniqueOutgoingConnections
|
|
2282
2282
|
|
|
2283
|
-
`(nodes: import("
|
|
2283
|
+
`(nodes: import("src/architecture/node").default[]) => import("src/architecture/connection").default[]`
|
|
2284
2284
|
|
|
2285
2285
|
Collect unique outgoing connections across a node list.
|
|
2286
2286
|
|
|
@@ -2291,7 +2291,7 @@ Returns: Stable array of unique connections.
|
|
|
2291
2291
|
|
|
2292
2292
|
### createLayerActivationValidationContext
|
|
2293
2293
|
|
|
2294
|
-
`(layerValidationContext: import("
|
|
2294
|
+
`(layerValidationContext: import("src/architecture/network/onnx/network.onnx.utils.types").LayerValidationTraversalContext) => import("src/architecture/network/onnx/network.onnx.utils.types").LayerActivationValidationContext`
|
|
2295
2295
|
|
|
2296
2296
|
Create activation validation context from one layer traversal context.
|
|
2297
2297
|
|
|
@@ -2302,7 +2302,7 @@ Returns: Activation validation context.
|
|
|
2302
2302
|
|
|
2303
2303
|
### ensureLayerWasResolved
|
|
2304
2304
|
|
|
2305
|
-
`(currentLayerNodes: import("
|
|
2305
|
+
`(currentLayerNodes: import("src/architecture/node").default[]) => void`
|
|
2306
2306
|
|
|
2307
2307
|
Ensure current hidden-layer resolution pass produced at least one node.
|
|
2308
2308
|
|
|
@@ -2313,7 +2313,7 @@ Returns: Nothing.
|
|
|
2313
2313
|
|
|
2314
2314
|
### filterNodesByType
|
|
2315
2315
|
|
|
2316
|
-
`(nodes: import("
|
|
2316
|
+
`(nodes: import("src/architecture/node").default[], nodeType: string) => import("src/architecture/node").default[]`
|
|
2317
2317
|
|
|
2318
2318
|
Filter nodes by one expected node type.
|
|
2319
2319
|
|
|
@@ -2325,7 +2325,7 @@ Returns: Matching nodes.
|
|
|
2325
2325
|
|
|
2326
2326
|
### filterUnresolvedHiddenNodes
|
|
2327
2327
|
|
|
2328
|
-
`(context: { remainingHiddenNodes: import("
|
|
2328
|
+
`(context: { remainingHiddenNodes: import("src/architecture/node").default[]; currentLayerNodes: import("src/architecture/node").default[]; }) => import("src/architecture/node").default[]`
|
|
2329
2329
|
|
|
2330
2330
|
Remove just-resolved hidden nodes from unresolved candidates.
|
|
2331
2331
|
|
|
@@ -2336,7 +2336,7 @@ Returns: Hidden nodes still unresolved.
|
|
|
2336
2336
|
|
|
2337
2337
|
### finalizeOrderingWithoutHiddenNodes
|
|
2338
2338
|
|
|
2339
|
-
`(nodeGroups: import("
|
|
2339
|
+
`(nodeGroups: import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingNodeGroups) => import("src/architecture/node").default[][]`
|
|
2340
2340
|
|
|
2341
2341
|
Finalize ordering for networks without hidden layers.
|
|
2342
2342
|
|
|
@@ -2347,7 +2347,7 @@ Returns: Input and output layers only.
|
|
|
2347
2347
|
|
|
2348
2348
|
### finalizeOrderingWithOutputLayer
|
|
2349
2349
|
|
|
2350
|
-
`(context: { orderedLayers: import("
|
|
2350
|
+
`(context: { orderedLayers: import("src/architecture/node").default[][]; outputNodes: import("src/architecture/node").default[]; }) => import("src/architecture/node").default[][]`
|
|
2351
2351
|
|
|
2352
2352
|
Append output layer to resolved input/hidden ordering.
|
|
2353
2353
|
|
|
@@ -2358,7 +2358,7 @@ Returns: Full layer ordering including output layer.
|
|
|
2358
2358
|
|
|
2359
2359
|
### hasAllIncomingConnectionsFromPreviousLayer
|
|
2360
2360
|
|
|
2361
|
-
`(context: { hiddenNode: import("
|
|
2361
|
+
`(context: { hiddenNode: import("src/architecture/node").default; previousLayerNodes: import("src/architecture/node").default[]; }) => boolean`
|
|
2362
2362
|
|
|
2363
2363
|
Check whether a hidden node receives all inputs from the previous layer.
|
|
2364
2364
|
|
|
@@ -2369,7 +2369,7 @@ Returns: True when the hidden node is layer-resolvable.
|
|
|
2369
2369
|
|
|
2370
2370
|
### hasNoHiddenNodes
|
|
2371
2371
|
|
|
2372
|
-
`(nodeGroups: import("
|
|
2372
|
+
`(nodeGroups: import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingNodeGroups) => boolean`
|
|
2373
2373
|
|
|
2374
2374
|
Check whether the layer groups contain no hidden nodes.
|
|
2375
2375
|
|
|
@@ -2380,7 +2380,7 @@ Returns: True when hidden layer traversal can be skipped.
|
|
|
2380
2380
|
|
|
2381
2381
|
### inferLayerOrdering
|
|
2382
2382
|
|
|
2383
|
-
`(network: import("
|
|
2383
|
+
`(network: import("src/architecture/network").default) => import("src/architecture/node").default[][]`
|
|
2384
2384
|
|
|
2385
2385
|
Infer strictly layered ordering from a network.
|
|
2386
2386
|
|
|
@@ -2391,7 +2391,7 @@ Returns: Ordered layers: input, hidden..., output.
|
|
|
2391
2391
|
|
|
2392
2392
|
### initializeLayerOrderingResolutionContext
|
|
2393
2393
|
|
|
2394
|
-
`(nodeGroups: import("
|
|
2394
|
+
`(nodeGroups: import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingNodeGroups) => import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingResolutionContext`
|
|
2395
2395
|
|
|
2396
2396
|
Create initial hidden-layer resolution context.
|
|
2397
2397
|
|
|
@@ -2402,7 +2402,7 @@ Returns: Initial mutable state for hidden-layer resolution.
|
|
|
2402
2402
|
|
|
2403
2403
|
### mapActivationToOnnx
|
|
2404
2404
|
|
|
2405
|
-
`(squash: ((x: number, derivate?: boolean | undefined) => number) & { name?: string | undefined; }) => import("
|
|
2405
|
+
`(squash: ((x: number, derivate?: boolean | undefined) => number) & { name?: string | undefined; }) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxActivationOperation`
|
|
2406
2406
|
|
|
2407
2407
|
Map an internal activation function (squash) to an ONNX op_type.
|
|
2408
2408
|
|
|
@@ -2424,7 +2424,7 @@ Returns: Uppercased activation name or empty string.
|
|
|
2424
2424
|
|
|
2425
2425
|
### rebuildConnectionsLocal
|
|
2426
2426
|
|
|
2427
|
-
`(networkLike: import("
|
|
2427
|
+
`(networkLike: import("src/architecture/network").default) => void`
|
|
2428
2428
|
|
|
2429
2429
|
Rebuild the network's flat connections array from each node's outgoing list.
|
|
2430
2430
|
|
|
@@ -2435,7 +2435,7 @@ Returns: Nothing.
|
|
|
2435
2435
|
|
|
2436
2436
|
### resolveAllHiddenLayers
|
|
2437
2437
|
|
|
2438
|
-
`(initialContext: import("
|
|
2438
|
+
`(initialContext: import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingResolutionContext) => import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingResolutionContext`
|
|
2439
2439
|
|
|
2440
2440
|
Resolve all hidden layers in dependency order.
|
|
2441
2441
|
|
|
@@ -2446,7 +2446,7 @@ Returns: Final resolved layer-ordering context.
|
|
|
2446
2446
|
|
|
2447
2447
|
### resolveNextHiddenLayer
|
|
2448
2448
|
|
|
2449
|
-
`(resolutionContext: import("
|
|
2449
|
+
`(resolutionContext: import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingResolutionContext) => import("src/architecture/network/onnx/network.onnx.utils.types").LayerOrderingResolutionContext`
|
|
2450
2450
|
|
|
2451
2451
|
Resolve the next hidden layer from unresolved candidates.
|
|
2452
2452
|
|
|
@@ -2457,7 +2457,7 @@ Returns: Updated resolution state.
|
|
|
2457
2457
|
|
|
2458
2458
|
### resolveOnnxActivationOperation
|
|
2459
2459
|
|
|
2460
|
-
`(normalizedActivationName: string) => import("
|
|
2460
|
+
`(normalizedActivationName: string) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxActivationOperation`
|
|
2461
2461
|
|
|
2462
2462
|
Resolve ONNX activation op from a normalized activation name token.
|
|
2463
2463
|
|
|
@@ -2468,7 +2468,7 @@ Returns: ONNX activation operation.
|
|
|
2468
2468
|
|
|
2469
2469
|
### validateLayerActivationHomogeneity
|
|
2470
2470
|
|
|
2471
|
-
`(activationValidationContext: import("
|
|
2471
|
+
`(activationValidationContext: import("src/architecture/network/onnx/network.onnx.utils.types").LayerActivationValidationContext) => void`
|
|
2472
2472
|
|
|
2473
2473
|
Validate that a layer has homogeneous activation unless explicitly allowed.
|
|
2474
2474
|
|
|
@@ -2479,7 +2479,7 @@ Returns: Nothing.
|
|
|
2479
2479
|
|
|
2480
2480
|
### validateLayerConnectivity
|
|
2481
2481
|
|
|
2482
|
-
`(layerValidationContext: import("
|
|
2482
|
+
`(layerValidationContext: import("src/architecture/network/onnx/network.onnx.utils.types").LayerValidationTraversalContext) => void`
|
|
2483
2483
|
|
|
2484
2484
|
Validate that each current-layer node has required incoming connectivity.
|
|
2485
2485
|
|
|
@@ -2490,7 +2490,7 @@ Returns: Nothing.
|
|
|
2490
2490
|
|
|
2491
2491
|
### validateLayerHomogeneityAndConnectivity
|
|
2492
2492
|
|
|
2493
|
-
`(layers: import("
|
|
2493
|
+
`(layers: import("src/architecture/node").default[][], network: import("src/architecture/network").default, options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions) => void`
|
|
2494
2494
|
|
|
2495
2495
|
Validate connectivity and activation homogeneity constraints per layer.
|
|
2496
2496
|
|
|
@@ -2503,7 +2503,7 @@ Returns: Nothing.
|
|
|
2503
2503
|
|
|
2504
2504
|
### validateSingleLayer
|
|
2505
2505
|
|
|
2506
|
-
`(layerValidationContext: import("
|
|
2506
|
+
`(layerValidationContext: import("src/architecture/network/onnx/network.onnx.utils.types").LayerValidationTraversalContext) => void`
|
|
2507
2507
|
|
|
2508
2508
|
Validate one current layer against activation/connectivity constraints.
|
|
2509
2509
|
|
|
@@ -2514,7 +2514,7 @@ Returns: Nothing.
|
|
|
2514
2514
|
|
|
2515
2515
|
### validateSourceToTargetConnectivity
|
|
2516
2516
|
|
|
2517
|
-
`(connectivityValidationContext: import("
|
|
2517
|
+
`(connectivityValidationContext: import("src/architecture/network/onnx/network.onnx.utils.types").LayerConnectivityValidationContext) => void`
|
|
2518
2518
|
|
|
2519
2519
|
Validate one source->target connection pair under export constraints.
|
|
2520
2520
|
|
|
@@ -2525,7 +2525,7 @@ Returns: Nothing.
|
|
|
2525
2525
|
|
|
2526
2526
|
### validateTargetNodeConnectivity
|
|
2527
2527
|
|
|
2528
|
-
`(context: { targetNode: import("
|
|
2528
|
+
`(context: { targetNode: import("src/architecture/node").default; previousLayerNodes: import("src/architecture/node").default[]; layerIndex: number; allowPartialConnectivity: boolean; }) => void`
|
|
2529
2529
|
|
|
2530
2530
|
Validate full source coverage for one target node.
|
|
2531
2531
|
|
|
@@ -2536,7 +2536,7 @@ Returns: Nothing.
|
|
|
2536
2536
|
|
|
2537
2537
|
### warnWhenActivationFallbackIsUsed
|
|
2538
2538
|
|
|
2539
|
-
`(context: { squash: ((x: number, derivate?: boolean | undefined) => number) & { name?: string | undefined; }; resolvedActivationOperation: import("
|
|
2539
|
+
`(context: { squash: ((x: number, derivate?: boolean | undefined) => number) & { name?: string | undefined; }; resolvedActivationOperation: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxActivationOperation; }) => void`
|
|
2540
2540
|
|
|
2541
2541
|
Emit a warning when activation export falls back to Identity.
|
|
2542
2542
|
|
|
@@ -2557,7 +2557,7 @@ Returns: Gemm attribute payload list.
|
|
|
2557
2557
|
|
|
2558
2558
|
### buildInputBranchGemmEmissionContext
|
|
2559
2559
|
|
|
2560
|
-
`(context: import("
|
|
2560
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentLayerEmissionContext, initializerNames: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentInitializerNames, graphNames: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGraphNames) => import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGemmEmissionContext`
|
|
2561
2561
|
|
|
2562
2562
|
Build Gemm emission context for the feed-forward branch.
|
|
2563
2563
|
|
|
@@ -2570,7 +2570,7 @@ Returns: Gemm emission context.
|
|
|
2570
2570
|
|
|
2571
2571
|
### buildRecurrentBranchGemmEmissionContext
|
|
2572
2572
|
|
|
2573
|
-
`(context: import("
|
|
2573
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentLayerEmissionContext, initializerNames: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentInitializerNames, graphNames: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGraphNames) => import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGemmEmissionContext`
|
|
2574
2574
|
|
|
2575
2575
|
Build Gemm emission context for the recurrent hidden-state branch.
|
|
2576
2576
|
|
|
@@ -2583,7 +2583,7 @@ Returns: Gemm emission context.
|
|
|
2583
2583
|
|
|
2584
2584
|
### buildRecurrentGraphNames
|
|
2585
2585
|
|
|
2586
|
-
`(context: import("
|
|
2586
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentLayerEmissionContext) => import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGraphNames`
|
|
2587
2587
|
|
|
2588
2588
|
Build deterministic graph names for recurrent-node emission.
|
|
2589
2589
|
|
|
@@ -2594,7 +2594,7 @@ Returns: Graph-name group for branch and activation nodes.
|
|
|
2594
2594
|
|
|
2595
2595
|
### buildRecurrentInitializerNames
|
|
2596
2596
|
|
|
2597
|
-
`(context: import("
|
|
2597
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentLayerEmissionContext) => import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentInitializerNames`
|
|
2598
2598
|
|
|
2599
2599
|
Build deterministic tensor names for recurrent initializer emission.
|
|
2600
2600
|
|
|
@@ -2605,7 +2605,7 @@ Returns: Tensor-name group for initializer emission.
|
|
|
2605
2605
|
|
|
2606
2606
|
### buildRecurrentLayerEmissionContext
|
|
2607
2607
|
|
|
2608
|
-
`(params: import("
|
|
2608
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentLayerEmissionParams) => import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentLayerEmissionContext`
|
|
2609
2609
|
|
|
2610
2610
|
Build derived recurrent-layer context from input params.
|
|
2611
2611
|
|
|
@@ -2616,7 +2616,7 @@ Returns: Derived context with cached dimensions and layer slot.
|
|
|
2616
2616
|
|
|
2617
2617
|
### collectRecurrentInitializerValues
|
|
2618
2618
|
|
|
2619
|
-
`(context: import("
|
|
2619
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentLayerEmissionContext) => import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentInitializerValues`
|
|
2620
2620
|
|
|
2621
2621
|
Collect recurrent initializer vectors for one layer.
|
|
2622
2622
|
|
|
@@ -2627,7 +2627,7 @@ Returns: Dense and recurrent initializer vectors.
|
|
|
2627
2627
|
|
|
2628
2628
|
### emitRecurrentActivationNode
|
|
2629
2629
|
|
|
2630
|
-
`(context: import("
|
|
2630
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentActivationEmissionContext) => void`
|
|
2631
2631
|
|
|
2632
2632
|
Emit activation node for recurrent branch sum output.
|
|
2633
2633
|
|
|
@@ -2638,7 +2638,7 @@ Returns: Nothing.
|
|
|
2638
2638
|
|
|
2639
2639
|
### emitRecurrentAddNode
|
|
2640
2640
|
|
|
2641
|
-
`(model: import("
|
|
2641
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, graphNames: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGraphNames) => void`
|
|
2642
2642
|
|
|
2643
2643
|
Emit Add node that fuses feed-forward and recurrent branch outputs.
|
|
2644
2644
|
|
|
@@ -2650,7 +2650,7 @@ Returns: Nothing.
|
|
|
2650
2650
|
|
|
2651
2651
|
### emitRecurrentGemmNode
|
|
2652
2652
|
|
|
2653
|
-
`(context: import("
|
|
2653
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGemmEmissionContext) => void`
|
|
2654
2654
|
|
|
2655
2655
|
Emit one recurrent Gemm node with shared ONNX attributes.
|
|
2656
2656
|
|
|
@@ -2661,7 +2661,7 @@ Returns: Nothing.
|
|
|
2661
2661
|
|
|
2662
2662
|
### emitRecurrentInitializers
|
|
2663
2663
|
|
|
2664
|
-
`(context: import("
|
|
2664
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentInitializerEmissionContext) => void`
|
|
2665
2665
|
|
|
2666
2666
|
Emit dense and recurrent initializer tensors.
|
|
2667
2667
|
|
|
@@ -2672,7 +2672,7 @@ Returns: Nothing.
|
|
|
2672
2672
|
|
|
2673
2673
|
### emitRecurrentLayer
|
|
2674
2674
|
|
|
2675
|
-
`(params: import("
|
|
2675
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentLayerEmissionParams) => string`
|
|
2676
2676
|
|
|
2677
2677
|
Emit recurrent single-step layer representation.
|
|
2678
2678
|
|
|
@@ -2683,7 +2683,7 @@ Returns: Output tensor name.
|
|
|
2683
2683
|
|
|
2684
2684
|
### readNodeInternals
|
|
2685
2685
|
|
|
2686
|
-
`(node: import("
|
|
2686
|
+
`(node: import("src/architecture/node").default) => import("src/architecture/network/onnx/network.onnx.utils.types").NodeInternals`
|
|
2687
2687
|
|
|
2688
2688
|
Normalize runtime node shape to recurrent-export internals contract.
|
|
2689
2689
|
|
|
@@ -2705,7 +2705,7 @@ Returns: Hidden-state tensor input name.
|
|
|
2705
2705
|
|
|
2706
2706
|
### resolveRecurrentActivationType
|
|
2707
2707
|
|
|
2708
|
-
`(currentLayerNodes: import("
|
|
2708
|
+
`(currentLayerNodes: import("src/architecture/node").default[]) => string`
|
|
2709
2709
|
|
|
2710
2710
|
Resolve ONNX activation type from first node in recurrent layer.
|
|
2711
2711
|
|
|
@@ -2718,7 +2718,7 @@ Returns: ONNX activation op type.
|
|
|
2718
2718
|
|
|
2719
2719
|
### emitLayerGraph
|
|
2720
2720
|
|
|
2721
|
-
`(context: import("
|
|
2721
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").LayerBuildContext) => string`
|
|
2722
2722
|
|
|
2723
2723
|
Emit one export layer graph segment and return the produced output tensor name.
|
|
2724
2724
|
|
|
@@ -2731,181 +2731,181 @@ Returns: Output tensor name produced by this layer.
|
|
|
2731
2731
|
|
|
2732
2732
|
### appendConvLayerValidationResult
|
|
2733
2733
|
|
|
2734
|
-
`(result: import("
|
|
2734
|
+
`(result: import("src/architecture/network/onnx/network.onnx.utils.types").ConvSharingValidationResult, layerIndex: number, isConsistent: boolean) => void`
|
|
2735
2735
|
|
|
2736
2736
|
Append one Conv-layer validation outcome and optional warning.
|
|
2737
2737
|
|
|
2738
2738
|
### appendConvSharingMetadata
|
|
2739
2739
|
|
|
2740
|
-
`(model: import("
|
|
2740
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, result: import("src/architecture/network/onnx/network.onnx.utils.types").ConvSharingValidationResult) => void`
|
|
2741
2741
|
|
|
2742
2742
|
Append Conv-sharing validation metadata arrays.
|
|
2743
2743
|
|
|
2744
2744
|
### appendFusedRecurrentInitializers
|
|
2745
2745
|
|
|
2746
|
-
`(model: import("
|
|
2746
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, initializerNames: import("src/architecture/network/onnx/network.onnx.utils.types").FusedRecurrentInitializerNames, parameters: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGateParameterCollectionResult, gateCount: number, unitSize: number, previousSize: number) => void`
|
|
2747
2747
|
|
|
2748
2748
|
Append fused recurrent initializer tensors to the ONNX graph.
|
|
2749
2749
|
|
|
2750
2750
|
### appendFusedRecurrentNode
|
|
2751
2751
|
|
|
2752
|
-
`(graph: import("
|
|
2752
|
+
`(graph: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxGraph, operatorType: "LSTM" | "GRU", previousOutputName: string, initializerNames: import("src/architecture/network/onnx/network.onnx.utils.types").FusedRecurrentInitializerNames, graphNames: import("src/architecture/network/onnx/network.onnx.utils.types").FusedRecurrentGraphNames, unitSize: number) => void`
|
|
2753
2753
|
|
|
2754
2754
|
Append fused recurrent operator node to the ONNX graph.
|
|
2755
2755
|
|
|
2756
2756
|
### appendIndexMetadata
|
|
2757
2757
|
|
|
2758
|
-
`(model: import("
|
|
2758
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, key: string, layerIndex: number) => void`
|
|
2759
2759
|
|
|
2760
2760
|
Append a unique layer index to metadata array key.
|
|
2761
2761
|
|
|
2762
2762
|
### appendMetadataProperty
|
|
2763
2763
|
|
|
2764
|
-
`(model: import("
|
|
2764
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, metadataProperty: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty) => void`
|
|
2765
2765
|
|
|
2766
2766
|
Append metadata property to model metadata_props list.
|
|
2767
2767
|
|
|
2768
2768
|
### appendRecurrentSingleStepMetadata
|
|
2769
2769
|
|
|
2770
|
-
`(model: import("
|
|
2770
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, recurrentLayerIndices: number[]) => void`
|
|
2771
2771
|
|
|
2772
2772
|
Append recurrent single-step metadata when recurrent layers exist.
|
|
2773
2773
|
|
|
2774
2774
|
### areWeightsWithinTolerance
|
|
2775
2775
|
|
|
2776
|
-
`(context: import("
|
|
2776
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").WeightToleranceComparisonContext) => boolean`
|
|
2777
2777
|
|
|
2778
2778
|
Compare two scalar weights using configured tolerance.
|
|
2779
2779
|
|
|
2780
2780
|
### asNodeInternals
|
|
2781
2781
|
|
|
2782
|
-
`(node: import("
|
|
2782
|
+
`(node: import("src/architecture/node").default) => import("src/architecture/network/onnx/network.onnx.utils.types").NodeInternals`
|
|
2783
2783
|
|
|
2784
2784
|
Resolve runtime node internals in one typed helper.
|
|
2785
2785
|
|
|
2786
2786
|
### buildFusedGruExecutionContext
|
|
2787
2787
|
|
|
2788
|
-
`(context: import("
|
|
2788
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").GruEmissionContext) => import("src/architecture/network/onnx/network.onnx.utils.types").FusedRecurrentEmissionExecutionContext`
|
|
2789
2789
|
|
|
2790
2790
|
Build shared fused-recurrent execution context for GRU.
|
|
2791
2791
|
|
|
2792
2792
|
### buildFusedLstmExecutionContext
|
|
2793
2793
|
|
|
2794
|
-
`(context: import("
|
|
2794
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").LstmEmissionContext) => import("src/architecture/network/onnx/network.onnx.utils.types").FusedRecurrentEmissionExecutionContext`
|
|
2795
2795
|
|
|
2796
2796
|
Build shared fused-recurrent execution context for LSTM.
|
|
2797
2797
|
|
|
2798
2798
|
### buildFusedRecurrentGraphNames
|
|
2799
2799
|
|
|
2800
|
-
`(nodePrefix: string, outputSuffix: string, layerIndex: number) => import("
|
|
2800
|
+
`(nodePrefix: string, outputSuffix: string, layerIndex: number) => import("src/architecture/network/onnx/network.onnx.utils.types").FusedRecurrentGraphNames`
|
|
2801
2801
|
|
|
2802
2802
|
Build fused recurrent graph names for node and output.
|
|
2803
2803
|
|
|
2804
2804
|
### buildFusedRecurrentInitializerNames
|
|
2805
2805
|
|
|
2806
|
-
`(operatorType: "LSTM" | "GRU", layerIndex: number) => import("
|
|
2806
|
+
`(operatorType: "LSTM" | "GRU", layerIndex: number) => import("src/architecture/network/onnx/network.onnx.utils.types").FusedRecurrentInitializerNames`
|
|
2807
2807
|
|
|
2808
2808
|
Build fused recurrent initializer names for the current layer.
|
|
2809
2809
|
|
|
2810
2810
|
### buildGruEmissionContext
|
|
2811
2811
|
|
|
2812
|
-
`(context: import("
|
|
2812
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").HiddenLayerHeuristicContext) => import("src/architecture/network/onnx/network.onnx.utils.types").GruEmissionContext`
|
|
2813
2813
|
|
|
2814
2814
|
Build GRU emission context from one hidden-layer traversal record.
|
|
2815
2815
|
|
|
2816
2816
|
### buildHiddenLayerHeuristicContext
|
|
2817
2817
|
|
|
2818
|
-
`(context: import("
|
|
2818
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentHeuristicEmissionContext, layerIndex: number) => import("src/architecture/network/onnx/network.onnx.utils.types").HiddenLayerHeuristicContext`
|
|
2819
2819
|
|
|
2820
2820
|
Build one hidden-layer traversal context.
|
|
2821
2821
|
|
|
2822
2822
|
### buildLstmEmissionContext
|
|
2823
2823
|
|
|
2824
|
-
`(context: import("
|
|
2824
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").HiddenLayerHeuristicContext) => import("src/architecture/network/onnx/network.onnx.utils.types").LstmEmissionContext`
|
|
2825
2825
|
|
|
2826
2826
|
Build LSTM emission context from one hidden-layer traversal record.
|
|
2827
2827
|
|
|
2828
2828
|
### buildMetadataProperty
|
|
2829
2829
|
|
|
2830
|
-
`(key: string, value: unknown) => import("
|
|
2830
|
+
`(key: string, value: unknown) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty`
|
|
2831
2831
|
|
|
2832
2832
|
Build a metadata key/value property with JSON string serialization.
|
|
2833
2833
|
|
|
2834
2834
|
### buildRecurrentHeuristicEmissionContext
|
|
2835
2835
|
|
|
2836
|
-
`(model: import("
|
|
2836
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, layers: import("src/architecture/node").default[][], previousOutputName: string) => import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentHeuristicEmissionContext`
|
|
2837
2837
|
|
|
2838
2838
|
Build reusable context for recurrent heuristic traversal.
|
|
2839
2839
|
|
|
2840
2840
|
### collectConvKernelCoordinates
|
|
2841
2841
|
|
|
2842
|
-
`(convSpec: import("
|
|
2842
|
+
`(convSpec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxConvKernelCoordinate[]`
|
|
2843
2843
|
|
|
2844
2844
|
Collect kernel coordinates for one Conv kernel traversal.
|
|
2845
2845
|
|
|
2846
2846
|
### collectConvOutputCoordinates
|
|
2847
2847
|
|
|
2848
|
-
`(convSpec: import("
|
|
2848
|
+
`(convSpec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping) => import("src/architecture/network/onnx/network.onnx.utils.types").ConvOutputCoordinate[]`
|
|
2849
2849
|
|
|
2850
2850
|
Collect output coordinates for full Conv traversal.
|
|
2851
2851
|
|
|
2852
2852
|
### collectGruGateNodeGroups
|
|
2853
2853
|
|
|
2854
|
-
`(context: import("
|
|
2854
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").GruEmissionContext) => import("src/architecture/node").default[][]`
|
|
2855
2855
|
|
|
2856
2856
|
Collect GRU gate node groups in canonical export order.
|
|
2857
2857
|
|
|
2858
2858
|
### collectHiddenLayerIndices
|
|
2859
2859
|
|
|
2860
|
-
`(layers: import("
|
|
2860
|
+
`(layers: import("src/architecture/node").default[][]) => number[]`
|
|
2861
2861
|
|
|
2862
2862
|
Collect hidden-layer indices for recurrent traversal.
|
|
2863
2863
|
|
|
2864
2864
|
### collectLstmGateNodeGroups
|
|
2865
2865
|
|
|
2866
|
-
`(context: import("
|
|
2866
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").LstmEmissionContext) => import("src/architecture/node").default[][]`
|
|
2867
2867
|
|
|
2868
2868
|
Collect LSTM gate node groups in canonical export order.
|
|
2869
2869
|
|
|
2870
2870
|
### collectRecurrentGateBlockParameters
|
|
2871
2871
|
|
|
2872
|
-
`(context: import("
|
|
2872
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGateBlockCollectionContext) => import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGateParameterCollectionResult`
|
|
2873
2873
|
|
|
2874
2874
|
Collect flattened parameter vectors for one gate node block.
|
|
2875
2875
|
|
|
2876
2876
|
### collectRecurrentGateRow
|
|
2877
2877
|
|
|
2878
|
-
`(context: import("
|
|
2878
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGateRowCollectionContext) => import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGateRow`
|
|
2879
2879
|
|
|
2880
2880
|
Collect one recurrent gate row payload (inputs, recurrent slice, and bias).
|
|
2881
2881
|
|
|
2882
2882
|
### collectRepresentativeKernelForChannel
|
|
2883
2883
|
|
|
2884
|
-
`(context: import("
|
|
2884
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").ConvRepresentativeKernelContext) => number[]`
|
|
2885
2885
|
|
|
2886
2886
|
Collect one representative kernel by reading the first output position for a channel.
|
|
2887
2887
|
|
|
2888
2888
|
### collectRepresentativeKernels
|
|
2889
2889
|
|
|
2890
|
-
`(context: import("
|
|
2890
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").ConvLayerPairContext) => number[][]`
|
|
2891
2891
|
|
|
2892
2892
|
Collect representative kernels for each output channel.
|
|
2893
2893
|
|
|
2894
2894
|
### collectRepresentativeKernelWeight
|
|
2895
2895
|
|
|
2896
|
-
`(convSpec: import("
|
|
2896
|
+
`(convSpec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping, previousLayerNodes: import("src/architecture/node").default[], representativeInternal: import("src/architecture/network/onnx/network.onnx.utils.types").NodeInternals, kernelCoordinate: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxConvKernelCoordinate) => number`
|
|
2897
2897
|
|
|
2898
2898
|
Collect representative kernel value using top-left receptive field indexing.
|
|
2899
2899
|
|
|
2900
2900
|
### emitFallbackRecurrentPatternMetadata
|
|
2901
2901
|
|
|
2902
|
-
`(context: import("
|
|
2902
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").HiddenLayerHeuristicContext) => void`
|
|
2903
2903
|
|
|
2904
2904
|
Emit fallback metadata for recurrent-size ambiguity.
|
|
2905
2905
|
|
|
2906
2906
|
### emitFusedRecurrentHeuristics
|
|
2907
2907
|
|
|
2908
|
-
`(model: import("
|
|
2908
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, layers: import("src/architecture/node").default[][], allowRecurrent: boolean | undefined, previousOutputName: string) => void`
|
|
2909
2909
|
|
|
2910
2910
|
Emit heuristic fused recurrent operators (LSTM/GRU) when recurrent export is enabled.
|
|
2911
2911
|
|
|
@@ -2919,19 +2919,19 @@ Returns: Nothing.
|
|
|
2919
2919
|
|
|
2920
2920
|
### emitFusedRecurrentLayer
|
|
2921
2921
|
|
|
2922
|
-
`(context: import("
|
|
2922
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").FusedRecurrentEmissionExecutionContext) => void`
|
|
2923
2923
|
|
|
2924
2924
|
Emit shared fused recurrent payload (initializers, node, metadata).
|
|
2925
2925
|
|
|
2926
2926
|
### ensureMetadataProps
|
|
2927
2927
|
|
|
2928
|
-
`(model: import("
|
|
2928
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[]`
|
|
2929
2929
|
|
|
2930
2930
|
Ensure metadata_props array exists and return it.
|
|
2931
2931
|
|
|
2932
2932
|
### finalizeExportMetadata
|
|
2933
2933
|
|
|
2934
|
-
`(model: import("
|
|
2934
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, layers: import("src/architecture/node").default[][], options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions, includeMetadata: boolean, hiddenSizesMetadata: number[], recurrentLayerIndices: number[]) => void`
|
|
2935
2935
|
|
|
2936
2936
|
Finalize export metadata and optional conv-sharing validation.
|
|
2937
2937
|
|
|
@@ -2947,25 +2947,25 @@ Returns: Nothing.
|
|
|
2947
2947
|
|
|
2948
2948
|
### findMetadataPropertyIndex
|
|
2949
2949
|
|
|
2950
|
-
`(metadataProperties: import("
|
|
2950
|
+
`(metadataProperties: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[], key: string) => number`
|
|
2951
2951
|
|
|
2952
2952
|
Find metadata property index by key.
|
|
2953
2953
|
|
|
2954
2954
|
### foldRecurrentGateBlocks
|
|
2955
2955
|
|
|
2956
|
-
`(gateParameterBlocks: import("
|
|
2956
|
+
`(gateParameterBlocks: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGateParameterCollectionResult[]) => import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGateParameterCollectionResult`
|
|
2957
2957
|
|
|
2958
2958
|
Fold gate blocks into a single fused parameter payload.
|
|
2959
2959
|
|
|
2960
2960
|
### foldRecurrentGateRows
|
|
2961
2961
|
|
|
2962
|
-
`(gateRows: import("
|
|
2962
|
+
`(gateRows: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGateRow[]) => import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGateParameterCollectionResult`
|
|
2963
2963
|
|
|
2964
2964
|
Fold recurrent gate rows into flattened ONNX initializer vectors.
|
|
2965
2965
|
|
|
2966
2966
|
### isConvLayerPairConsistent
|
|
2967
2967
|
|
|
2968
|
-
`(context: import("
|
|
2968
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").ConvLayerPairContext) => boolean`
|
|
2969
2969
|
|
|
2970
2970
|
Validate one Conv layer pair against representative kernel sharing.
|
|
2971
2971
|
|
|
@@ -2989,19 +2989,19 @@ Check whether hidden size should emit recurrent fallback metadata.
|
|
|
2989
2989
|
|
|
2990
2990
|
### isInputPositionInsideBounds
|
|
2991
2991
|
|
|
2992
|
-
`(convSpec: import("
|
|
2992
|
+
`(convSpec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping, inputRow: number, inputColumn: number) => boolean`
|
|
2993
2993
|
|
|
2994
2994
|
Check whether input row/column falls inside Conv input bounds.
|
|
2995
2995
|
|
|
2996
2996
|
### isKernelCoordinateConsistent
|
|
2997
2997
|
|
|
2998
|
-
`(context: import("
|
|
2998
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").ConvKernelConsistencyContext) => boolean`
|
|
2999
2999
|
|
|
3000
3000
|
Validate one kernel coordinate against its representative channel value.
|
|
3001
3001
|
|
|
3002
3002
|
### isOutputCoordinateConsistent
|
|
3003
3003
|
|
|
3004
|
-
`(context: import("
|
|
3004
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").ConvLayerPairContext, outputCoordinate: import("src/architecture/network/onnx/network.onnx.utils.types").ConvOutputCoordinate, representativeKernels: number[][], tolerance: number) => boolean`
|
|
3005
3005
|
|
|
3006
3006
|
Validate one output coordinate against channel representative kernel weights.
|
|
3007
3007
|
|
|
@@ -3013,7 +3013,7 @@ Parse metadata JSON value into a numeric layer-index array.
|
|
|
3013
3013
|
|
|
3014
3014
|
### resolveConvLayerPairContext
|
|
3015
3015
|
|
|
3016
|
-
`(layers: import("
|
|
3016
|
+
`(layers: import("src/architecture/node").default[][], layerIndex: number, convSpec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping) => import("src/architecture/network/onnx/network.onnx.utils.types").ConvLayerPairContext | undefined`
|
|
3017
3017
|
|
|
3018
3018
|
Resolve one Conv mapping layer pair or return undefined for invalid layout.
|
|
3019
3019
|
|
|
@@ -3025,67 +3025,67 @@ Resolve previous output naming semantics for GRU heuristic emission.
|
|
|
3025
3025
|
|
|
3026
3026
|
### resolveIncomingWeight
|
|
3027
3027
|
|
|
3028
|
-
`(targetNodeInternal: import("
|
|
3028
|
+
`(targetNodeInternal: import("src/architecture/network/onnx/network.onnx.utils.types").NodeInternals, sourceNode: import("src/architecture/node").default) => number`
|
|
3029
3029
|
|
|
3030
3030
|
Resolve incoming connection weight from a specific source node.
|
|
3031
3031
|
|
|
3032
3032
|
### resolveInputPosition
|
|
3033
3033
|
|
|
3034
|
-
`(context: import("
|
|
3034
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").ConvKernelConsistencyContext) => { inputRow: number; inputColumn: number; }`
|
|
3035
3035
|
|
|
3036
3036
|
Resolve input row/column projected by output and kernel coordinates.
|
|
3037
3037
|
|
|
3038
3038
|
### resolveNeuronInternalAtOutputCoordinate
|
|
3039
3039
|
|
|
3040
|
-
`(context: import("
|
|
3040
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").ConvLayerPairContext, outputCoordinate: import("src/architecture/network/onnx/network.onnx.utils.types").ConvOutputCoordinate) => import("src/architecture/network/onnx/network.onnx.utils.types").NodeInternals | undefined`
|
|
3041
3041
|
|
|
3042
3042
|
Resolve runtime internals for output coordinate neuron, if present.
|
|
3043
3043
|
|
|
3044
3044
|
### resolveRecurrentRowWeight
|
|
3045
3045
|
|
|
3046
|
-
`(context: import("
|
|
3046
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentGateRowCollectionContext, columnIndex: number) => number`
|
|
3047
3047
|
|
|
3048
3048
|
Resolve one recurrent row value at the requested column.
|
|
3049
3049
|
|
|
3050
3050
|
### resolveSelfConnectionWeight
|
|
3051
3051
|
|
|
3052
|
-
`(targetNodeInternal: import("
|
|
3052
|
+
`(targetNodeInternal: import("src/architecture/network/onnx/network.onnx.utils.types").NodeInternals) => number`
|
|
3053
3053
|
|
|
3054
3054
|
Resolve self-connection weight for diagonal recurrent matrix entries.
|
|
3055
3055
|
|
|
3056
3056
|
### resolveSourceNodeAtInputPosition
|
|
3057
3057
|
|
|
3058
|
-
`(convSpec: import("
|
|
3058
|
+
`(convSpec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping, previousLayerNodes: import("src/architecture/node").default[], inChannelIndex: number, inputRow: number, inputColumn: number) => import("src/architecture/node").default | undefined`
|
|
3059
3059
|
|
|
3060
3060
|
Resolve source node by Conv input position coordinates.
|
|
3061
3061
|
|
|
3062
3062
|
### shouldValidateConvSharing
|
|
3063
3063
|
|
|
3064
|
-
`(options: import("
|
|
3064
|
+
`(options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions) => boolean`
|
|
3065
3065
|
|
|
3066
3066
|
Determine whether Conv2D sharing validation is enabled and configured.
|
|
3067
3067
|
|
|
3068
3068
|
### tryEmitFusedGru
|
|
3069
3069
|
|
|
3070
|
-
`(context: import("
|
|
3070
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").HiddenLayerHeuristicContext) => void`
|
|
3071
3071
|
|
|
3072
3072
|
Try emitting heuristic fused GRU node and metadata.
|
|
3073
3073
|
|
|
3074
3074
|
### tryEmitFusedLstm
|
|
3075
3075
|
|
|
3076
|
-
`(context: import("
|
|
3076
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").HiddenLayerHeuristicContext) => void`
|
|
3077
3077
|
|
|
3078
3078
|
Try emitting heuristic fused LSTM node and metadata.
|
|
3079
3079
|
|
|
3080
3080
|
### upsertLayerIndexMetadataValue
|
|
3081
3081
|
|
|
3082
|
-
`(metadataProperties: import("
|
|
3082
|
+
`(metadataProperties: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[], metadataIndex: number, layerIndex: number) => void`
|
|
3083
3083
|
|
|
3084
3084
|
Upsert one layer index into metadata array-like JSON value.
|
|
3085
3085
|
|
|
3086
3086
|
### validateConvSharingAcrossMappings
|
|
3087
3087
|
|
|
3088
|
-
`(context: import("
|
|
3088
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").ConvSharingValidationContext) => import("src/architecture/network/onnx/network.onnx.utils.types").ConvSharingValidationResult`
|
|
3089
3089
|
|
|
3090
3090
|
Validate Conv2D sharing across all declared Conv mappings.
|
|
3091
3091
|
|
|
@@ -3093,7 +3093,7 @@ Validate Conv2D sharing across all declared Conv mappings.
|
|
|
3093
3093
|
|
|
3094
3094
|
### assignActivationFunctions
|
|
3095
3095
|
|
|
3096
|
-
`(network: import("
|
|
3096
|
+
`(network: import("src/architecture/network").default, onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, hiddenLayerSizes: number[]) => void`
|
|
3097
3097
|
|
|
3098
3098
|
Assign node activation functions from ONNX activation nodes.
|
|
3099
3099
|
|
|
@@ -3108,7 +3108,7 @@ Returns: Nothing.
|
|
|
3108
3108
|
|
|
3109
3109
|
### appendIndexedMetadata
|
|
3110
3110
|
|
|
3111
|
-
`(model: import("
|
|
3111
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, key: string, layerIndex: number) => void`
|
|
3112
3112
|
|
|
3113
3113
|
Append an integer index to JSON-array metadata key.
|
|
3114
3114
|
|
|
@@ -3121,7 +3121,7 @@ Returns: Nothing.
|
|
|
3121
3121
|
|
|
3122
3122
|
### appendMetadataSpec
|
|
3123
3123
|
|
|
3124
|
-
`(model: import("
|
|
3124
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, key: string, spec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping | import("src/architecture/network/onnx/network.onnx.utils.types").Pool2DMapping) => void`
|
|
3125
3125
|
|
|
3126
3126
|
Append a JSON object to JSON-array metadata key.
|
|
3127
3127
|
|
|
@@ -3134,7 +3134,7 @@ Returns: Nothing.
|
|
|
3134
3134
|
|
|
3135
3135
|
### appendPoolingMetadata
|
|
3136
3136
|
|
|
3137
|
-
`(context: import("
|
|
3137
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").PoolingEmissionContext) => void`
|
|
3138
3138
|
|
|
3139
3139
|
Append pooling metadata for one emitted pooling layer.
|
|
3140
3140
|
|
|
@@ -3145,7 +3145,7 @@ Returns: Nothing.
|
|
|
3145
3145
|
|
|
3146
3146
|
### asNodeInternals
|
|
3147
3147
|
|
|
3148
|
-
`(node: import("
|
|
3148
|
+
`(node: import("src/architecture/node").default) => import("src/architecture/network/onnx/network.onnx.utils.types").NodeInternals`
|
|
3149
3149
|
|
|
3150
3150
|
Normalize a public node instance into ONNX export internals.
|
|
3151
3151
|
|
|
@@ -3156,7 +3156,7 @@ Returns: Internal runtime-facing node representation.
|
|
|
3156
3156
|
|
|
3157
3157
|
### buildDenseWeightsAndBiases
|
|
3158
3158
|
|
|
3159
|
-
`(previousLayerNodes: import("
|
|
3159
|
+
`(previousLayerNodes: import("src/architecture/node").default[], currentLayerNodes: import("src/architecture/node").default[]) => import("src/architecture/network/onnx/network.onnx.utils.types").DenseWeightBuildResult`
|
|
3160
3160
|
|
|
3161
3161
|
Build dense-layer weight matrix and bias vector.
|
|
3162
3162
|
|
|
@@ -3168,7 +3168,7 @@ Returns: Flattened row-major weight matrix and bias vector.
|
|
|
3168
3168
|
|
|
3169
3169
|
### buildDiagonalRecurrentWeights
|
|
3170
3170
|
|
|
3171
|
-
`(currentLayerNodes: import("
|
|
3171
|
+
`(currentLayerNodes: import("src/architecture/node").default[]) => number[]`
|
|
3172
3172
|
|
|
3173
3173
|
Build a diagonal recurrent matrix from self-connections.
|
|
3174
3174
|
|
|
@@ -3179,7 +3179,7 @@ Returns: Flattened row-major recurrent matrix.
|
|
|
3179
3179
|
|
|
3180
3180
|
### buildIndexedMetadataProperty
|
|
3181
3181
|
|
|
3182
|
-
`(key: string, layerIndex: number) => import("
|
|
3182
|
+
`(key: string, layerIndex: number) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty`
|
|
3183
3183
|
|
|
3184
3184
|
Build a new index-array metadata property.
|
|
3185
3185
|
|
|
@@ -3191,7 +3191,7 @@ Returns: Metadata property.
|
|
|
3191
3191
|
|
|
3192
3192
|
### buildSpecMetadataProperty
|
|
3193
3193
|
|
|
3194
|
-
`(key: string, spec: import("
|
|
3194
|
+
`(key: string, spec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping | import("src/architecture/network/onnx/network.onnx.utils.types").Pool2DMapping) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty`
|
|
3195
3195
|
|
|
3196
3196
|
Build a new spec-array metadata property.
|
|
3197
3197
|
|
|
@@ -3203,7 +3203,7 @@ Returns: Metadata property.
|
|
|
3203
3203
|
|
|
3204
3204
|
### collectDenseRows
|
|
3205
3205
|
|
|
3206
|
-
`(context: import("
|
|
3206
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").DenseWeightBuildContext) => import("src/architecture/network/onnx/network.onnx.utils.types").DenseWeightRow[]`
|
|
3207
3207
|
|
|
3208
3208
|
Collect dense rows for each target node in current layer.
|
|
3209
3209
|
|
|
@@ -3214,7 +3214,7 @@ Returns: Dense rows containing per-target weights and bias.
|
|
|
3214
3214
|
|
|
3215
3215
|
### collectDenseRowWeights
|
|
3216
3216
|
|
|
3217
|
-
`(context: import("
|
|
3217
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").DenseWeightRowCollectionContext) => number[]`
|
|
3218
3218
|
|
|
3219
3219
|
Collect source-to-target weights for one dense row.
|
|
3220
3220
|
|
|
@@ -3225,7 +3225,7 @@ Returns: Row weights in source-node order.
|
|
|
3225
3225
|
|
|
3226
3226
|
### collectPoolingAttributes
|
|
3227
3227
|
|
|
3228
|
-
`(poolSpec: import("
|
|
3228
|
+
`(poolSpec: import("src/architecture/network/onnx/network.onnx.utils.types").Pool2DMapping) => import("src/architecture/network/onnx/network.onnx.utils.types").PoolingAttributes`
|
|
3229
3229
|
|
|
3230
3230
|
Collect ONNX pooling attributes from one pooling spec.
|
|
3231
3231
|
|
|
@@ -3236,7 +3236,7 @@ Returns: Pooling attributes for ONNX node payload.
|
|
|
3236
3236
|
|
|
3237
3237
|
### collectRecurrentRow
|
|
3238
3238
|
|
|
3239
|
-
`(context: import("
|
|
3239
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentRowCollectionContext) => number[]`
|
|
3240
3240
|
|
|
3241
3241
|
Collect one recurrent matrix row.
|
|
3242
3242
|
|
|
@@ -3247,7 +3247,7 @@ Returns: Recurrent row values.
|
|
|
3247
3247
|
|
|
3248
3248
|
### collectRecurrentRows
|
|
3249
3249
|
|
|
3250
|
-
`(context: import("
|
|
3250
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").DiagonalRecurrentBuildContext) => number[][]`
|
|
3251
3251
|
|
|
3252
3252
|
Collect recurrent matrix rows for one layer.
|
|
3253
3253
|
|
|
@@ -3258,7 +3258,7 @@ Returns: Recurrent row collection.
|
|
|
3258
3258
|
|
|
3259
3259
|
### emitOptionalFlattenAfterPooling
|
|
3260
3260
|
|
|
3261
|
-
`(context: import("
|
|
3261
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").FlattenAfterPoolingContext) => string`
|
|
3262
3262
|
|
|
3263
3263
|
Conditionally emit flatten node after pooling.
|
|
3264
3264
|
|
|
@@ -3269,7 +3269,7 @@ Returns: Output tensor name after optional flatten.
|
|
|
3269
3269
|
|
|
3270
3270
|
### emitOptionalPoolingAndFlatten
|
|
3271
3271
|
|
|
3272
|
-
`(params: import("
|
|
3272
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").OptionalPoolingAndFlattenParams) => string`
|
|
3273
3273
|
|
|
3274
3274
|
Emit optional pooling and flatten nodes after a layer output.
|
|
3275
3275
|
|
|
@@ -3280,7 +3280,7 @@ Returns: Final output tensor name after optional pooling/flatten.
|
|
|
3280
3280
|
|
|
3281
3281
|
### emitPoolingNode
|
|
3282
3282
|
|
|
3283
|
-
`(context: import("
|
|
3283
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").PoolingEmissionContext) => string`
|
|
3284
3284
|
|
|
3285
3285
|
Emit one pooling node and return its output tensor name.
|
|
3286
3286
|
|
|
@@ -3291,7 +3291,7 @@ Returns: Pooling output tensor name.
|
|
|
3291
3291
|
|
|
3292
3292
|
### ensureMetadataRegistry
|
|
3293
3293
|
|
|
3294
|
-
`(model: import("
|
|
3294
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[]`
|
|
3295
3295
|
|
|
3296
3296
|
Ensure model metadata registry exists.
|
|
3297
3297
|
|
|
@@ -3302,7 +3302,7 @@ Returns: Mutable metadata registry.
|
|
|
3302
3302
|
|
|
3303
3303
|
### findMetadataProperty
|
|
3304
3304
|
|
|
3305
|
-
`(metadataRegistry: import("
|
|
3305
|
+
`(metadataRegistry: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[], key: string) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty | undefined`
|
|
3306
3306
|
|
|
3307
3307
|
Find a metadata property by key.
|
|
3308
3308
|
|
|
@@ -3314,7 +3314,7 @@ Returns: Matching metadata property if present.
|
|
|
3314
3314
|
|
|
3315
3315
|
### foldDenseRowsToInitializers
|
|
3316
3316
|
|
|
3317
|
-
`(denseRows: import("
|
|
3317
|
+
`(denseRows: import("src/architecture/network/onnx/network.onnx.utils.types").DenseWeightRow[]) => import("src/architecture/network/onnx/network.onnx.utils.types").DenseWeightBuildResult`
|
|
3318
3318
|
|
|
3319
3319
|
Fold dense rows into flattened ONNX initializer arrays.
|
|
3320
3320
|
|
|
@@ -3336,7 +3336,7 @@ Returns: Parsed array when valid, otherwise undefined.
|
|
|
3336
3336
|
|
|
3337
3337
|
### resolveDiagonalRecurrentWeight
|
|
3338
3338
|
|
|
3339
|
-
`(context: import("
|
|
3339
|
+
`(context: import("src/architecture/network/onnx/network.onnx.utils.types").RecurrentRowCollectionContext, columnIndex: number) => number`
|
|
3340
3340
|
|
|
3341
3341
|
Resolve recurrent weight value for one matrix coordinate.
|
|
3342
3342
|
|
|
@@ -3348,7 +3348,7 @@ Returns: Recurrent weight for diagonal entries, otherwise zero.
|
|
|
3348
3348
|
|
|
3349
3349
|
### resolveInboundWeight
|
|
3350
3350
|
|
|
3351
|
-
`(targetNodeInternal: import("
|
|
3351
|
+
`(targetNodeInternal: import("src/architecture/network/onnx/network.onnx.utils.types").NodeInternals, sourceNode: import("src/architecture/node").default) => number`
|
|
3352
3352
|
|
|
3353
3353
|
Resolve source-to-target inbound connection weight.
|
|
3354
3354
|
|
|
@@ -3372,7 +3372,7 @@ Returns: Serialized JSON value.
|
|
|
3372
3372
|
|
|
3373
3373
|
### serializeSpecMetadataValue
|
|
3374
3374
|
|
|
3375
|
-
`(currentValue: string, spec: import("
|
|
3375
|
+
`(currentValue: string, spec: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping | import("src/architecture/network/onnx/network.onnx.utils.types").Pool2DMapping) => string`
|
|
3376
3376
|
|
|
3377
3377
|
Serialize spec metadata after appending one spec object.
|
|
3378
3378
|
|
|
@@ -3384,7 +3384,7 @@ Returns: Serialized JSON value.
|
|
|
3384
3384
|
|
|
3385
3385
|
### toPoolingEmissionContext
|
|
3386
3386
|
|
|
3387
|
-
`(params: import("
|
|
3387
|
+
`(params: import("src/architecture/network/onnx/network.onnx.utils.types").OptionalPoolingAndFlattenParams) => import("src/architecture/network/onnx/network.onnx.utils.types").PoolingEmissionContext`
|
|
3388
3388
|
|
|
3389
3389
|
Resolve pooling emission context from optional pooling parameters.
|
|
3390
3390
|
|
|
@@ -3397,7 +3397,7 @@ Returns: Pooling emission context.
|
|
|
3397
3397
|
|
|
3398
3398
|
### appendConvInferenceMetadata
|
|
3399
3399
|
|
|
3400
|
-
`(model: import("
|
|
3400
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, layers: import("src/architecture/node").default[][], options: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxExportOptions) => void`
|
|
3401
3401
|
|
|
3402
3402
|
Append heuristic conv inference metadata when requested.
|
|
3403
3403
|
|
|
@@ -3410,7 +3410,7 @@ Returns: Nothing.
|
|
|
3410
3410
|
|
|
3411
3411
|
### appendLstmPatternStubMetadata
|
|
3412
3412
|
|
|
3413
|
-
`(model: import("
|
|
3413
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, lstmPatternStubs: import("src/architecture/network/onnx/network.onnx.utils.types").LstmPatternStub[]) => void`
|
|
3414
3414
|
|
|
3415
3415
|
Append LSTM pattern stub metadata.
|
|
3416
3416
|
|
|
@@ -3422,7 +3422,7 @@ Returns: Nothing.
|
|
|
3422
3422
|
|
|
3423
3423
|
### appendMetadataProperties
|
|
3424
3424
|
|
|
3425
|
-
`(model: import("
|
|
3425
|
+
`(model: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, metadataProperties: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[]) => void`
|
|
3426
3426
|
|
|
3427
3427
|
Append metadata properties in a single, normalized path.
|
|
3428
3428
|
|
|
@@ -3434,7 +3434,7 @@ Returns: Nothing.
|
|
|
3434
3434
|
|
|
3435
3435
|
### applyExportNodeIndexAssignments
|
|
3436
3436
|
|
|
3437
|
-
`(assignmentContexts: import("
|
|
3437
|
+
`(assignmentContexts: import("src/architecture/network/onnx/network.onnx.utils.types").ExportNodeIndexAssignmentContext[]) => void`
|
|
3438
3438
|
|
|
3439
3439
|
Apply prepared node/index assignment contexts.
|
|
3440
3440
|
|
|
@@ -3445,7 +3445,7 @@ Returns: Nothing.
|
|
|
3445
3445
|
|
|
3446
3446
|
### applySingleExportNodeIndexAssignment
|
|
3447
3447
|
|
|
3448
|
-
`(assignmentContext: import("
|
|
3448
|
+
`(assignmentContext: import("src/architecture/network/onnx/network.onnx.utils.types").ExportNodeIndexAssignmentContext) => void`
|
|
3449
3449
|
|
|
3450
3450
|
Apply one export index assignment.
|
|
3451
3451
|
|
|
@@ -3456,7 +3456,7 @@ Returns: Nothing.
|
|
|
3456
3456
|
|
|
3457
3457
|
### assignExportNodeIndices
|
|
3458
3458
|
|
|
3459
|
-
`(network: import("
|
|
3459
|
+
`(network: import("src/architecture/network").default) => void`
|
|
3460
3460
|
|
|
3461
3461
|
Assign stable index values to nodes for export diagnostics.
|
|
3462
3462
|
|
|
@@ -3467,7 +3467,7 @@ Returns: Nothing.
|
|
|
3467
3467
|
|
|
3468
3468
|
### collectInferredConvMetadata
|
|
3469
3469
|
|
|
3470
|
-
`(context: { layers: import("
|
|
3470
|
+
`(context: { layers: import("src/architecture/node").default[][]; declaredMappings: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping[] | undefined; }) => import("src/architecture/network/onnx/network.onnx.utils.types").ConvInferenceResult`
|
|
3471
3471
|
|
|
3472
3472
|
Collect inferred Conv metadata from hidden-layer traversals.
|
|
3473
3473
|
|
|
@@ -3478,7 +3478,7 @@ Returns: Inferred Conv metadata result.
|
|
|
3478
3478
|
|
|
3479
3479
|
### collectLstmPatternStubs
|
|
3480
3480
|
|
|
3481
|
-
`(layers: import("
|
|
3481
|
+
`(layers: import("src/architecture/node").default[][], allowRecurrent: boolean | undefined) => import("src/architecture/network/onnx/network.onnx.utils.types").LstmPatternStub[]`
|
|
3482
3482
|
|
|
3483
3483
|
Collect heuristic LSTM grouping stubs from hidden layers.
|
|
3484
3484
|
|
|
@@ -3490,7 +3490,7 @@ Returns: Candidate LSTM pattern stubs.
|
|
|
3490
3490
|
|
|
3491
3491
|
### collectLstmPatternStubsFromLayers
|
|
3492
3492
|
|
|
3493
|
-
`(layers: import("
|
|
3493
|
+
`(layers: import("src/architecture/node").default[][]) => import("src/architecture/network/onnx/network.onnx.utils.types").LstmPatternStub[]`
|
|
3494
3494
|
|
|
3495
3495
|
Collect LSTM pattern stubs from hidden layers.
|
|
3496
3496
|
|
|
@@ -3501,7 +3501,7 @@ Returns: LSTM pattern stubs.
|
|
|
3501
3501
|
|
|
3502
3502
|
### createConvInferenceEvaluationContext
|
|
3503
3503
|
|
|
3504
|
-
`(traversalContext: import("
|
|
3504
|
+
`(traversalContext: import("src/architecture/network/onnx/network.onnx.utils.types").ConvInferenceTraversalContext) => import("src/architecture/network/onnx/network.onnx.utils.types").ConvInferenceEvaluationContext`
|
|
3505
3505
|
|
|
3506
3506
|
Create width/square-evaluation context for Conv inference.
|
|
3507
3507
|
|
|
@@ -3512,7 +3512,7 @@ Returns: Conv evaluation context.
|
|
|
3512
3512
|
|
|
3513
3513
|
### createConvTraversalContexts
|
|
3514
3514
|
|
|
3515
|
-
`(context: { layers: import("
|
|
3515
|
+
`(context: { layers: import("src/architecture/node").default[][]; declaredMappings: import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping[] | undefined; }) => import("src/architecture/network/onnx/network.onnx.utils.types").ConvInferenceTraversalContext[]`
|
|
3516
3516
|
|
|
3517
3517
|
Create Conv traversal contexts for hidden layers.
|
|
3518
3518
|
|
|
@@ -3523,7 +3523,7 @@ Returns: Conv traversal contexts.
|
|
|
3523
3523
|
|
|
3524
3524
|
### createExportNodeIndexAssignmentContexts
|
|
3525
3525
|
|
|
3526
|
-
`(network: import("
|
|
3526
|
+
`(network: import("src/architecture/network").default) => import("src/architecture/network/onnx/network.onnx.utils.types").ExportNodeIndexAssignmentContext[]`
|
|
3527
3527
|
|
|
3528
3528
|
Create node/index assignment contexts for export diagnostics.
|
|
3529
3529
|
|
|
@@ -3534,7 +3534,7 @@ Returns: Assignment contexts.
|
|
|
3534
3534
|
|
|
3535
3535
|
### createHiddenLayerTraversalContexts
|
|
3536
3536
|
|
|
3537
|
-
`(layers: import("
|
|
3537
|
+
`(layers: import("src/architecture/node").default[][]) => import("src/architecture/network/onnx/network.onnx.utils.types").LstmLayerTraversalContext[]`
|
|
3538
3538
|
|
|
3539
3539
|
Create traversal contexts for hidden layers only.
|
|
3540
3540
|
|
|
@@ -3545,7 +3545,7 @@ Returns: Hidden layer contexts.
|
|
|
3545
3545
|
|
|
3546
3546
|
### createLstmCandidateContext
|
|
3547
3547
|
|
|
3548
|
-
`(hiddenLayerContext: import("
|
|
3548
|
+
`(hiddenLayerContext: import("src/architecture/network/onnx/network.onnx.utils.types").LstmLayerTraversalContext) => import("src/architecture/network/onnx/network.onnx.utils.types").LstmCandidateContext`
|
|
3549
3549
|
|
|
3550
3550
|
Build LSTM candidate context for one hidden layer.
|
|
3551
3551
|
|
|
@@ -3556,7 +3556,7 @@ Returns: LSTM candidate context.
|
|
|
3556
3556
|
|
|
3557
3557
|
### hasInferredConvMetadata
|
|
3558
3558
|
|
|
3559
|
-
`(inferenceResult: import("
|
|
3559
|
+
`(inferenceResult: import("src/architecture/network/onnx/network.onnx.utils.types").ConvInferenceResult) => boolean`
|
|
3560
3560
|
|
|
3561
3561
|
Check whether inferred Conv metadata exists.
|
|
3562
3562
|
|
|
@@ -3567,7 +3567,7 @@ Returns: True when inferred metadata exists.
|
|
|
3567
3567
|
|
|
3568
3568
|
### hasRequiredSelfConnectionCount
|
|
3569
3569
|
|
|
3570
|
-
`(nodeItem: import("
|
|
3570
|
+
`(nodeItem: import("src/architecture/node").default) => boolean`
|
|
3571
3571
|
|
|
3572
3572
|
Check whether one node has the required self-connection count.
|
|
3573
3573
|
|
|
@@ -3578,7 +3578,7 @@ Returns: True when self-connection count matches requirement.
|
|
|
3578
3578
|
|
|
3579
3579
|
### isDeclaredConvLayer
|
|
3580
3580
|
|
|
3581
|
-
`(traversalContext: import("
|
|
3581
|
+
`(traversalContext: import("src/architecture/network/onnx/network.onnx.utils.types").ConvInferenceTraversalContext) => boolean`
|
|
3582
3582
|
|
|
3583
3583
|
Check whether a traversal layer already has declared Conv mapping.
|
|
3584
3584
|
|
|
@@ -3589,7 +3589,7 @@ Returns: True when mapping is already declared.
|
|
|
3589
3589
|
|
|
3590
3590
|
### isInferredConvSpec
|
|
3591
3591
|
|
|
3592
|
-
`(specification: (import("
|
|
3592
|
+
`(specification: (import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping & { note?: string | undefined; }) | undefined) => boolean`
|
|
3593
3593
|
|
|
3594
3594
|
Type guard for inferred Conv specifications.
|
|
3595
3595
|
|
|
@@ -3600,7 +3600,7 @@ Returns: True when specification is defined.
|
|
|
3600
3600
|
|
|
3601
3601
|
### isValidLstmCandidateContext
|
|
3602
3602
|
|
|
3603
|
-
`(candidateContext: import("
|
|
3603
|
+
`(candidateContext: import("src/architecture/network/onnx/network.onnx.utils.types").LstmCandidateContext) => boolean`
|
|
3604
3604
|
|
|
3605
3605
|
Determine whether a candidate context satisfies heuristic LSTM conditions.
|
|
3606
3606
|
|
|
@@ -3611,7 +3611,7 @@ Returns: True when the candidate is a valid LSTM stub.
|
|
|
3611
3611
|
|
|
3612
3612
|
### mapLstmCandidateToStub
|
|
3613
3613
|
|
|
3614
|
-
`(candidateContext: import("
|
|
3614
|
+
`(candidateContext: import("src/architecture/network/onnx/network.onnx.utils.types").LstmCandidateContext) => import("src/architecture/network/onnx/network.onnx.utils.types").LstmPatternStub`
|
|
3615
3615
|
|
|
3616
3616
|
Map a valid candidate context to metadata stub.
|
|
3617
3617
|
|
|
@@ -3622,7 +3622,7 @@ Returns: LSTM pattern stub.
|
|
|
3622
3622
|
|
|
3623
3623
|
### resolveConvInferenceForLayer
|
|
3624
3624
|
|
|
3625
|
-
`(traversalContext: import("
|
|
3625
|
+
`(traversalContext: import("src/architecture/network/onnx/network.onnx.utils.types").ConvInferenceTraversalContext) => (import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping & { note?: string | undefined; }) | undefined`
|
|
3626
3626
|
|
|
3627
3627
|
Resolve inferred Conv specification for one hidden layer.
|
|
3628
3628
|
|
|
@@ -3633,7 +3633,7 @@ Returns: Inferred Conv specification when matched.
|
|
|
3633
3633
|
|
|
3634
3634
|
### resolveConvSpecForKernel
|
|
3635
3635
|
|
|
3636
|
-
`(kernelContext: import("
|
|
3636
|
+
`(kernelContext: import("src/architecture/network/onnx/network.onnx.utils.types").ConvInferenceKernelEvaluationContext) => (import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping & { note?: string | undefined; }) | undefined`
|
|
3637
3637
|
|
|
3638
3638
|
Resolve Conv specification for one kernel candidate.
|
|
3639
3639
|
|
|
@@ -3644,7 +3644,7 @@ Returns: Inferred Conv specification when matched.
|
|
|
3644
3644
|
|
|
3645
3645
|
### resolveConvSpecFromKernelCandidates
|
|
3646
3646
|
|
|
3647
|
-
`(evaluationContext: import("
|
|
3647
|
+
`(evaluationContext: import("src/architecture/network/onnx/network.onnx.utils.types").ConvInferenceEvaluationContext) => (import("src/architecture/network/onnx/network.onnx.utils.types").Conv2DMapping & { note?: string | undefined; }) | undefined`
|
|
3648
3648
|
|
|
3649
3649
|
Resolve Conv specification using ordered kernel candidates.
|
|
3650
3650
|
|
|
@@ -3655,7 +3655,7 @@ Returns: Inferred Conv specification when matched.
|
|
|
3655
3655
|
|
|
3656
3656
|
### safelyCollectLstmPatternStubs
|
|
3657
3657
|
|
|
3658
|
-
`(layers: import("
|
|
3658
|
+
`(layers: import("src/architecture/node").default[][]) => import("src/architecture/network/onnx/network.onnx.utils.types").LstmPatternStub[]`
|
|
3659
3659
|
|
|
3660
3660
|
Collect LSTM pattern stubs with heuristic error isolation.
|
|
3661
3661
|
|
|
@@ -3668,7 +3668,7 @@ Returns: LSTM pattern stubs.
|
|
|
3668
3668
|
|
|
3669
3669
|
### applyLayerSelfConnections
|
|
3670
3670
|
|
|
3671
|
-
`(layerConnectionContext: import("
|
|
3671
|
+
`(layerConnectionContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerConnectionContext) => void`
|
|
3672
3672
|
|
|
3673
3673
|
Apply one hidden layer diagonal recurrent self-weights.
|
|
3674
3674
|
|
|
@@ -3679,7 +3679,7 @@ Returns: Nothing.
|
|
|
3679
3679
|
|
|
3680
3680
|
### attachOnnxPoolingMetadata
|
|
3681
3681
|
|
|
3682
|
-
`(network: import("
|
|
3682
|
+
`(network: import("src/architecture/network").default, metadata: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[]) => void`
|
|
3683
3683
|
|
|
3684
3684
|
Attach optional pooling metadata from ONNX model to network instance.
|
|
3685
3685
|
|
|
@@ -3691,7 +3691,7 @@ Returns: Nothing.
|
|
|
3691
3691
|
|
|
3692
3692
|
### attachParsedPoolingMetadata
|
|
3693
3693
|
|
|
3694
|
-
`(network: import("
|
|
3694
|
+
`(network: import("src/architecture/network").default, poolingMetadata: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportPoolingMetadata) => void`
|
|
3695
3695
|
|
|
3696
3696
|
Attach parsed pooling metadata to imported network instance.
|
|
3697
3697
|
|
|
@@ -3703,7 +3703,7 @@ Returns: Nothing.
|
|
|
3703
3703
|
|
|
3704
3704
|
### buildArchitectureContext
|
|
3705
3705
|
|
|
3706
|
-
`(onnx: import("
|
|
3706
|
+
`(onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportArchitectureContext`
|
|
3707
3707
|
|
|
3708
3708
|
Build architecture extraction context from ONNX graph state.
|
|
3709
3709
|
|
|
@@ -3714,7 +3714,7 @@ Returns: Normalized architecture extraction context.
|
|
|
3714
3714
|
|
|
3715
3715
|
### buildHiddenLayerSpans
|
|
3716
3716
|
|
|
3717
|
-
`(hiddenLayerSizes: number[]) => import("
|
|
3717
|
+
`(hiddenLayerSizes: number[]) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportHiddenLayerSpan[]`
|
|
3718
3718
|
|
|
3719
3719
|
Build hidden-layer spans with one-based layer numbering and global offsets.
|
|
3720
3720
|
|
|
@@ -3737,7 +3737,7 @@ Returns: Diagonal recurrent self-weights.
|
|
|
3737
3737
|
|
|
3738
3738
|
### collectNodesByType
|
|
3739
3739
|
|
|
3740
|
-
`(nodes: import("
|
|
3740
|
+
`(nodes: import("src/architecture/node").default[], nodeType: "input" | "output" | "hidden") => import("src/architecture/node").default[]`
|
|
3741
3741
|
|
|
3742
3742
|
Collect nodes matching one runtime node-type discriminator.
|
|
3743
3743
|
|
|
@@ -3749,7 +3749,7 @@ Returns: Filtered node list.
|
|
|
3749
3749
|
|
|
3750
3750
|
### collectPerceptronBoundaryNodes
|
|
3751
3751
|
|
|
3752
|
-
`(nodes: import("
|
|
3752
|
+
`(nodes: import("src/architecture/node").default[]) => import("src/architecture/node").default[]`
|
|
3753
3753
|
|
|
3754
3754
|
Collect input and output boundary nodes for perceptron imports.
|
|
3755
3755
|
|
|
@@ -3760,7 +3760,7 @@ Returns: Input/output-only node list.
|
|
|
3760
3760
|
|
|
3761
3761
|
### collectRecurrentLayerSpans
|
|
3762
3762
|
|
|
3763
|
-
`(restorationContext: import("
|
|
3763
|
+
`(restorationContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportRecurrentRestorationContext) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportHiddenLayerSpan[]`
|
|
3764
3764
|
|
|
3765
3765
|
Resolve recurrent-target hidden-layer spans from metadata + hidden sizes.
|
|
3766
3766
|
|
|
@@ -3771,7 +3771,7 @@ Returns: Hidden-layer spans requiring recurrent restoration.
|
|
|
3771
3771
|
|
|
3772
3772
|
### extractOnnxArchitecture
|
|
3773
3773
|
|
|
3774
|
-
`(onnx: import("
|
|
3774
|
+
`(onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportArchitectureResult`
|
|
3775
3775
|
|
|
3776
3776
|
Extract input/output counts and hidden layer sizes from ONNX model.
|
|
3777
3777
|
|
|
@@ -3782,7 +3782,7 @@ Returns: Parsed architecture dimensions.
|
|
|
3782
3782
|
|
|
3783
3783
|
### findMetadataProperty
|
|
3784
3784
|
|
|
3785
|
-
`(metadata: import("
|
|
3785
|
+
`(metadata: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[], metadataKey: string) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty | undefined`
|
|
3786
3786
|
|
|
3787
3787
|
Find one ONNX metadata property by key.
|
|
3788
3788
|
|
|
@@ -3794,7 +3794,7 @@ Returns: Matching metadata property when present.
|
|
|
3794
3794
|
|
|
3795
3795
|
### findRecurrentInitializer
|
|
3796
3796
|
|
|
3797
|
-
`(layerConnectionContext: import("
|
|
3797
|
+
`(layerConnectionContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerConnectionContext) => { name: string; float_data: number[]; } | undefined`
|
|
3798
3798
|
|
|
3799
3799
|
Resolve recurrent initializer tensor for one hidden-layer span.
|
|
3800
3800
|
|
|
@@ -3827,7 +3827,7 @@ Returns: Recurrent layer indices.
|
|
|
3827
3827
|
|
|
3828
3828
|
### parsePoolingMetadata
|
|
3829
3829
|
|
|
3830
|
-
`(metadata: import("
|
|
3830
|
+
`(metadata: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[]) => import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportPoolingMetadata | null`
|
|
3831
3831
|
|
|
3832
3832
|
Parse pooling metadata payload from ONNX metadata.
|
|
3833
3833
|
|
|
@@ -3849,7 +3849,7 @@ Returns: Normalized recurrent layer indices.
|
|
|
3849
3849
|
|
|
3850
3850
|
### pruneSingleLayerHiddenPlaceholders
|
|
3851
3851
|
|
|
3852
|
-
`(network: import("
|
|
3852
|
+
`(network: import("src/architecture/network").default, hiddenLayerSizes: number[]) => void`
|
|
3853
3853
|
|
|
3854
3854
|
Remove placeholder hidden nodes for single-layer perceptron imports.
|
|
3855
3855
|
|
|
@@ -3872,7 +3872,7 @@ Returns: Terminal `dim_value` payload.
|
|
|
3872
3872
|
|
|
3873
3873
|
### reconstructFusedRecurrentLayers
|
|
3874
3874
|
|
|
3875
|
-
`(network: import("
|
|
3875
|
+
`(network: import("src/architecture/network").default, onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, hiddenLayerSizes: number[], layerFactory: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxLayerFactory, metadata: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[]) => void`
|
|
3876
3876
|
|
|
3877
3877
|
Reconstruct emitted fused LSTM/GRU layers from ONNX metadata and initializers.
|
|
3878
3878
|
|
|
@@ -3887,7 +3887,7 @@ Returns: Nothing.
|
|
|
3887
3887
|
|
|
3888
3888
|
### resolveRecurrentLayerIndices
|
|
3889
3889
|
|
|
3890
|
-
`(metadata: import("
|
|
3890
|
+
`(metadata: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[]) => number[]`
|
|
3891
3891
|
|
|
3892
3892
|
Resolve recurrent layer indices from ONNX metadata.
|
|
3893
3893
|
|
|
@@ -3898,7 +3898,7 @@ Returns: Parsed recurrent layer indices.
|
|
|
3898
3898
|
|
|
3899
3899
|
### restoreRecurrentSelfConnections
|
|
3900
3900
|
|
|
3901
|
-
`(network: import("
|
|
3901
|
+
`(network: import("src/architecture/network").default, onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, hiddenLayerSizes: number[], metadata: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[]) => void`
|
|
3902
3902
|
|
|
3903
3903
|
Restore recurrent self-connections from recurrent metadata and R tensors.
|
|
3904
3904
|
|
|
@@ -3912,7 +3912,7 @@ Returns: Nothing.
|
|
|
3912
3912
|
|
|
3913
3913
|
### sliceLayerHiddenNodes
|
|
3914
3914
|
|
|
3915
|
-
`(layerConnectionContext: import("
|
|
3915
|
+
`(layerConnectionContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportLayerConnectionContext) => import("src/architecture/node").default[]`
|
|
3916
3916
|
|
|
3917
3917
|
Slice hidden nodes for one hidden-layer span.
|
|
3918
3918
|
|
|
@@ -3923,7 +3923,7 @@ Returns: Hidden nodes belonging to the span.
|
|
|
3923
3923
|
|
|
3924
3924
|
### upsertSelfConnection
|
|
3925
3925
|
|
|
3926
|
-
`(selfConnectionContext: import("
|
|
3926
|
+
`(selfConnectionContext: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxImportSelfConnectionUpsertContext) => void`
|
|
3927
3927
|
|
|
3928
3928
|
Upsert one node self-connection for recurrent import restoration.
|
|
3929
3929
|
|
|
@@ -3936,7 +3936,7 @@ Returns: Nothing.
|
|
|
3936
3936
|
|
|
3937
3937
|
### reconstructFusedRecurrentLayers
|
|
3938
3938
|
|
|
3939
|
-
`(network: import("
|
|
3939
|
+
`(network: import("src/architecture/network").default, onnx: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxModel, hiddenLayerSizes: number[], layerFactory: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxLayerFactory, metadata: import("src/architecture/network/onnx/network.onnx.utils.types").OnnxMetadataProperty[]) => void`
|
|
3940
3940
|
|
|
3941
3941
|
Reconstruct emitted fused LSTM/GRU layers from ONNX metadata and initializers.
|
|
3942
3942
|
|