Module cast

Expand description

Tensor element casting.

Traits§

ToElement
A generic trait for converting a value to a number. Adapted from num_traits::ToPrimitive to support bool.