MCPcopy
hub / github.com/tensorflow/tfjs / apply

Method apply

tfjs-layers/src/initializers.ts:56–58  ·  view source on GitHub ↗
(shape: Shape, dtype?: DataType)

Source from the content-addressed store, hash-verified

54 static className = 'Zeros';
55
56 apply(shape: Shape, dtype?: DataType): Tensor {
57 return zeros(shape, dtype);
58 }
59}
60serialization.registerClass(Zeros);
61

Callers

nothing calls this directly

Calls 1

zerosFunction · 0.90

Tested by

no test coverage detected