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

Method getMap

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

* Returns the singleton instance of the map.

()

Source from the content-addressed store, hash-verified

142 * Returns the singleton instance of the map.
143 */
144 static getMap(): SerializationMap {
145 if (SerializationMap.instance == null) {
146 SerializationMap.instance = new SerializationMap();
147 }
148 return SerializationMap.instance;
149 }
150
151 /**
152 * Registers the class as serializable.

Callers 8

deserializeConstraintFunction · 0.80
deserializeInitializerFunction · 0.80
deserializeRegularizerFunction · 0.80
deserializeActivationFunction · 0.80
deserializeFunction · 0.80
fromConfigMethod · 0.80
registerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected