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

Method clone

tfjs-core/src/tensor.ts:200–200  ·  view source on GitHub ↗
(x: T)

Source from the content-addressed store, hash-verified

198 values?: DataTypeMap[D]): TensorBuffer<R, D>;
199 print<T extends Tensor>(x: T, verbose: boolean): void;
200 clone<T extends Tensor>(x: T): T;
201 // TODO(yassogba) bring reshape back?
202}
203

Callers 15

cloneIfTensorFunction · 0.65
applyFunction · 0.65
mergeFunctionMethod · 0.65
mergeFunctionMethod · 0.65
mergeFunctionMethod · 0.65
resetStatesMethod · 0.65
resetStatesMethod · 0.65
generateDropoutMaskFunction · 0.65
Complex_test.tsFile · 0.65
getLogFilesFunction · 0.65
cloneMethod · 0.65
Cast_grad.tsFile · 0.65

Implementers 1

Tensortfjs-core/src/tensor.ts

Calls

no outgoing calls

Tested by

no test coverage detected