ReadOnlyTensorSpan<T>.IsEmpty Property

Definition

Gets a value indicating whether this TensorSpan<T> is empty.

C#
public bool IsEmpty { get; }

Property Value

true if this span is empty; otherwise, false.

Applies to

Product Versions
.NET 8 (package-provided), 9 (package-provided)