dagma.locally_connected.LocallyConnected¶
-
class dagma.locally_connected.LocallyConnected(num_linear: int, input_features: int, output_features: int, bias: bool =
True)¶ Bases:
torch.nn.ModuleImplements a local linear layer, i.e. Conv1dLocal() with filter size 1.
- Parameters:¶
Methods¶
forward(→ torch.Tensor)Implements the forward pass of the layer.
extra_repr(→ str)Returns a string with extra information from the layer.
Last update:
Jan 14, 2024