Skip to content

Interface: KerasModelConfig

Defined in: ml/model.ts:342

A Keras model config: json.loads(model.to_json()).

Properties

class_name?

ts
optional class_name?: string;

Defined in: ml/model.ts:344

"Sequential" | "Functional" | "Model".


config?

ts
optional config?: {
  layers?: KerasLayerConfig[];
  name?: string;
};

Defined in: ml/model.ts:345

layers?

ts
optional layers?: KerasLayerConfig[];

name?

ts
optional name?: string;

layers?

ts
optional layers?: KerasLayerConfig[];

Defined in: ml/model.ts:347

Some exports hoist the layer list to the top level.

MIT licensed. WebGL2 required.