public SDVariable one(String name, int[] shape) {
        return var(name, ArrayUtil.toLongArray(shape), new ConstantInitScheme('f', 1.0));
    }
public SDVariable one(String name, int[] shape) {
        return var(name, ArrayUtil.toLongArray(shape), new ConstantInitScheme('f', 1.0));
    }
public SDVariable one ( String name , int [ ] shape ) { return var ( name , ArrayUtil . toLongArray ( shape ) , new ConstantInitScheme ( ' ' , 1.0 ) ) ; }
Variable initialization
with 1.0

@param name  the opName of the variable
@param shape the shape of the array to be created
@return the created variable
Variable initialization with 1 . 0