IR2Vec
Loading...
Searching...
No Matches
OpenKE.module.BaseModule.BaseModule Class Reference
Inheritance diagram for OpenKE.module.BaseModule.BaseModule:
Collaboration diagram for OpenKE.module.BaseModule.BaseModule:

Public Member Functions

 __init__ (self)
 
 load_checkpoint (self, path)
 
 save_checkpoint (self, path)
 
 load_parameters (self, path)
 
 save_parameters (self, path)
 
 get_parameters (self, mode="numpy", param_dict=None)
 
 set_parameters (self, parameters)
 

Public Attributes

 zero_const = nn.Parameter(torch.Tensor([0]))
 
 pi_const = nn.Parameter(torch.Tensor([3.14159265358979323846]))
 

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