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

Method dispose

tfjs-backend-webgpu/src/backend_webgpu.ts:1042–1052  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1040 }
1041
1042 override dispose() {
1043 if (this.disposed) {
1044 return;
1045 }
1046 if (this.querySet != null) {
1047 this.querySet.destroy();
1048 }
1049 this.bufferManager.dispose();
1050 this.textureManager.dispose();
1051 this.disposed = true;
1052 }
1053}

Callers 8

timeMatmulFunction · 0.45
createTensorFromGPUTestFunction · 0.45
matmulBatchTestFunction · 0.45
castFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected