if_load

Function

Specifies whether to load a trained model.

Prototype

1
2
@property
 def if_load(self)

Return Value

  • True: loads a trained model.
  • False: does not load a trained model.

Example

1
2
from mx_rec.util.initialize import ConfigInitializer
if_load = ConfigInitializer.get_instance().if_load