Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 94d95ff

Browse files
committedJan 6, 2025·
Add section for derived types and enums
1 parent a1ba55c commit 94d95ff

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)
Please sign in to comment.