code: @Deprecated
      public SDVariable constant(String name, SDVariable value, long... shape) {
          SDVariable ret = f().constant(value, shape);
          return updateVariableNameAndReference(ret, name);
      }
docs: Return a variable of given shape in which all values have a given constant value.
  
  @param name  Name of the new SDVariable
  @param value constant to set for each value
  @param shape shape of the variable as long array
  @return A new SDVariable of provided shape with constant value.