function boolTensor(value) {
    return new Tensor('bool', [value], [1]);
}
Creates a boolean tensor with a single value.
@param {boolean} value The value of the tensor.
@returns {Tensor} The boolean tensor.
@private