__init__#
- Trainable.__init__(config: Dict[str, Any] = None, storage: StorageContext | None = None)[source]#
Initialize a Trainable.
Sets up logging and points
self.logdirto a directory in which training outputs should be placed.Subclasses should prefer defining
setup()instead of overriding__init__()directly.