| 166 | // Templated version of AddConstInput(). |
| 167 | template <typename T> |
| 168 | int AddConstInput(const TensorData& t, std::initializer_list<T> data) { |
| 169 | int id = AddTensor(t, data); |
| 170 | inputs_.push_back(id); |
| 171 | return id; |
| 172 | } |
| 173 | template <typename T> |
| 174 | int AddConstInput(TensorType type, std::initializer_list<T> data, |
| 175 | std::initializer_list<int> shape) { |
no test coverage detected