Get Started
from fasterai.sparse.all import * from fastai.vision.all import * learn = Learner(dls, model) sp_cb = SparsifyCallback(sparsity, granularity, context, criteria, schedule) learn.fit(epochs, lr, cbs=sp_cb)
Sparsification
Pruning
Distillation
Regularization
Quantization