Прочетете на английски

Споделяне чрез


Tensor.BitwiseOr Method

Definition

Overloads

BitwiseOr<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Computes the element-wise bitwise or of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

BitwiseOr<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Computes the element-wise bitwise of of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

BitwiseOr<T>(ReadOnlyTensorSpan<T>, T)

Computes the element-wise bitwise or of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

BitwiseOr<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Computes the element-wise bitwise of of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

BitwiseOr<T>(ReadOnlyTensorSpan<T>, T, TensorSpan<T>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Computes the element-wise bitwise or of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

C#
public static ref readonly System.Numerics.Tensors.TensorSpan<T> BitwiseOr<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IBitwiseOperators<T,T,T>;

Type Parameters

T

Parameters

y
T

The second value.

destination
TensorSpan<T>

Returns

Applies to

.NET 10 (package-provided) и други версии
Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)

BitwiseOr<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>, TensorSpan<T>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Computes the element-wise bitwise of of the two input ReadOnlyTensorSpan<T> and returns a new TensorSpan<T> with the result.

C#
public static ref readonly System.Numerics.Tensors.TensorSpan<T> BitwiseOr<T>(scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, scoped in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y, in System.Numerics.Tensors.TensorSpan<T> destination) where T : System.Numerics.IBitwiseOperators<T,T,T>;

Type Parameters

T

Parameters

destination
TensorSpan<T>

Returns

Applies to

.NET 10 (package-provided) и други версии
Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)

BitwiseOr<T>(ReadOnlyTensorSpan<T>, T)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Computes the element-wise bitwise or of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

C#
public static System.Numerics.Tensors.Tensor<T> BitwiseOr<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, T y) where T : System.Numerics.IBitwiseOperators<T,T,T>;

Type Parameters

T

Parameters

y
T

The second value.

Returns

Applies to

.NET 10 (package-provided) и други версии
Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)

BitwiseOr<T>(ReadOnlyTensorSpan<T>, ReadOnlyTensorSpan<T>)

Source:
TensorExtensions.cs
Source:
TensorExtensions.cs

Computes the element-wise bitwise of of the two input ReadOnlyTensorSpan<T> and returns a new Tensor<T> with the result.

C#
public static System.Numerics.Tensors.Tensor<T> BitwiseOr<T>(in System.Numerics.Tensors.ReadOnlyTensorSpan<T> x, in System.Numerics.Tensors.ReadOnlyTensorSpan<T> y) where T : System.Numerics.IBitwiseOperators<T,T,T>;

Type Parameters

T

Parameters

Returns

Applies to

.NET 10 (package-provided) и други версии
Продукт Версии
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)