Return the name of a given output. The given index must be between 0 and outputs().size().
| 236 | /// Return the name of a given output. The given index must be between 0 and |
| 237 | /// outputs().size(). |
| 238 | const char* GetOutputName(int index) const { |
| 239 | return context_->tensors[outputs()[index]].name; |
| 240 | } |
| 241 | |
| 242 | /// Return the number of tensors in the model. |
| 243 | size_t tensors_size() const { return context_->tensors_size; } |