\brief Set allowed formats for this tensor. By default all formats are allowed. Shape tensors (for which isShapeTensor() returns true) may only have row major linear format. When running network on DLA and the build option kGPU_FALLBACK is not specified, if DLA format(kCHW4 with Int8, kCHW4 with FP16, kCHW16 with FP16, kCHW32 with Int8) is set, the input format is treated as native DLA format wit
| 411 | //! \see TensorFormats |
| 412 | //! |
| 413 | void setAllowedFormats(TensorFormats formats) noexcept |
| 414 | { |
| 415 | mImpl->setAllowedFormats(formats); |
| 416 | } |
| 417 | |
| 418 | //! |
| 419 | //! \brief Get a bitmask of TensorFormat values that the tensor supports. |
no outgoing calls
no test coverage detected