Skip to content

Commit ea78a8c

Browse files
committed
Add section for derived types and enums
1 parent 1acd494 commit ea78a8c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/ftorch.F90

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ module ftorch
1313

1414
implicit none
1515

16+
! --- Derived types and enums
17+
1618
!> Type for holding a torch neural net (nn.Module).
1719
type torch_model
1820
type(c_ptr) :: p = c_null_ptr !! pointer to the neural net in memory

src/ftorch.fypp

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ module ftorch
3030

3131
implicit none
3232

33+
! --- Derived types and enums
34+
3335
!> Type for holding a torch neural net (nn.Module).
3436
type torch_model
3537
type(c_ptr) :: p = c_null_ptr !! pointer to the neural net in memory

0 commit comments

Comments
 (0)