def flatten(x):
    x = T.reshape(x, (x.shape[0], T.prod(x.shape) // x.shape[0]))
    return x
@see: L{ISFTPFile.writeChunk}
dataset/ETHPy150Open sharadmv/deepx/deepx/backend/theano_backend.py/flatten--crossover with--dataset/ETHPy150Open twisted/twisted/twisted/conch/test/test_cftp.py/InMemoryRemoteFile.close