robertknight / rten

ONNX neural network inference engine
124 stars 9 forks source link

Replace remaining uses of `check_dims` with `static_dims` #384

Closed robertknight closed 1 month ago

robertknight commented 1 month ago

Avoid having two different ways for an operator to check that an input has the expected number of dimensions.

In the process convert static_dims to a true crate-internal macro instead of a public-but-undocumented one.