import torch


def _featurize(inputs,model):
    """
    Helper function used to featurize exemplars before feeding into
    buffer.
    """
    with torch.no_grad():
        # Forward pass
        outputs = model(*inputs).detach() #Featurize raw exem

    return outputs