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

Method buffer

tfjs-core/src/tensor.ts:196–196  ·  view source on GitHub ↗
(
      shape: ShapeMap[R], dtype: D,
      values?: DataTypeMap[D])

Source from the content-addressed store, hash-verified

194export interface OpHandler {
195 cast<T extends Tensor>(x: T, dtype: DataType): T;
196 buffer<R extends Rank, D extends DataType>(
197 shape: ShapeMap[R], dtype: D,
198 values?: DataTypeMap[D]): TensorBuffer<R, D>;
199 print<T extends Tensor>(x: T, verbose: boolean): void;

Callers 9

tensor_test.tsFile · 0.65
buffer_test.tsFile · 0.65
bufferMethod · 0.65
bufferSyncMethod · 0.65
batchnorm_test.tsFile · 0.65
mat_mul_test.tsFile · 0.65
webgl_ops_test.tsFile · 0.65

Implementers 1

Tensortfjs-core/src/tensor.ts

Calls

no outgoing calls

Tested by

no test coverage detected