Functional

Helpers & Utilities · AiDotNet.Tensors.NN.Functional

No summary documentation available yet.

Methods

Method Summary
Tensor<T> Embedding(Tensor<int> input, Tensor<T> weight, int? paddingIdx, double? maxNorm, double normType, bool scaleGradByFreq)
Tensor<T> EmbeddingBag(Tensor<int> input, Tensor<T> weight, int[] offsets, EmbeddingBagMode mode)
Tensor<T> Normalize(Tensor<T> input, double p, int dim, double eps)
Tensor<T> PairwiseDistance(Tensor<T> x1, Tensor<T> x2, double p, double eps)
Tensor<int> OneHot(Tensor<int> input, int numClasses)