-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
We require a way to assoicate the type of the underlying Scalar field with Operators and Vectors. My suggestion is to introduce for the operator the associated types:
type In: GeneralScalar;
type Out: General Scalar;
corresponding to the input scalar field and output scalar field (input scalar field and output scalar field may not be identical, e.g. when it passes through an offload device that only accepts f32).
For Vector traits I suggest the associated type
type T: GeneralScalar;
Happy to create a pull request for this.