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

Function setModel

tfjs-layers/src/callbacks.ts:23–28  ·  view source on GitHub ↗
(model: Container)

Source from the content-addressed store, hash-verified

21 model: LayersModel = null;
22
23 override setModel(model: Container): void {
24 if (!(model instanceof LayersModel)) {
25 throw new Error('model must be a LayersModel, not some other Container');
26 }
27 this.model = model;
28 }
29}
30
31export interface EarlyStoppingCallbackArgs {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…