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

Method makeVariable

tfjs-core/src/tensor.ts:180–180  ·  view source on GitHub ↗
(
      initialValue: Tensor, trainable?: boolean, name?: string,
      dtype?: DataType)

Source from the content-addressed store, hash-verified

178 values: DataValues, shape: number[], dtype: DataType,
179 backend?: Backend): Tensor;
180 makeVariable(
181 initialValue: Tensor, trainable?: boolean, name?: string,
182 dtype?: DataType): Variable;
183 incRef(a: Tensor, backend: Backend): void;

Callers 2

variableMethod · 0.65
variableFunction · 0.65

Implementers 1

Enginetfjs-core/src/engine.ts

Calls

no outgoing calls

Tested by

no test coverage detected