summaryrefslogtreecommitdiff
path: root/candle-transformers/src
diff options
context:
space:
mode:
authorSteven Lovegrove <stevenlovegrove@gmail.com>2024-09-26 13:57:55 -0700
committerGitHub <noreply@github.com>2024-09-26 22:57:55 +0200
commited48f54b542bd3090032c516a50ee4d7067384a9 (patch)
treea15c361889a640af3eea210319d6003526cfc5b1 /candle-transformers/src
parentad8a4c5e5a2f177e3b90ac812d66d6a5ed1d69dc (diff)
downloadcandle-ed48f54b542bd3090032c516a50ee4d7067384a9.tar.gz
candle-ed48f54b542bd3090032c516a50ee4d7067384a9.tar.bz2
candle-ed48f54b542bd3090032c516a50ee4d7067384a9.zip
Expand split ops (#2505)
* candle-onnx: Add Split and Expand operators, Fix Where Op Implemented based on https://github.com/onnx/onnx/blob/main/docs/Operators.md Test cases based on those examples. TODO: Should add the remaining Split examples as tests TODO: Add.test case that motivates Where fix * candle-onnx: Add ReduceSum operator Implemented based on https://github.com/onnx/onnx/blob/main/docs/Operators.md Test cases based on those examples. TODO: Should add the remaining ReduceSum examples as tests * candle-onnx: Add ReduceL2 operator Implemented based on https://github.com/onnx/onnx/blob/main/docs/Operators.md Test cases based on those examples. TODO: Should add the remaining ReduceSum examples as tests * candle-onnx: Fix Clip operator empty string as default arg issue Optional input args may be signified by an empty string. The length of the input array is not enough because non optional args may follow optional ones. I encountered this when trying to use the ONNX model found at https://huggingface.co/sentence-transformers/all-MiniLM-L6-v2 for example. The LSTM op has a utility which I factored to be more generally accessible, and I have used it in the ops I have recently created or debugged. I believe it is likely that this issue may also manifest in other ops, but I didn't want to change anything that I'm not testing. * fix formatting * fix small mistake made during refactor
Diffstat (limited to 'candle-transformers/src')
0 files changed, 0 insertions, 0 deletions