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

Function nodeBackend

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

Source from the content-addressed store, hash-verified

703
704/** Returns an instance of the Node.js backend. */
705export function nodeBackend(): NodeJSKernelBackend {
706 return tf.findBackend('tensorflow') as NodeJSKernelBackend;
707}
708
709/** Returns the TF dtype for a given DataType. */
710export function getTFDType(dataType: tf.DataType): number {

Callers 14

loadSavedModelFunction · 0.90
getNumOfSavedModelsFunction · 0.90
decodeJpegFunction · 0.90
decodePngFunction · 0.90
decodeBmpFunction · 0.90
decodeGifFunction · 0.90
backendEncodeImageFunction · 0.90
constructorMethod · 0.90
summaryFileWriterFunction · 0.90
getTFDTypeFunction · 0.85

Calls 1

findBackendMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…