MCPcopy Create free account
hub / github.com/Sunset-Studios/Sundown / stack

Method stack

engine/src/ml/math/tensor.js:488–511  ·  view source on GitHub ↗

* Utility to stack tensors. * This function takes an array of tensors and combines them into a single tensor * by stacking them along a new first dimension. The resulting tensor will have * a shape that reflects the number of tensors stacked and the shape of the * individual tensors. It

(tensors, reference_tensor = null, immediate = false)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

forwardMethod · 0.80
combine_inputsMethod · 0.80
nextMethod · 0.80

Calls 3

zerosMethod · 0.80
setMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected