hotg-ai / rune

Rune provides containers to encapsulate and deploy edgeML pipelines and applications
Apache License 2.0
134 stars 15 forks source link

Consistent Tensor element types #342

Closed Michael-F-Bryan closed 3 years ago

Michael-F-Bryan commented 3 years ago

Tensors (hotg_rune_core::Tensor<T>) should have the following element types:

Tensors will always have a finite set of element types, so we should be using an enum with fixed variants instead of the open-ended hotg_rune_core::reflect::Type we have at the moment.