function ones(size) {
    return fullHelper(size, 1n, 'int64', BigInt64Array);
}
Returns a tensor filled with the scalar value 1, with the shape defined by the variable argument size.
@param {number[]} size A sequence of integers defining the shape of the output tensor.
@returns {Tensor} The ones tensor.