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

Method constructor

tfjs-backend-webgpu/src/buffer_manager.ts:27–27  ·  view source on GitHub ↗
(private device: GPUDevice)

Source from the content-addressed store, hash-verified

25 public numBytesAllocated = 0;
26
27 constructor(private device: GPUDevice) {}
28
29 acquireBuffer(
30 size: number, usage: GPUBufferUsageFlags, mappedAtCreation = false,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected