def get_total_input_dimension(self, layers):
        self._validate_layer_names(layers)
        total = 0
        for layer in self.layers:
            if layer.layer_name in layers:
                total += layer.get_input_space().get_total_dimension()
        return total
Get the total number of inputs to the layers whose
dataset/ETHPy150Open lisa-lab/pylearn2/pylearn2/models/mlp.py/MLP.get_total_input_dimension