Skip to content

Interface: KerasLayerConfig

Defined in: ml/model.ts:330

One layer of a Keras config (json.loads(model.to_json())).

Properties

class_name

ts
class_name: string;

Defined in: ml/model.ts:331


config?

ts
optional config?: Record<string, unknown>;

Defined in: ml/model.ts:333


inbound_nodes?

ts
optional inbound_nodes?: unknown;

Defined in: ml/model.ts:338

Functional-API wiring. Keras 2 nests [["conv1", 0, 0, {}]] and Keras 3 nests keras_history — both are handled by scanning for known layer names.


name?

ts
optional name?: string;

Defined in: ml/model.ts:332

MIT licensed. WebGL2 required.