| 109 | } |
| 110 | |
| 111 | void Swap(TestGraph* other) { |
| 112 | std::swap(nodes_, other->nodes_); |
| 113 | std::swap(tensors_, other->tensors_); |
| 114 | std::swap(inputs_, other->inputs_); |
| 115 | std::swap(outputs_, other->outputs_); |
| 116 | std::swap(variables_, other->variables_); |
| 117 | } |
| 118 | |
| 119 | private: |
| 120 | std::vector<TfLiteNode> nodes_; |