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

Method getConfig

tfjs-layers/src/layers/preprocessing/random_width.ts:98–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 }
97
98 override getConfig(): serialization.ConfigDict {
99 const config: serialization.ConfigDict = {
100 'factor': this.factor,
101 'interpolation': this.interpolation,
102 };
103
104 const baseConfig = super.getConfig();
105 Object.assign(config, baseConfig);
106 return config;
107 }
108
109 override computeOutputShape(inputShape: Shape|Shape[]): Shape|Shape[] {
110 inputShape = getExactlyOneShape(inputShape);

Callers

nothing calls this directly

Calls 1

assignMethod · 0.80

Tested by

no test coverage detected