Skip to content

Interface: KerasAdapterOptions

Defined in: ml/model.ts:351

Keras adapter options — output shapes come from [l.output_shape for l in model.layers].

Extends

Properties

name?

ts
optional name?: string;

Defined in: ml/model.ts:205

Inherited from

AdapterOptions.name


params?

ts
optional params?: Record<string, number>;

Defined in: ml/model.ts:355

Layer name → parameter count (l.count_params()).


shapes?

ts
optional shapes?: Record<string, number[]>;

Defined in: ml/model.ts:353

Layer name → output shape (batch dim already dropped).


skipOps?

ts
optional skipOps?: string[];

Defined in: ml/model.ts:207

fx ops to drop before building the graph. Default ["get_attr"].

Inherited from

AdapterOptions.skipOps

MIT licensed. WebGL2 required.