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

Method getConfig

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

Source from the content-addressed store, hash-verified

359 }
360
361 override getConfig(): serialization.ConfigDict {
362 const config: serialization.ConfigDict = {};
363 if (this.dataFormat != null) {
364 config['dataFormat'] = this.dataFormat;
365 }
366 const baseConfig = super.getConfig();
367 Object.assign(config, baseConfig);
368 return config;
369 }
370}
371serialization.registerClass(Flatten);
372

Callers

nothing calls this directly

Calls 2

assignMethod · 0.80
getConfigMethod · 0.45

Tested by

no test coverage detected