\brief Set the data type of a tensor. \param type The data type of the tensor. The type is unchanged if the tensor is not a network input tensor, or marked as an output tensor or shape output tensor. \see getType()
| 248 | //! \see getType() |
| 249 | //! |
| 250 | void setType(DataType type) noexcept |
| 251 | { |
| 252 | mImpl->setType(type); |
| 253 | } |
| 254 | |
| 255 | //! |
| 256 | //! \brief Get the data type of a tensor. |
no outgoing calls
no test coverage detected