'Convenience function to create and add a deconvolution callback. The data can
be used for visualization.
Arguments:
train_set (NervanaDataIterator): the train dataset to use
valid_set (NervanaDataIterator):the validation dataset to use
max_fm:  (Default value = 16)
dataset_pct:  (Default value = 25)'

def add_deconv_callback(self, train_set, valid_set, max_fm=16, dataset_pct=25):

    self.add_callback(DeconvCallback(train_set, valid_set, max_fm=max_fm, dataset_pct=dataset_pct))
