code: @Override
      public INDArray ones(int[] shape) {
          INDArray ret = createUninitialized(shape, Nd4j.order());
          ret.assign(1);
          return ret;
      }
docs: Create an ndarray of ones
  
  @param shape the shape of the ndarray
  @return an ndarray with ones filled in