| 88 | }; |
| 89 | |
| 90 | std::shared_ptr<of::one::TensorTuple> ConvertToTensorTuple( |
| 91 | const std::vector<std::shared_ptr<of::one::Tensor>>& tensors) { |
| 92 | auto tensor_tuple = std::make_shared<of::one::TensorTuple>(); |
| 93 | for (const auto& tensor : tensors) { tensor_tuple->emplace_back(tensor); } |
| 94 | return tensor_tuple; |
| 95 | } |
| 96 | |
| 97 | std::string GetDeviceTag(const Device& device) { return device.type(); } |
| 98 |
no test coverage detected