burn_backend/tensor/
alias.rs1use crate::backend::BackendTypes;
2
3pub type Device<B> = <B as BackendTypes>::Device;
8
9pub type FloatElem<B> = <B as BackendTypes>::FloatElem;
11pub type IntElem<B> = <B as BackendTypes>::IntElem;
13pub type BoolElem<B> = <B as BackendTypes>::BoolElem;
15
16pub type FloatTensor<B> = <B as BackendTypes>::FloatTensorPrimitive;
18pub type IntTensor<B> = <B as BackendTypes>::IntTensorPrimitive;
20pub type BoolTensor<B> = <B as BackendTypes>::BoolTensorPrimitive;
22pub type QuantizedTensor<B> = <B as BackendTypes>::QuantizedTensorPrimitive;