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

Method getTexture

tfjs-backend-webgl/src/backend_webgl.ts:716–719  ·  view source on GitHub ↗
(dataId: DataId)

Source from the content-addressed store, hash-verified

714 }
715
716 getTexture(dataId: DataId): WebGLTexture {
717 this.uploadToGPU(dataId);
718 return this.texData.get(dataId).texture.texture;
719 }
720
721 /**
722 * Returns internal information for the specific data bucket. Used in unit

Callers 3

uploadToGPUMethod · 0.95
fromPixelsFunction · 0.80

Calls 2

uploadToGPUMethod · 0.95
getMethod · 0.45

Tested by

no test coverage detected