@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
|
@@ -121,7 +121,7 @@ Returns: Output activations (detached plain array) of length `network.output`.
|
|
|
121
121
|
|
|
122
122
|
### getConnectionSlab
|
|
123
123
|
|
|
124
|
-
`() => import("
|
|
124
|
+
`() => import("src/architecture/network/slab/network.slab.utils.types").ConnectionSlabView`
|
|
125
125
|
|
|
126
126
|
Obtain (and lazily rebuild if dirty) the current packed SoA view of connections.
|
|
127
127
|
|
|
@@ -133,7 +133,7 @@ Returns: Read‑only style view (do not mutate) containing typed arrays + metada
|
|
|
133
133
|
|
|
134
134
|
### getSlabAllocationStats
|
|
135
135
|
|
|
136
|
-
`() => { pool: { [x: string]: import("
|
|
136
|
+
`() => { pool: { [x: string]: import("src/architecture/network/slab/network.slab.utils.types").PoolKeyMetrics; }; fresh: number; pooled: number; }`
|
|
137
137
|
|
|
138
138
|
Slab Packing / Structure‑of‑Arrays Backend (Educational Module)
|
|
139
139
|
==============================================================
|
|
@@ -222,7 +222,7 @@ Internal slab pool/stat helpers extracted from network.slab.utils.ts.
|
|
|
222
222
|
|
|
223
223
|
### _acquireTA
|
|
224
224
|
|
|
225
|
-
`(kind: string, ctor: import("
|
|
225
|
+
`(kind: string, ctor: import("src/architecture/network/slab/network.slab.utils.types").TypedArrayConstructor, length: number, bytesPerElement: number) => import("src/architecture/network/slab/network.slab.utils.types").TypedArray`
|
|
226
226
|
|
|
227
227
|
Acquires a typed array from pool or allocates a fresh one.
|
|
228
228
|
|
|
@@ -236,7 +236,7 @@ Returns: Acquired typed array.
|
|
|
236
236
|
|
|
237
237
|
### _getSlabAllocationStatsSnapshot
|
|
238
238
|
|
|
239
|
-
`() => { pool: { [x: string]: import("
|
|
239
|
+
`() => { pool: { [x: string]: import("src/architecture/network/slab/network.slab.utils.types").PoolKeyMetrics; }; fresh: number; pooled: number; }`
|
|
240
240
|
|
|
241
241
|
Returns allocation stats snapshot for slab typed arrays.
|
|
242
242
|
|
|
@@ -257,7 +257,7 @@ Returns: Stable pool key.
|
|
|
257
257
|
|
|
258
258
|
### _releaseTA
|
|
259
259
|
|
|
260
|
-
`(kind: string, bytesPerElement: number, arr: import("
|
|
260
|
+
`(kind: string, bytesPerElement: number, arr: import("src/architecture/network/slab/network.slab.utils.types").TypedArray) => void`
|
|
261
261
|
|
|
262
262
|
Releases a typed array back to bounded per-key pool.
|
|
263
263
|
|
|
@@ -280,7 +280,7 @@ Returns: Non-negative max retained arrays per key.
|
|
|
280
280
|
|
|
281
281
|
### _createConnectionSlabView
|
|
282
282
|
|
|
283
|
-
`(network: import("
|
|
283
|
+
`(network: import("src/architecture/network").default) => import("src/architecture/network/slab/network.slab.utils.types").ConnectionSlabView`
|
|
284
284
|
|
|
285
285
|
Creates a read-oriented packed slab view from current network internals.
|
|
286
286
|
|
|
@@ -291,7 +291,7 @@ Returns: Packed connection slab view.
|
|
|
291
291
|
|
|
292
292
|
### _readSlabVersion
|
|
293
293
|
|
|
294
|
-
`(network: import("
|
|
294
|
+
`(network: import("src/architecture/network").default) => number`
|
|
295
295
|
|
|
296
296
|
Reads the current monotonic slab version from network internals.
|
|
297
297
|
|
|
@@ -302,7 +302,7 @@ Returns: Non-negative slab version counter.
|
|
|
302
302
|
|
|
303
303
|
### _resolveConnectionGainView
|
|
304
304
|
|
|
305
|
-
`(internalNet: import("
|
|
305
|
+
`(internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps, capacity: number) => Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike> | null`
|
|
306
306
|
|
|
307
307
|
Resolves gain slab view, synthesizing neutral gain values when omitted.
|
|
308
308
|
|
|
@@ -314,7 +314,7 @@ Returns: Gain array view.
|
|
|
314
314
|
|
|
315
315
|
### _resolveConnectionSlabCapacity
|
|
316
316
|
|
|
317
|
-
`(internalNet: import("
|
|
317
|
+
`(internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps) => number`
|
|
318
318
|
|
|
319
319
|
Resolves effective slab capacity using explicit capacity first.
|
|
320
320
|
|
|
@@ -327,7 +327,7 @@ Returns: Effective capacity value.
|
|
|
327
327
|
|
|
328
328
|
### _prepareSlabBuildPreconditions
|
|
329
329
|
|
|
330
|
-
`(buildContext: import("
|
|
330
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext) => void`
|
|
331
331
|
|
|
332
332
|
Applies prerequisite normalization for slab rebuild passes.
|
|
333
333
|
|
|
@@ -340,7 +340,7 @@ Returns: Nothing.
|
|
|
340
340
|
|
|
341
341
|
### _activateFastSlab
|
|
342
342
|
|
|
343
|
-
`(network: import("
|
|
343
|
+
`(network: import("src/architecture/network").default, input: number[]) => number[]`
|
|
344
344
|
|
|
345
345
|
Executes fast slab activation once slab and adjacency prerequisites are prepared.
|
|
346
346
|
|
|
@@ -354,7 +354,7 @@ Returns: Output activation array.
|
|
|
354
354
|
|
|
355
355
|
### _reindexNodes
|
|
356
356
|
|
|
357
|
-
`(network: import("
|
|
357
|
+
`(network: import("src/architecture/network").default) => void`
|
|
358
358
|
|
|
359
359
|
Assigns sequential node indices used by slab packing and fast-path traversal.
|
|
360
360
|
|
|
@@ -371,7 +371,7 @@ Internal slab rebuild helper functions extracted from network.slab.utils.ts.
|
|
|
371
371
|
|
|
372
372
|
### _allocateCoreSlabArrays
|
|
373
373
|
|
|
374
|
-
`(buildContext: import("
|
|
374
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext) => void`
|
|
375
375
|
|
|
376
376
|
Allocates core slab arrays (weights/from/to/flags).
|
|
377
377
|
|
|
@@ -382,7 +382,7 @@ Returns: Nothing.
|
|
|
382
382
|
|
|
383
383
|
### _allocateGainSlabForAsync
|
|
384
384
|
|
|
385
|
-
`(buildContext: import("
|
|
385
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext) => void`
|
|
386
386
|
|
|
387
387
|
Allocates gain slab for async pass prefill strategy.
|
|
388
388
|
|
|
@@ -393,7 +393,7 @@ Returns: Nothing.
|
|
|
393
393
|
|
|
394
394
|
### _applyGainOmissionPolicy
|
|
395
395
|
|
|
396
|
-
`(buildContext: import("
|
|
396
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext, populateResult: import("src/architecture/network/slab/network.slab.utils.types").SlabPopulateResult) => void`
|
|
397
397
|
|
|
398
398
|
Applies gain omission rule by releasing neutral gain slab.
|
|
399
399
|
|
|
@@ -405,7 +405,7 @@ Returns: Nothing.
|
|
|
405
405
|
|
|
406
406
|
### _applyPlasticPolicyAsync
|
|
407
407
|
|
|
408
|
-
`(buildContext: import("
|
|
408
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext, populateResult: import("src/architecture/network/slab/network.slab.utils.types").SlabPopulateResult) => void`
|
|
409
409
|
|
|
410
410
|
Applies async plastic slab allocation/release policy.
|
|
411
411
|
|
|
@@ -417,7 +417,7 @@ Returns: Nothing.
|
|
|
417
417
|
|
|
418
418
|
### _applyPlasticPolicySync
|
|
419
419
|
|
|
420
|
-
`(buildContext: import("
|
|
420
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext, populateResult: import("src/architecture/network/slab/network.slab.utils.types").SlabPopulateResult) => void`
|
|
421
421
|
|
|
422
422
|
Applies sync plastic slab allocation/release policy.
|
|
423
423
|
|
|
@@ -429,7 +429,7 @@ Returns: Nothing.
|
|
|
429
429
|
|
|
430
430
|
### _createInitialSlabPopulateResult
|
|
431
431
|
|
|
432
|
-
`(internalNet: import("
|
|
432
|
+
`(internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps) => import("src/architecture/network/slab/network.slab.utils.types").SlabPopulateResult`
|
|
433
433
|
|
|
434
434
|
Creates initial populate result from current optional slab state.
|
|
435
435
|
|
|
@@ -440,7 +440,7 @@ Returns: Initial populate result.
|
|
|
440
440
|
|
|
441
441
|
### _createSlabBuildContext
|
|
442
442
|
|
|
443
|
-
`(network: import("
|
|
443
|
+
`(network: import("src/architecture/network").default, growthFactor: number) => import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext`
|
|
444
444
|
|
|
445
445
|
Creates immutable slab build context for one rebuild pass.
|
|
446
446
|
|
|
@@ -452,7 +452,7 @@ Returns: Build context.
|
|
|
452
452
|
|
|
453
453
|
### _createSlabWriteArrays
|
|
454
454
|
|
|
455
|
-
`(buildContext: import("
|
|
455
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext) => import("src/architecture/network/slab/network.slab.utils.types").SlabWriteArrays`
|
|
456
456
|
|
|
457
457
|
Creates strongly typed write-array bundle for connection population.
|
|
458
458
|
|
|
@@ -463,7 +463,7 @@ Returns: Write-array bundle.
|
|
|
463
463
|
|
|
464
464
|
### _ensureGainArrayExistsForIndex
|
|
465
465
|
|
|
466
|
-
`(buildContext: import("
|
|
466
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext, populateResult: import("src/architecture/network/slab/network.slab.utils.types").SlabPopulateResult, connectionIndex: number) => void`
|
|
467
467
|
|
|
468
468
|
Ensures gain slab exists before writing non-neutral value.
|
|
469
469
|
|
|
@@ -476,7 +476,7 @@ Returns: Nothing.
|
|
|
476
476
|
|
|
477
477
|
### _ensureSlabCapacityAsync
|
|
478
478
|
|
|
479
|
-
`(buildContext: import("
|
|
479
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext) => void`
|
|
480
480
|
|
|
481
481
|
Ensures async rebuild has enough slab capacity.
|
|
482
482
|
|
|
@@ -487,7 +487,7 @@ Returns: Nothing.
|
|
|
487
487
|
|
|
488
488
|
### _ensureSlabCapacitySync
|
|
489
489
|
|
|
490
|
-
`(buildContext: import("
|
|
490
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext) => void`
|
|
491
491
|
|
|
492
492
|
Ensures sync rebuild has enough slab capacity.
|
|
493
493
|
|
|
@@ -511,7 +511,7 @@ Returns: Expanded capacity.
|
|
|
511
511
|
|
|
512
512
|
### _fillPlasticityRates
|
|
513
513
|
|
|
514
|
-
`(network: import("
|
|
514
|
+
`(network: import("src/architecture/network").default, plasticArray: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>, connectionCount: number) => void`
|
|
515
515
|
|
|
516
516
|
Fills plastic slab values from connection plasticity rates.
|
|
517
517
|
|
|
@@ -524,7 +524,7 @@ Returns: Nothing.
|
|
|
524
524
|
|
|
525
525
|
### _finalizeAsyncSlabRebuild
|
|
526
526
|
|
|
527
|
-
`(buildContext: import("
|
|
527
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext) => void`
|
|
528
528
|
|
|
529
529
|
Finalizes async rebuild bookkeeping fields.
|
|
530
530
|
|
|
@@ -535,7 +535,7 @@ Returns: Nothing.
|
|
|
535
535
|
|
|
536
536
|
### _finalizeSharedSlabState
|
|
537
537
|
|
|
538
|
-
`(internalNet: import("
|
|
538
|
+
`(internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps, connectionCount: number) => void`
|
|
539
539
|
|
|
540
540
|
Finalizes shared rebuild bookkeeping fields.
|
|
541
541
|
|
|
@@ -547,7 +547,7 @@ Returns: Nothing.
|
|
|
547
547
|
|
|
548
548
|
### _finalizeSyncSlabRebuild
|
|
549
549
|
|
|
550
|
-
`(buildContext: import("
|
|
550
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext) => void`
|
|
551
551
|
|
|
552
552
|
Finalizes sync rebuild bookkeeping fields.
|
|
553
553
|
|
|
@@ -558,7 +558,7 @@ Returns: Nothing.
|
|
|
558
558
|
|
|
559
559
|
### _populateAsyncChunkRange
|
|
560
560
|
|
|
561
|
-
`(buildContext: import("
|
|
561
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext, writeArrays: import("src/architecture/network/slab/network.slab.utils.types").SlabWriteArrays, populateResult: import("src/architecture/network/slab/network.slab.utils.types").SlabPopulateResult, startIndex: number, endIndex: number) => void`
|
|
562
562
|
|
|
563
563
|
Populates one inclusive-exclusive chunk range for async rebuild.
|
|
564
564
|
|
|
@@ -573,7 +573,7 @@ Returns: Nothing.
|
|
|
573
573
|
|
|
574
574
|
### _populateSlabConnectionsAsync
|
|
575
575
|
|
|
576
|
-
`(buildContext: import("
|
|
576
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext, chunkSize: number) => Promise<import("src/architecture/network/slab/network.slab.utils.types").SlabPopulateResult>`
|
|
577
577
|
|
|
578
578
|
Populates core slab arrays in cooperative async chunks.
|
|
579
579
|
|
|
@@ -585,7 +585,7 @@ Returns: Population result flags and optional slabs.
|
|
|
585
585
|
|
|
586
586
|
### _populateSlabConnectionsSync
|
|
587
587
|
|
|
588
|
-
`(buildContext: import("
|
|
588
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext) => import("src/architecture/network/slab/network.slab.utils.types").SlabPopulateResult`
|
|
589
589
|
|
|
590
590
|
Populates core slab arrays in synchronous single pass.
|
|
591
591
|
|
|
@@ -596,7 +596,7 @@ Returns: Population result flags and optional slabs.
|
|
|
596
596
|
|
|
597
597
|
### _releaseExistingSlabArrays
|
|
598
598
|
|
|
599
|
-
`(buildContext: import("
|
|
599
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext) => void`
|
|
600
600
|
|
|
601
601
|
Releases all currently allocated slab arrays back to pool.
|
|
602
602
|
|
|
@@ -607,7 +607,7 @@ Returns: Nothing.
|
|
|
607
607
|
|
|
608
608
|
### _resetOptionalSlabArraysAfterSyncAllocate
|
|
609
609
|
|
|
610
|
-
`(internalNet: import("
|
|
610
|
+
`(internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps) => void`
|
|
611
611
|
|
|
612
612
|
Resets optional slabs after sync allocation to keep omission semantics.
|
|
613
613
|
|
|
@@ -630,7 +630,7 @@ Returns: Effective chunk size.
|
|
|
630
630
|
|
|
631
631
|
### _shouldSkipSlabRebuild
|
|
632
632
|
|
|
633
|
-
`(internalNet: import("
|
|
633
|
+
`(internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps, force: boolean) => boolean`
|
|
634
634
|
|
|
635
635
|
Determines whether slab rebuild can be skipped.
|
|
636
636
|
|
|
@@ -642,7 +642,7 @@ Returns: True when rebuild can be skipped.
|
|
|
642
642
|
|
|
643
643
|
### _updatePlasticPresence
|
|
644
644
|
|
|
645
|
-
`(populateResult: import("
|
|
645
|
+
`(populateResult: import("src/architecture/network/slab/network.slab.utils.types").SlabPopulateResult, connection: import("src/architecture/network/slab/network.slab.utils.types").ConnectionInternals) => void`
|
|
646
646
|
|
|
647
647
|
Updates plastic-presence flag from connection bitfield.
|
|
648
648
|
|
|
@@ -676,7 +676,7 @@ Returns: Byte width for weight elements.
|
|
|
676
676
|
|
|
677
677
|
### _writeConnectionCoreFields
|
|
678
678
|
|
|
679
|
-
`(writeArrays: import("
|
|
679
|
+
`(writeArrays: import("src/architecture/network/slab/network.slab.utils.types").SlabWriteArrays, connection: import("src/architecture/network/slab/network.slab.utils.types").ConnectionInternals, connectionIndex: number) => void`
|
|
680
680
|
|
|
681
681
|
Writes core fields for one connection into slab arrays.
|
|
682
682
|
|
|
@@ -689,7 +689,7 @@ Returns: Nothing.
|
|
|
689
689
|
|
|
690
690
|
### _writeConnectionGainField
|
|
691
691
|
|
|
692
|
-
`(buildContext: import("
|
|
692
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").SlabBuildContext, populateResult: import("src/architecture/network/slab/network.slab.utils.types").SlabPopulateResult, connection: import("src/architecture/network/slab/network.slab.utils.types").ConnectionInternals, connectionIndex: number) => void`
|
|
693
693
|
|
|
694
694
|
Writes gain field for one connection and updates gain flags.
|
|
695
695
|
|
|
@@ -709,7 +709,7 @@ Internal slab adjacency helpers extracted from network.slab.utils.ts.
|
|
|
709
709
|
|
|
710
710
|
### _buildAdjacency
|
|
711
711
|
|
|
712
|
-
`(network: import("
|
|
712
|
+
`(network: import("src/architecture/network").default) => void`
|
|
713
713
|
|
|
714
714
|
Build or refresh CSR-style adjacency (outStart + outOrder) for fast fan-out traversal.
|
|
715
715
|
|
|
@@ -720,7 +720,7 @@ Returns: Nothing.
|
|
|
720
720
|
|
|
721
721
|
### asNetworkSlabProps
|
|
722
722
|
|
|
723
|
-
`(network: import("
|
|
723
|
+
`(network: import("src/architecture/network").default) => import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps`
|
|
724
724
|
|
|
725
725
|
Cast network instance into internal slab-backed shape.
|
|
726
726
|
|
|
@@ -731,7 +731,7 @@ Returns: Internal slab-backed network representation.
|
|
|
731
731
|
|
|
732
732
|
### buildOutgoingOrder
|
|
733
733
|
|
|
734
|
-
`(outgoingOrderBuildContext: import("
|
|
734
|
+
`(outgoingOrderBuildContext: import("src/architecture/network/slab/network.slab.utils.types").OutgoingOrderBuildContext) => Uint32Array<ArrayBufferLike>`
|
|
735
735
|
|
|
736
736
|
Build source-grouped outgoing order using CSR start offsets.
|
|
737
737
|
|
|
@@ -742,7 +742,7 @@ Returns: Ordered outgoing connection indices.
|
|
|
742
742
|
|
|
743
743
|
### buildOutgoingStartIndices
|
|
744
744
|
|
|
745
|
-
`(startIndicesBuildContext: import("
|
|
745
|
+
`(startIndicesBuildContext: import("src/architecture/network/slab/network.slab.utils.types").StartIndicesBuildContext) => Uint32Array<ArrayBufferLike>`
|
|
746
746
|
|
|
747
747
|
Build CSR start offsets from fan-out counts.
|
|
748
748
|
|
|
@@ -753,7 +753,7 @@ Returns: Outgoing start indices slab.
|
|
|
753
753
|
|
|
754
754
|
### collectFanOutCounts
|
|
755
755
|
|
|
756
|
-
`(buildContext: import("
|
|
756
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").BuildAdjacencyContext) => Uint32Array<ArrayBufferLike>`
|
|
757
757
|
|
|
758
758
|
Collect fan-out counts for each source node.
|
|
759
759
|
|
|
@@ -764,7 +764,7 @@ Returns: Fan-out counts per node.
|
|
|
764
764
|
|
|
765
765
|
### createBuildAdjacencyContext
|
|
766
766
|
|
|
767
|
-
`(network: import("
|
|
767
|
+
`(network: import("src/architecture/network").default) => import("src/architecture/network/slab/network.slab.utils.types").BuildAdjacencyContext | null`
|
|
768
768
|
|
|
769
769
|
Build adjacency context when required slabs are available.
|
|
770
770
|
|
|
@@ -775,7 +775,7 @@ Returns: Build context or null when adjacency cannot be built yet.
|
|
|
775
775
|
|
|
776
776
|
### createFanOutCollectionContext
|
|
777
777
|
|
|
778
|
-
`(buildContext: import("
|
|
778
|
+
`(buildContext: import("src/architecture/network/slab/network.slab.utils.types").BuildAdjacencyContext) => import("src/architecture/network/slab/network.slab.utils.types").FanOutCollectionContext`
|
|
779
779
|
|
|
780
780
|
Build fan-out collection context.
|
|
781
781
|
|
|
@@ -830,7 +830,7 @@ Returns: Outgoing start indices buffer.
|
|
|
830
830
|
|
|
831
831
|
### hasRequiredConnectionSlabs
|
|
832
832
|
|
|
833
|
-
`(internalNet: import("
|
|
833
|
+
`(internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps) => boolean`
|
|
834
834
|
|
|
835
835
|
Check whether required connection slabs exist.
|
|
836
836
|
|
|
@@ -887,7 +887,7 @@ Returns: Nothing.
|
|
|
887
887
|
|
|
888
888
|
### populateFanOutCounts
|
|
889
889
|
|
|
890
|
-
`(fanOutCollectionContext: import("
|
|
890
|
+
`(fanOutCollectionContext: import("src/architecture/network/slab/network.slab.utils.types").FanOutCollectionContext) => void`
|
|
891
891
|
|
|
892
892
|
Populate fan-out counts from the connection source slab.
|
|
893
893
|
|
|
@@ -920,7 +920,7 @@ Returns: Terminal running offset after the last node.
|
|
|
920
920
|
|
|
921
921
|
### publishAdjacency
|
|
922
922
|
|
|
923
|
-
`(publishAdjacencyContext: import("
|
|
923
|
+
`(publishAdjacencyContext: import("src/architecture/network/slab/network.slab.utils.types").PublishAdjacencyContext) => void`
|
|
924
924
|
|
|
925
925
|
Publish adjacency slabs and clear dirty flag.
|
|
926
926
|
|
|
@@ -948,7 +948,7 @@ Internal fast slab activation helpers extracted from network.slab.utils.ts.
|
|
|
948
948
|
|
|
949
949
|
### _activateThroughLegacyPath
|
|
950
950
|
|
|
951
|
-
`(network: import("
|
|
951
|
+
`(network: import("src/architecture/network").default, input: number[]) => number[]`
|
|
952
952
|
|
|
953
953
|
Executes legacy network activation fallback.
|
|
954
954
|
|
|
@@ -971,7 +971,7 @@ Returns: True if fast path can be safely used.
|
|
|
971
971
|
|
|
972
972
|
### _collectFastSlabOutput
|
|
973
973
|
|
|
974
|
-
`(network: import("
|
|
974
|
+
`(network: import("src/architecture/network").default, activationBuffer: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>, nodeCount: number) => number[]`
|
|
975
975
|
|
|
976
976
|
Collects output activations into detached number array.
|
|
977
977
|
|
|
@@ -996,7 +996,7 @@ Returns: New typed buffer.
|
|
|
996
996
|
|
|
997
997
|
### _ensureFastSlabBuffers
|
|
998
998
|
|
|
999
|
-
`(internalNet: import("
|
|
999
|
+
`(internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps, nodeCount: number) => void`
|
|
1000
1000
|
|
|
1001
1001
|
Ensures fast activation/state buffers are allocated and shape-compatible.
|
|
1002
1002
|
|
|
@@ -1008,7 +1008,7 @@ Returns: Nothing.
|
|
|
1008
1008
|
|
|
1009
1009
|
### _hasFastSlabPrerequisites
|
|
1010
1010
|
|
|
1011
|
-
`(internalNet: import("
|
|
1011
|
+
`(internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps) => boolean`
|
|
1012
1012
|
|
|
1013
1013
|
Checks whether core slab prerequisites are available.
|
|
1014
1014
|
|
|
@@ -1019,7 +1019,7 @@ Returns: True when all required slabs/adjacency arrays exist.
|
|
|
1019
1019
|
|
|
1020
1020
|
### _maybeActivateNonInputNode
|
|
1021
1021
|
|
|
1022
|
-
`(network: import("
|
|
1022
|
+
`(network: import("src/architecture/network").default, node: import("src/architecture/network/slab/network.slab.utils.types").FastSlabNodeRuntime, nodeIndex: number, stateBuffer: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>, activationBuffer: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>) => void`
|
|
1023
1023
|
|
|
1024
1024
|
Activates one non-input node when required.
|
|
1025
1025
|
|
|
@@ -1047,7 +1047,7 @@ Returns: True when replacement is needed.
|
|
|
1047
1047
|
|
|
1048
1048
|
### _prepareFastSlabRuntime
|
|
1049
1049
|
|
|
1050
|
-
`(network: import("
|
|
1050
|
+
`(network: import("src/architecture/network").default, internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps, reindexNodes: (network: import("src/architecture/network").default) => void) => void`
|
|
1051
1051
|
|
|
1052
1052
|
Prepares topology and indices for fast slab pass.
|
|
1053
1053
|
|
|
@@ -1060,7 +1060,7 @@ Returns: Nothing.
|
|
|
1060
1060
|
|
|
1061
1061
|
### _propagateFastSlabActivations
|
|
1062
1062
|
|
|
1063
|
-
`(network: import("
|
|
1063
|
+
`(network: import("src/architecture/network").default, internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps, topoOrder: import("src/architecture/network/slab/network.slab.utils.types").FastSlabNodeRuntime[], activationBuffer: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>, stateBuffer: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>) => void`
|
|
1064
1064
|
|
|
1065
1065
|
Propagates activations through topology using slab arrays.
|
|
1066
1066
|
|
|
@@ -1075,7 +1075,7 @@ Returns: Nothing.
|
|
|
1075
1075
|
|
|
1076
1076
|
### _propagateNodeOutgoingEdges
|
|
1077
1077
|
|
|
1078
|
-
`(internalNet: import("
|
|
1078
|
+
`(internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps, nodeIndex: number, activationBuffer: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>, stateBuffer: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>, weightArray: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>, toIndexArray: Uint32Array<ArrayBufferLike>, outgoingOrder: Uint32Array<ArrayBufferLike>, outgoingStartIndices: Uint32Array<ArrayBufferLike>) => void`
|
|
1079
1079
|
|
|
1080
1080
|
Propagates one node activation over all outgoing slab edges.
|
|
1081
1081
|
|
|
@@ -1093,7 +1093,7 @@ Returns: Nothing.
|
|
|
1093
1093
|
|
|
1094
1094
|
### _recomputeTopologyOrder
|
|
1095
1095
|
|
|
1096
|
-
`(network: import("
|
|
1096
|
+
`(network: import("src/architecture/network").default) => void`
|
|
1097
1097
|
|
|
1098
1098
|
Recomputes topological order on demand.
|
|
1099
1099
|
|
|
@@ -1104,7 +1104,7 @@ Returns: Nothing.
|
|
|
1104
1104
|
|
|
1105
1105
|
### _resolveFastTopoOrder
|
|
1106
1106
|
|
|
1107
|
-
`(network: import("
|
|
1107
|
+
`(network: import("src/architecture/network").default, internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps) => import("src/architecture/network/slab/network.slab.utils.types").FastSlabNodeRuntime[]`
|
|
1108
1108
|
|
|
1109
1109
|
Resolves topological iteration order for fast slab pass.
|
|
1110
1110
|
|
|
@@ -1116,7 +1116,7 @@ Returns: Topological node order.
|
|
|
1116
1116
|
|
|
1117
1117
|
### _resolveWeightedConnectionValue
|
|
1118
1118
|
|
|
1119
|
-
`(internalNet: import("
|
|
1119
|
+
`(internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps, weightArray: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>, connectionIndex: number) => number`
|
|
1120
1120
|
|
|
1121
1121
|
Resolves effective connection weight including optional gain.
|
|
1122
1122
|
|
|
@@ -1129,7 +1129,7 @@ Returns: Effective weighted value.
|
|
|
1129
1129
|
|
|
1130
1130
|
### _seedFastInputLayer
|
|
1131
1131
|
|
|
1132
|
-
`(network: import("
|
|
1132
|
+
`(network: import("src/architecture/network").default, input: number[], activationBuffer: Float32Array<ArrayBufferLike> | Float64Array<ArrayBufferLike>) => void`
|
|
1133
1133
|
|
|
1134
1134
|
Seeds input-layer activations for fast slab pass.
|
|
1135
1135
|
|
|
@@ -1142,7 +1142,7 @@ Returns: Nothing.
|
|
|
1142
1142
|
|
|
1143
1143
|
### _tryFastSlabFallbackForGating
|
|
1144
1144
|
|
|
1145
|
-
`(network: import("
|
|
1145
|
+
`(network: import("src/architecture/network").default, input: number[]) => number[] | null`
|
|
1146
1146
|
|
|
1147
1147
|
Falls back to legacy activation when gating is present.
|
|
1148
1148
|
|
|
@@ -1154,7 +1154,7 @@ Returns: Legacy output or null when fast path may continue.
|
|
|
1154
1154
|
|
|
1155
1155
|
### _tryFastSlabFallbackForMissingPrerequisites
|
|
1156
1156
|
|
|
1157
|
-
`(network: import("
|
|
1157
|
+
`(network: import("src/architecture/network").default, internalNet: import("src/architecture/network/slab/network.slab.utils.types").NetworkSlabProps, input: number[]) => number[] | null`
|
|
1158
1158
|
|
|
1159
1159
|
Falls back to legacy activation when slab prerequisites are missing.
|
|
1160
1160
|
|
|
@@ -1167,7 +1167,7 @@ Returns: Legacy output or null when fast path may continue.
|
|
|
1167
1167
|
|
|
1168
1168
|
### _writeInputNodeRuntime
|
|
1169
1169
|
|
|
1170
|
-
`(node: import("
|
|
1170
|
+
`(node: import("src/architecture/node").default, inputValue: number) => void`
|
|
1171
1171
|
|
|
1172
1172
|
Writes runtime activation/state for one input node.
|
|
1173
1173
|
|