| 223 | }; |
| 224 | |
| 225 | std::vector<Dims> get_tensor_profile_shape(ICudaEngine& self, std::string const& tensorName, int32_t profileIndex) |
| 226 | { |
| 227 | std::vector<Dims> shapes{}; |
| 228 | shapes.emplace_back(self.getProfileShape(tensorName.c_str(), profileIndex, OptProfileSelector::kMIN)); |
| 229 | shapes.emplace_back(self.getProfileShape(tensorName.c_str(), profileIndex, OptProfileSelector::kOPT)); |
| 230 | shapes.emplace_back(self.getProfileShape(tensorName.c_str(), profileIndex, OptProfileSelector::kMAX)); |
| 231 | return shapes; |
| 232 | }; |
| 233 | |
| 234 | std::vector<std::vector<int32_t>> engine_get_profile_shape_input( |
| 235 | ICudaEngine& self, int32_t profileIndex, int32_t bindingIndex) |
nothing calls this directly
no test coverage detected