TensorPrimitives.IsNegativeInfinityAny<T>(ReadOnlySpan<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes whether any of the values in the specified tensor is negative infinity.
public:
generic <typename T>
where T : System::Numerics::INumberBase<T> static bool IsNegativeInfinityAny(ReadOnlySpan<T> x);
public static bool IsNegativeInfinityAny<T>(ReadOnlySpan<T> x) where T : System.Numerics.INumberBase<T>;
static member IsNegativeInfinityAny : ReadOnlySpan<'T (requires 'T :> System.Numerics.INumberBase<'T>)> -> bool (requires 'T :> System.Numerics.INumberBase<'T>)
Public Shared Function IsNegativeInfinityAny(Of T As INumberBase(Of T)) (x As ReadOnlySpan(Of T)) As Boolean
Type Parameters
- T
Parameters
The tensor, represented as a span.
Returns
true
if any of the values in x
is negative infinity; otherwise, false
.
If x
is empty, false
is returned.