tabensemb.model.TorchModelWrapper#
- class tabensemb.model.TorchModelWrapper(model: TorchModel)[source]#
Bases:
AbstractWrapperMethods
- __init__(model: TorchModel)[source]#
Reset the overridden forward method of the torch.nn.Module to ensure pickling compatibility.
Override the forward method of a torch.nn.Module to record hidden representations.