| 55 | }; |
| 56 | |
| 57 | inline int64_t volume(nvinfer1::Dims const& dims) |
| 58 | { |
| 59 | return std::accumulate(dims.d, dims.d + dims.nbDims, int64_t{1}, std::multiplies<int64_t>{}); |
| 60 | } |
| 61 | |
| 62 | // Method for calling the python function and returning the value (returned from python) used in cpp trampoline |
| 63 | // classes. Prints an error if no such method is overriden in python. |
no outgoing calls
no test coverage detected