def __init__(self, inputs, targets=None, name="dataset", keep_on_cpu=False):
        self.name = name
        self.keep_on_cpu = keep_on_cpu
        self.inputs = inputs
        self.targets = targets
        self.symb_inputs = T.TensorVariable(type=T.TensorType("floatX", [False]*self.inputs.ndim),
                                            name=self.name+'_symb_inputs')
        self.symb_inputs.tag.test_value = self.inputs.get_value()  # For debugging Theano graphs.

        self.symb_targets = None
        if self.has_targets:
            self.symb_targets = T.TensorVariable(type=T.TensorType("floatX", [False]*self.targets.ndim),
                                                 name=self.name+'_symb_targets')
            self.symb_targets.tag.test_value = self.targets.get_value()  # For debugging Theano graphs.
Parameters
dataset/ETHPy150Open SMART-Lab/smartlearner/smartlearner/interfaces/dataset.py/Dataset.__init__