peal.generators.deeplift_resnet.DeepLiftResNet18

peal.generators.deeplift_resnet.DeepLiftResNet18(num_classes=1000)[source]

DeepLift-compatible ResNet-18 (basic blocks [2, 2, 2, 2]).

Parameters:

num_classes (int) – Output width of the classifier head.

Returns:

A randomly initialised model.

Return type:

DeepLiftResNet