\brief Set the dimensions of a tensor. For a network input, the dimensions are assigned by the application. For a network output, the dimensions are computed based on the layer parameters and the inputs to the layer. If a tensor size or a parameter is modified in the network, the dimensions of all dependent tensors will be recomputed. This call is only legal for network input tensors, since the
| 220 | //! \see getDimensions() |
| 221 | //! |
| 222 | void setDimensions(Dims dimensions) noexcept |
| 223 | { |
| 224 | mImpl->setDimensions(dimensions); |
| 225 | } |
| 226 | |
| 227 | //! |
| 228 | //! \brief Get the dimensions of a tensor. |
no outgoing calls
no test coverage detected