\brief Add a loop to the network. An ILoop provides a way to specify a recurrent subgraph. \return Pointer to ILoop that can be used to add loop boundary layers for the loop, or nullptr if network has an implicit batch dimension or this version of TensorRT does not support loops. The network must not have an implicit batch dimension.
| 7901 | //! The network must not have an implicit batch dimension. |
| 7902 | //! |
| 7903 | ILoop* addLoop() noexcept |
| 7904 | { |
| 7905 | return mImpl->addLoop(); |
| 7906 | } |
| 7907 | |
| 7908 | //! \brief Add a select layer to the network. |
| 7909 | //! |