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