MCPcopy Index your code
hub / github.com/tensorflow/tfjs / getConfig

Method getConfig

tfjs-layers/src/layers/nlp/models/preprocessor.ts:50–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 }
49
50 override getConfig(): serialization.ConfigDict {
51 const config = super.getConfig();
52 config.tokenizer = serializeKerasObject(this.tokenizer);
53 return config;
54 }
55
56 static override fromConfig<T extends serialization.Serializable>(
57 cls: serialization.SerializableConstructor<T>,

Callers

nothing calls this directly

Calls 1

serializeKerasObjectFunction · 0.90

Tested by

no test coverage detected