Contents
API Reference
Bases: Module
Module
config (int or tuple or list) – Configuration of the hidden layer(s)
n_classes (int) – Number of classes for classification
x (torch.Tensor) – Input tensor
Returns output tensor of size n_classes, Note that torch.nn.Softmax is not applied to the output tensor.
torch.Tensor