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

Method getConfig

tfjs-layers/src/layers/core.ts:97–106  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

95 }
96
97 override getConfig(): serialization.ConfigDict {
98 const config = {
99 rate: this.rate,
100 noiseShape: this.noiseShape,
101 seed: this.seed,
102 };
103 const baseConfig = super.getConfig();
104 Object.assign(config, baseConfig);
105 return config;
106 }
107
108 override dispose(): DisposeResult {
109 return super.dispose();

Callers

nothing calls this directly

Calls 2

assignMethod · 0.80
getConfigMethod · 0.45

Tested by

no test coverage detected