Type for holding a torch neural net (nn.Module).
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
type(c_ptr), | public | :: | p | = | c_null_ptr |
pointer to the neural net in memory |
type torch_model type(c_ptr) :: p = c_null_ptr !! pointer to the neural net in memory end type torch_model