| 122 | // forward {...} initialization. |
| 123 | template <class T> |
| 124 | void AddNodeAttr(StringPiece name, std::initializer_list<T> value, |
| 125 | NodeDef* node_def) { |
| 126 | AddNodeAttr(name, gtl::ArraySlice<T>(value), node_def); |
| 127 | } |
| 128 | |
| 129 | // Adds an attr to an attr value map. |
| 130 | void AddAttr(StringPiece name, const AttrValue& value, AttrValueMap* map); |
no outgoing calls