(git:d18deda)
Loading...
Searching...
No Matches
torch_api::torch_model_get_attr Interface Reference

Public Member Functions

subroutine torch_model_get_attr_string (model, key, dest)
 Retrieves an attribute from a Torch model. Must be called before torch_model_freeze.
 
subroutine torch_model_get_attr_double (model, key, dest)
 Retrieves an attribute from a Torch model. Must be called before torch_model_freeze.
 
subroutine torch_model_get_attr_int64 (model, key, dest)
 Retrieves an attribute from a Torch model. Must be called before torch_model_freeze.
 
subroutine torch_model_get_attr_int32 (model, key, dest)
 Retrieves an attribute from a Torch model. Must be called before torch_model_freeze.
 
subroutine torch_model_get_attr_strlist (model, key, dest)
 Retrieves a list attribute from a Torch model. Must be called before torch_model_freeze.
 

Detailed Description

Definition at line 67 of file torch_api.F.

Member Function/Subroutine Documentation

◆ torch_model_get_attr_string()

subroutine torch_api::torch_model_get_attr::torch_model_get_attr_string ( type(torch_model_type), intent(in)  model,
character(len=*), intent(in)  key,
character(len=default_string_length), intent(out)  dest 
)

Retrieves an attribute from a Torch model. Must be called before torch_model_freeze.

Author
Ole Schuett

Definition at line 1423 of file torch_api.F.

◆ torch_model_get_attr_double()

subroutine torch_api::torch_model_get_attr::torch_model_get_attr_double ( type(torch_model_type), intent(in)  model,
character(len=*), intent(in)  key,
real(dp), intent(out)  dest 
)

Retrieves an attribute from a Torch model. Must be called before torch_model_freeze.

Author
Ole Schuett

Definition at line 1392 of file torch_api.F.

◆ torch_model_get_attr_int64()

subroutine torch_api::torch_model_get_attr::torch_model_get_attr_int64 ( type(torch_model_type), intent(in)  model,
character(len=*), intent(in)  key,
integer(kind=int_8), intent(out)  dest 
)

Retrieves an attribute from a Torch model. Must be called before torch_model_freeze.

Author
Ole Schuett

Definition at line 1361 of file torch_api.F.

◆ torch_model_get_attr_int32()

subroutine torch_api::torch_model_get_attr::torch_model_get_attr_int32 ( type(torch_model_type), intent(in)  model,
character(len=*), intent(in)  key,
integer, intent(out)  dest 
)

Retrieves an attribute from a Torch model. Must be called before torch_model_freeze.

Author
Ole Schuett

Definition at line 1455 of file torch_api.F.

◆ torch_model_get_attr_strlist()

subroutine torch_api::torch_model_get_attr::torch_model_get_attr_strlist ( type(torch_model_type), intent(in)  model,
character(len=*), intent(in)  key,
character(len=default_string_length), dimension(:), allocatable  dest 
)

Retrieves a list attribute from a Torch model. Must be called before torch_model_freeze.

Author
Ole Schuett

Definition at line 1470 of file torch_api.F.


The documentation for this interface was generated from the following file: