burn
0.18.0
Module cast
Module Items
Traits
In burn::
tensor
burn
::
tensor
Module
cast
Copy item path
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
.