NestedOps

Helpers & Utilities · AiDotNet.Tensors.LinearAlgebra.Nested

No summary documentation available yet.

Methods

Method Summary
NestedTensor<T> Add(NestedTensor<T> x, Tensor<T> bias)
NestedTensor<T> GeLU(NestedTensor<T> x)
NestedTensor<T> LayerNorm(NestedTensor<T> x, Tensor<T> gamma, Tensor<T> beta, double epsilon)
NestedTensor<T> Linear(NestedTensor<T> x, Tensor<T> weight, Tensor<T> bias)
NestedTensor<T> LogSoftmax(NestedTensor<T> x)
NestedTensor<T> MatMul(NestedTensor<T> x, Tensor<T> b)
NestedTensor<T> MultiHeadAttention(NestedTensor<T> q, NestedTensor<T> k, NestedTensor<T> v, int numHeads)
NestedTensor<T> ScaledDotProductAttention(NestedTensor<T> q, NestedTensor<T> k, NestedTensor<T> v)
NestedTensor<T> SiLU(NestedTensor<T> x)
NestedTensor<T> Softmax(NestedTensor<T> x)