type alias Layerimport { type Layer } from "https://deno.land/x/netsaur@0.2.12/src/core/api/layer.ts"; Layer is the base type for all layers. definition: | { type: LayerType.Activation; config: ActivationLayerConfig; } | { type: LayerType.Conv2D; config: Conv2DLayerConfig; } | { type: LayerType.ConvTranspose2D; config: ConvTranspose2DLayerConfig; } | { type: LayerType.Dense; config: DenseLayerConfig; } | { type: LayerType.Dropout1D; config: DropoutLayerConfig; } | { type: LayerType.Dropout2D; config: DropoutLayerConfig; } | { type: LayerType.Flatten; config: FlattenLayerConfig; } | { type: LayerType.Pool2D; config: Pool2DLayerConfig; } | { type: LayerType.BatchNorm1D; config: BatchNormLayerConfig; } | { type: LayerType.BatchNorm2D; config: BatchNormLayerConfig; } | { type: LayerType.Softmax; }