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

Function fromConfig

tfjs-core/src/serialization.ts:117–120  ·  view source on GitHub ↗

@nocollapse

(
      cls: SerializableConstructor<T>, config: ConfigDict)

Source from the content-addressed store, hash-verified

115 */
116 /** @nocollapse */
117 static fromConfig<T extends Serializable>(
118 cls: SerializableConstructor<T>, config: ConfigDict): T {
119 return new cls(config);
120 }
121}
122
123/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…