ShortOperations

Models & Types · AiDotNet.Tensors.NumericOperations

No summary documentation available yet.

Implements: INumericOperations<short>

Constructors

Constructor Summary
ShortOperations()

Properties

Property Summary
bool SupportsCpuAcceleration { get; }
bool SupportsGpuAcceleration { get; }
int PrecisionBits { get; }
short MaxValue { get; }
short MinValue { get; }
short One { get; }
short Zero { get; }

Methods

Method Summary
Half ToHalf(short value)
bool Equals(short a, short b)
bool GreaterThan(short a, short b)
bool GreaterThanOrEquals(short a, short b)
bool IsInfinity(short value)
bool IsNaN(short value)
bool LessThan(short a, short b)
bool LessThanOrEquals(short a, short b)
double ToDouble(short value)
float ToFloat(short value)
int Compare(short a, short b)
int ToInt32(short value)
short Abs(short value)
short Add(short a, short b)
short Ceiling(short value)
short Cos(short value)
short CosineSimilarity(ReadOnlySpan<short> x, ReadOnlySpan<short> y)
short Divide(short a, short b)
short Dot(ReadOnlySpan<short> x, ReadOnlySpan<short> y)
short Exp(short value)
short Floor(short value)
short Frac(short value)
short FromDouble(double value)
short FromFloat(float value)
short FromHalf(Half value)
short Log(short value)
short Max(ReadOnlySpan<short> x)
short Min(ReadOnlySpan<short> x)
short Multiply(short a, short b)
short Negate(short a)
short Power(short baseValue, short exponent)
short Round(short value)
short SignOrZero(short value)
short Sin(short value)
short Sqrt(short value)
short Square(short value)
short Subtract(short a, short b)
short Sum(ReadOnlySpan<short> x)
void Abs(ReadOnlySpan<short> x, Span<short> destination)
void Add(ReadOnlySpan<short> x, ReadOnlySpan<short> y, Span<short> destination)
void AddScalar(ReadOnlySpan<short> x, short scalar, Span<short> destination)
void Ceiling(ReadOnlySpan<short> x, Span<short> destination)
void Clip(ReadOnlySpan<short> x, short min, short max, Span<short> destination)
void Copy(ReadOnlySpan<short> source, Span<short> destination)
void Cos(ReadOnlySpan<short> x, Span<short> destination)
void Divide(ReadOnlySpan<short> x, ReadOnlySpan<short> y, Span<short> destination)
void DivideScalar(ReadOnlySpan<short> x, short scalar, Span<short> destination)
void ELU(ReadOnlySpan<short> x, short alpha, Span<short> destination)
void Exp(ReadOnlySpan<short> x, Span<short> destination)
void Fill(Span<short> destination, short value)
void Floor(ReadOnlySpan<short> x, Span<short> destination)
void Frac(ReadOnlySpan<short> x, Span<short> destination)
void FromFloatSpan(ReadOnlySpan<float> source, Span<short> destination)
void FromHalfSpan(ReadOnlySpan<Half> source, Span<short> destination)
void GELU(ReadOnlySpan<short> x, Span<short> destination)
void LeakyReLU(ReadOnlySpan<short> x, short alpha, Span<short> destination)
void Log(ReadOnlySpan<short> x, Span<short> destination)
void Log2(ReadOnlySpan<short> x, Span<short> destination)
void Mish(ReadOnlySpan<short> x, Span<short> destination)
void Multiply(ReadOnlySpan<short> x, ReadOnlySpan<short> y, Span<short> destination)
void MultiplyAdd(ReadOnlySpan<short> x, ReadOnlySpan<short> y, short scalar, Span<short> destination)
void MultiplyScalar(ReadOnlySpan<short> x, short scalar, Span<short> destination)
void Negate(ReadOnlySpan<short> x, Span<short> destination)
void Pow(ReadOnlySpan<short> x, short power, Span<short> destination)
void ReLU(ReadOnlySpan<short> x, Span<short> destination)
void Sigmoid(ReadOnlySpan<short> x, Span<short> destination)
void Sin(ReadOnlySpan<short> x, Span<short> destination)
void SoftMax(ReadOnlySpan<short> x, Span<short> destination)
void Sqrt(ReadOnlySpan<short> x, Span<short> destination)
void Subtract(ReadOnlySpan<short> x, ReadOnlySpan<short> y, Span<short> destination)
void SubtractScalar(ReadOnlySpan<short> x, short scalar, Span<short> destination)
void Swish(ReadOnlySpan<short> x, Span<short> destination)
void Tanh(ReadOnlySpan<short> x, Span<short> destination)
void ToFloatSpan(ReadOnlySpan<short> source, Span<float> destination)
void ToHalfSpan(ReadOnlySpan<short> source, Span<Half> destination)