MCPcopy Create free account
hub / github.com/tensorflow/tfjs / write

Method write

tfjs-node/src/nodejs_kernel_backend.ts:276–281  ·  view source on GitHub ↗
(values: backend_util.BackendValues, shape: number[], dtype: DataType)

Source from the content-addressed store, hash-verified

274 }
275
276 write(values: backend_util.BackendValues, shape: number[], dtype: DataType):
277 DataId {
278 const dataId = {};
279 this.move(dataId, values, shape, dtype, 1);
280 return dataId;
281 }
282
283 applyActivation<T extends Tensor>(
284 input: T, activation: string, preluActivationWeights?: Tensor,

Callers

nothing calls this directly

Calls 1

moveMethod · 0.95

Tested by

no test coverage detected