Int32Operations
Models & Types · AiDotNet.Tensors.NumericOperations
No summary documentation available yet.
Implements: INumericOperations<int>
Constructors
| Constructor | Summary |
|---|---|
Int32Operations() |
Properties
| Property | Summary |
|---|---|
bool SupportsCpuAcceleration { get; } |
|
bool SupportsGpuAcceleration { get; } |
|
int MaxValue { get; } |
|
int MinValue { get; } |
|
int One { get; } |
|
int PrecisionBits { get; } |
|
int Zero { get; } |
Methods
| Method | Summary |
|---|---|
Half ToHalf(int value) |
|
bool Equals(int a, int b) |
|
bool GreaterThan(int a, int b) |
|
bool GreaterThanOrEquals(int a, int b) |
|
bool IsInfinity(int value) |
|
bool IsNaN(int value) |
|
bool LessThan(int a, int b) |
|
bool LessThanOrEquals(int a, int b) |
|
double ToDouble(int value) |
|
float ToFloat(int value) |
|
int Abs(int value) |
|
int Add(int a, int b) |
|
int Ceiling(int value) |
|
int Compare(int a, int b) |
|
int Cos(int value) |
|
int CosineSimilarity(ReadOnlySpan<int> x, ReadOnlySpan<int> y) |
|
int Divide(int a, int b) |
|
int Dot(ReadOnlySpan<int> x, ReadOnlySpan<int> y) |
|
int Exp(int value) |
|
int Floor(int value) |
|
int Frac(int value) |
|
int FromDouble(double value) |
|
int FromFloat(float value) |
|
int FromHalf(Half value) |
|
int Log(int value) |
|
int Max(ReadOnlySpan<int> x) |
|
int Min(ReadOnlySpan<int> x) |
|
int Multiply(int a, int b) |
|
int Negate(int a) |
|
int Power(int baseValue, int exponent) |
|
int Round(int value) |
|
int SignOrZero(int value) |
|
int Sin(int value) |
|
int Sqrt(int value) |
|
int Square(int value) |
|
int Subtract(int a, int b) |
|
int Sum(ReadOnlySpan<int> x) |
|
int ToInt32(int value) |
|
void Abs(ReadOnlySpan<int> x, Span<int> destination) |
|
void Add(ReadOnlySpan<int> x, ReadOnlySpan<int> y, Span<int> destination) |
|
void AddScalar(ReadOnlySpan<int> x, int scalar, Span<int> destination) |
|
void Ceiling(ReadOnlySpan<int> x, Span<int> destination) |
|
void Clip(ReadOnlySpan<int> x, int min, int max, Span<int> destination) |
|
void Copy(ReadOnlySpan<int> source, Span<int> destination) |
|
void Cos(ReadOnlySpan<int> x, Span<int> destination) |
|
void Divide(ReadOnlySpan<int> x, ReadOnlySpan<int> y, Span<int> destination) |
|
void DivideScalar(ReadOnlySpan<int> x, int scalar, Span<int> destination) |
|
void ELU(ReadOnlySpan<int> x, int alpha, Span<int> destination) |
|
void Exp(ReadOnlySpan<int> x, Span<int> destination) |
|
void Fill(Span<int> destination, int value) |
|
void Floor(ReadOnlySpan<int> x, Span<int> destination) |
|
void Frac(ReadOnlySpan<int> x, Span<int> destination) |
|
void FromFloatSpan(ReadOnlySpan<float> source, Span<int> destination) |
|
void FromHalfSpan(ReadOnlySpan<Half> source, Span<int> destination) |
|
void GELU(ReadOnlySpan<int> x, Span<int> destination) |
|
void LeakyReLU(ReadOnlySpan<int> x, int alpha, Span<int> destination) |
|
void Log(ReadOnlySpan<int> x, Span<int> destination) |
|
void Log2(ReadOnlySpan<int> x, Span<int> destination) |
|
void Mish(ReadOnlySpan<int> x, Span<int> destination) |
|
void Multiply(ReadOnlySpan<int> x, ReadOnlySpan<int> y, Span<int> destination) |
|
void MultiplyAdd(ReadOnlySpan<int> x, ReadOnlySpan<int> y, int scalar, Span<int> destination) |
|
void MultiplyScalar(ReadOnlySpan<int> x, int scalar, Span<int> destination) |
|
void Negate(ReadOnlySpan<int> x, Span<int> destination) |
|
void Pow(ReadOnlySpan<int> x, int power, Span<int> destination) |
|
void ReLU(ReadOnlySpan<int> x, Span<int> destination) |
|
void Sigmoid(ReadOnlySpan<int> x, Span<int> destination) |
|
void Sin(ReadOnlySpan<int> x, Span<int> destination) |
|
void SoftMax(ReadOnlySpan<int> x, Span<int> destination) |
|
void Sqrt(ReadOnlySpan<int> x, Span<int> destination) |
|
void Subtract(ReadOnlySpan<int> x, ReadOnlySpan<int> y, Span<int> destination) |
|
void SubtractScalar(ReadOnlySpan<int> x, int scalar, Span<int> destination) |
|
void Swish(ReadOnlySpan<int> x, Span<int> destination) |
|
void Tanh(ReadOnlySpan<int> x, Span<int> destination) |
|
void ToFloatSpan(ReadOnlySpan<int> source, Span<float> destination) |
|
void ToHalfSpan(ReadOnlySpan<int> source, Span<Half> destination) |