gigl.src.training.v1.lib.BaseTrainer#

class gigl.src.training.v1.lib.base_trainer.BaseTrainer(*args, **kwargs)#

Bases: BaseModelOperationsProtocol

Methods

__init__

eval

init_model

setup_for_training

train

__init__(*args, **kwargs)#
classmethod __init_subclass__(*args, **kwargs)#

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__subclasshook__()#

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

__weakref__#

list of weak references to the object (if defined)