ytm._core.initializer.TAInit#
- class ytm._core.initializer.TAInit#
Bases:
ABCBase class for TA initializers, passed as
ta_initto a model.Subclasses implement
__call__, which gets the model’s RNG, its config and the initial clause weights of shape(n_classes, n_clauses), and returns the initial TA states of shape(total_clauses, n_literals).