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

Method load

tfjs-node/src/io/file_system.ts:128–131  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

126 }
127 }
128 async load(): Promise<tf.io.ModelArtifacts> {
129 return Array.isArray(this.path) ? this.loadBinaryModel() :
130 this.loadJSONModel();
131 }
132
133 protected async loadBinaryModel(): Promise<tf.io.ModelArtifacts> {
134 const topologyPath = this.path[0];

Callers 2

node_http_test.tsFile · 0.45

Calls 2

loadBinaryModelMethod · 0.95
loadJSONModelMethod · 0.95

Tested by

no test coverage detected