Skip to main content

TensorFormats

Type Alias TensorFormats 

Source
pub type TensorFormats = u32;
Expand description

It is capable of representing one or more TensorFormat by binary OR operations, e.g., 1U << TensorFormat::kCHW4 | 1U << TensorFormat::kCHW32.

See [ITensor::getAllowedFormats()], ITensor::setAllowedFormats(),