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

Function toJSON

tfjs-layers/src/engine/container.ts:721–724  ·  view source on GitHub ↗
(unused?: any, returnString = true)

Source from the content-addressed store, hash-verified

719 */
720 // tslint:disable-next-line:no-any
721 toJSON(unused?: any, returnString = true): string|PyJsonDict {
722 const modelConfig = convertTsToPythonic(this.updatedConfig()) as PyJsonDict;
723 return returnString ? JSON.stringify(modelConfig) : modelConfig;
724 }
725
726 /**
727 * Call the model on new inputs.

Callers

nothing calls this directly

Calls 1

convertTsToPythonicFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…