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

Method fromConfig

tfjs-core/src/optimizers/rmsprop_optimizer.ts:208–213  ·  view source on GitHub ↗

@nocollapse

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

Source from the content-addressed store, hash-verified

206
207 /** @nocollapse */
208 static override fromConfig<T extends Serializable>(
209 cls: SerializableConstructor<T>, config: ConfigDict): T {
210 return new cls(
211 config['learningRate'], config['decay'], config['momentum'],
212 config['epsilon'], config['centered']);
213 }
214}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected