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

Method getConfig

tfjs-layers/src/layers/preprocessing/image_resizing.ts:73–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71 }
72
73 override getConfig(): serialization.ConfigDict {
74 const config: serialization.ConfigDict = {
75 'height': this.height,
76 'width': this.width,
77 'interpolation': this.interpolation,
78 'cropToAspectRatio': this.cropToAspectRatio
79 };
80
81 const baseConfig = super.getConfig();
82 Object.assign(config, baseConfig);
83 return config;
84 }
85
86 override call(inputs: Tensor<Rank.R3>|Tensor<Rank.R4>, kwargs: Kwargs):
87 Tensor[]|Tensor {

Callers

nothing calls this directly

Calls 1

assignMethod · 0.80

Tested by

no test coverage detected