public SDVariable reshape(String name, SDVariable x, SDVariable shape) {
    SDValidation.validateNumerical("reshape", "shape", shape);
    SDVariable out =  new org.nd4j.linalg.api.ops.impl.shape.Reshape(sd,x, shape).outputVariable();
    return sd.updateVariableNameAndReference(out, name);
  }