Interface: SequentialLayer
Defined in: ml/model.ts:138
A layer in a straight-line model; id is derived when omitted.
Extends
Omit<ModelNode,"id">
Properties
flops?
ts
optional flops?: number;Defined in: ml/model.ts:26
Multiply-accumulates / FLOPs, if known.
Inherited from
group?
ts
optional group?: string;Defined in: ml/model.ts:28
Block or stage the layer belongs to ("layer1", "encoder.3", …).
Inherited from
id?
ts
optional id?: string;Defined in: ml/model.ts:139
name?
ts
optional name?: string;Defined in: ml/model.ts:18
Display name. Defaults to id.
Inherited from
params?
ts
optional params?: number;Defined in: ml/model.ts:24
Trainable parameter count.
Inherited from
shape?
ts
optional shape?: number[];Defined in: ml/model.ts:22
Output tensor shape with the batch dim dropped, e.g. [64, 112, 112].
Inherited from
type
ts
type: string;Defined in: ml/model.ts:20
Layer or op class: "Conv2d", "Linear", "ReLU", "Add", …