Exemplo n.º 1
0
 def LayerSetup(self, bottom):
     return _ops.Reshape(bottom, **self.arguments)
Exemplo n.º 2
0
def reshape(tensor, shape, name=None):

    return ops.Reshape(tensor, shape=shape, name=None)
Exemplo n.º 3
0
 def Setup(self, bottom):
     super(ReshapeLayer, self).Setup(bottom)
     input = bottom[0] if isinstance(bottom, list) else bottom
     return ops.Reshape(input, **self._param)