def reshape_t(x, shape):
 if (shape != ()):
  return x.reshape(shape)
 else:
  return x[0]

def reshape_t ( x , shape ) : if ( shape != ( ) ) : return x . reshape ( shape ) else : return x [ 0 ]
work around fact that x .