

def call(self, x, mask=None):
    target_shape = self.target_shape
    if ((- 1) in self):
        input_shape = None
        if hasattr(x, '_keras_shape'):
            input_shape = x._keras_shape
        elif hasattr(K, 'int_shape'):
            input_shape = K.int_shape(x)
        if (input_shape is not None):
            target_shape = self.get_output_shape_for(input_shape)
    return K.reshape(x, (((- 1),) + target_shape))

dataset/ETHPy150Open fchollet/keras/keras/layers/core.py Reshape.call/VarMisuse@29/34 `target_shape`->`self`