* (Re)Initializes the Tensor instance. * Called by both the constructor and the create() factory when recycling. * * @param {Array|ArrayBuffer|TypedArray|null} data - initial data. * @param {number[]} shape - tensor shape. * @param {Function} ArrayType - Typed array constructor.
(data, shape, batch_size = 1, ArrayType = Float32Array)
source not stored for this graph (policy: none)
no test coverage detected