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

Function ensureTensorflowBackend

tfjs-node/src/nodejs_kernel_backend.ts:781–786  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

779}
780
781export function ensureTensorflowBackend() {
782 tf.util.assert(
783 tf.getBackend() === 'tensorflow',
784 () => `Expect the current backend to be "tensorflow", but got "${
785 tf.getBackend()}"`);
786}

Callers 11

loadSavedModelFunction · 0.90
getNumOfSavedModelsFunction · 0.90
decodeJpegFunction · 0.90
decodePngFunction · 0.90
decodeBmpFunction · 0.90
decodeGifFunction · 0.90
encodeJpegFunction · 0.90
encodePngFunction · 0.90
constructorMethod · 0.90
summaryFileWriterFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…