SimdHrrKernels

Helpers & Utilities · AiDotNet.Tensors.Engines.Simd

No summary documentation available yet.

Methods

Method Summary
void GatherDouble(ReadOnlySpan<double> input, ReadOnlySpan<int> indices, Span<double> output)
void GatherDoubleParallel(double[] input, int[] indices, double[] output)
void GatherFloat(ReadOnlySpan<float> input, ReadOnlySpan<int> indices, Span<float> output)
void HRRBindAccumulateDouble(ReadOnlySpan<double> keyCodeR, ReadOnlySpan<double> keyCodeI, ReadOnlySpan<double> valPermCodeR, ReadOnlySpan<double> valPermCodeI, ReadOnlySpan<int> keyIds, ReadOnlySpan<int> valIds, Span<double> memoryR, Span<double> memoryI, int D)
void HRRBindAccumulateFloat(ReadOnlySpan<float> keyCodeR, ReadOnlySpan<float> keyCodeI, ReadOnlySpan<float> valPermCodeR, ReadOnlySpan<float> valPermCodeI, ReadOnlySpan<int> keyIds, ReadOnlySpan<int> valIds, Span<float> memoryR, Span<float> memoryI, int D)
void PhaseCoherenceDecodeDouble(ReadOnlySpan<double> codesR, ReadOnlySpan<double> codesI, ReadOnlySpan<double> queryR, ReadOnlySpan<double> queryI, Span<double> scores, int V, int D)
void PhaseCoherenceDecodeDoubleParallel(double[] codesR, double[] codesI, double[] queryR, double[] queryI, double[] scores, int V, int D)
void PhaseCoherenceDecodeFloat(ReadOnlySpan<float> codesR, ReadOnlySpan<float> codesI, ReadOnlySpan<float> queryR, ReadOnlySpan<float> queryI, Span<float> scores, int V, int D)
void UnitPhaseCodebookDouble(Span<double> outR, Span<double> outI, int seed, int V, int D, bool kPsk, int k)
void UnitPhaseCodebookFloat(Span<float> outR, Span<float> outI, int seed, int V, int D, bool kPsk, int k)