JINetModel
- class aydin.nn.models.jinet.JINetModel(spacetime_ndim, nb_in_channels: int = 1, nb_out_channels: int = 1, kernel_sizes=None, num_features=None, nb_dense_layers: int = 3, nb_channels: Optional[int] = None, final_relu: bool = False, degressive_residuals: bool = False)[source]
- forward(x)[source]
Defines the computation performed at every call.
Should be overridden by all subclasses.
Note
Although the recipe for forward pass needs to be defined within this function, one should call the
Module
instance afterwards instead of this since the former takes care of running the registered hooks while the latter silently ignores them.