TensorPrimitivesHelper<T>

Helpers & Utilities · AiDotNet.Tensors.Helpers

No summary documentation available yet.

Methods

Method Summary
T CosineSimilarity(Vector<T> a, Vector<T> b)
T Dot(Vector<T> x, Vector<T> y)
T Max(Vector<T> x)
T Min(Vector<T> x)
T Sum(Vector<T> x)
Vector<T> Add(Vector<T> x, Vector<T> y)
Vector<T> Divide(Vector<T> x, Vector<T> y)
Vector<T> ELU(Vector<T> x, double alpha)
Vector<T> Exp(Vector<T> x)
Vector<T> GELU(Vector<T> x)
Vector<T> LeakyReLU(Vector<T> x, double alpha)
Vector<T> Log(Vector<T> x)
Vector<T> Log2(Vector<T> x)
Vector<T> Mish(Vector<T> x)
Vector<T> Multiply(Vector<T> x, Vector<T> y)
Vector<T> Sigmoid(Vector<T> x)
Vector<T> Softmax(Vector<T> x)
Vector<T> Sqrt(Vector<T> x)
Vector<T> Subtract(Vector<T> x, Vector<T> y)
Vector<T> Swish(Vector<T> x)
Vector<T> Tanh(Vector<T> x)