Trait dfdx::dtypes::HasUnitType

source ·
pub trait HasUnitType {
    type Unit: Unit;
}
Expand description

Represents something that has a Unit.

Required Associated Types§

Implementors§

source§

impl<S: Shape, E: Unit, D: Storage<E>, T> HasUnitType for Tensor<S, E, D, T>

§

type Unit = E