load()#
- abstract classmethod _ParametricOperator.load(loadfile: str)[source]#
Load a parametric operator from an HDF5 file.
Some classes may require more arguments for operator attributes that cannot be serialized. Child classes should implement this method as a
@classmethod
.- Parameters
- loadfilestr
Path to the file where the operator was stored via
save()
.
- Returns
- op_Operator
Initialized operator object.