| 196 | }; |
| 197 | |
| 198 | TensorLocation engine_get_location(ICudaEngine& self, std::string const& name) |
| 199 | { |
| 200 | return self.getLocation(self.getBindingIndex(name.c_str())); |
| 201 | }; |
| 202 | |
| 203 | // TODO: Add slicing support? |
| 204 | static const auto engine_getitem = [](ICudaEngine& self, int32_t pyIndex) { |
nothing calls this directly
no test coverage detected