MCPcopy Index your code
hub / github.com/tensorflow/tfjs / write

Method write

tfjs-core/src/backends/backend.ts:36–36  ·  view source on GitHub ↗
(values: BackendValues, shape: number[], dtype: DataType)

Source from the content-addressed store, hash-verified

34 readSync(dataId: DataId): BackendValues;
35 disposeData(dataId: DataId, force?: boolean): boolean;
36 write(values: BackendValues, shape: number[], dtype: DataType): DataId;
37 move(
38 dataId: DataId, values: BackendValues, shape: number[], dtype: DataType,
39 refCount: number): void;

Callers 15

pumpMethod · 0.65
updateFunction · 0.65
updateAddFunction · 0.65
updateSubFunction · 0.65
batchSetValueFunction · 0.65
variables_test.tsFile · 0.65
doMovingAverageMethod · 0.65
Square.tsFile · 0.65
transformFunction · 0.65
transposeFunction · 0.65
mirrorPadFunction · 0.65

Implementers 6

KernelBackendtfjs-core/src/backends/backend.ts
MathBackendCPUtfjs-backend-cpu/src/backend_cpu.ts
WebGPUBackendtfjs-backend-webgpu/src/backend_webgpu
NodeJSKernelBackendtfjs-node/src/nodejs_kernel_backend.ts
MathBackendWebGLtfjs-backend-webgl/src/backend_webgl.t
BackendWasmtfjs-backend-wasm/src/backend_wasm.ts

Calls

no outgoing calls