torchsample.models module
torchsample.models module#
- class torchsample.models.MLP(*layers, activation=None)[source]#
Bases:
torch.nn.modules.module.Module
Multi Layer Perceptron.
Applies the MLP to the final dimension of input tensor.
Bases: torch.nn.modules.module.Module
Multi Layer Perceptron.
Applies the MLP to the final dimension of input tensor.