\brief Set the output type of this layer Setting the output type constrains TensorRT to choose implementations which generate output data with the given type. If it is not set, TensorRT will select output type based on layer computational precision. TensorRT could still choose non-conforming output type based on fastest implementation. To force choosing the requested output type, set exactly one
| 729 | //! \see getOutputType() outputTypeIsSet() resetOutputType() |
| 730 | //! |
| 731 | void setOutputType(int32_t index, DataType dataType) noexcept |
| 732 | { |
| 733 | mLayer->setOutputType(index, dataType); |
| 734 | } |
| 735 | |
| 736 | //! |
| 737 | //! \brief get the output type of this layer |
no outgoing calls
no test coverage detected