mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-20 19:12:24 +00:00
* Implement N-gram Do not load unnecessary pool n-grams. Add String typed tests. Set output size to the mav ngram_index value plus 1. * Address security warnings and some review comments. * Fix build issues, rework sampling to try all n-gram sizes at a given offset. * Rework the loop so all n should be tried at a given offset and we do not add the same items all over again such as b,c and next we try b,c,d but we no longer add b,c again. * Compute hash incrementally so we do not re-hash elements that were already there when we add more elements to n-gram. * Address review comments. TODO: Remove all attribute. * Remove all attribute, adjust tests. Correct docs. * Address more review comments. * Create Type And Shape inference function. * Address review comments. Implement batch mode per new spec. * Correct switch bracing in OutputResult and re-test. * Fix shape error message within TypeAndShapeInferenceFunction. |
||
|---|---|---|
| .. | ||
| cpu | ||
| contrib_kernels.cc | ||
| contrib_kernels.h | ||