MCPcopy Create free account
hub / github.com/tensorflow/tfjs / constructor

Method constructor

tfjs-layers/src/models_test.ts:1870–1872  ·  view source on GitHub ↗
(includeWeights = true)

Source from the content-addressed store, hash-verified

1868 private readonly includeWeights: boolean;
1869
1870 constructor(includeWeights = true) {
1871 this.includeWeights = includeWeights;
1872 }
1873
1874 async load(): Promise<io.ModelArtifacts> {
1875 return this.includeWeights ? {modelTopology, weightSpecs, weightData} :

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected