| 82 | |
| 83 | template <class T> |
| 84 | inline void SetNodeTensorAttr(const string& key, const Tensor& tensor, |
| 85 | NodeDef* node) { |
| 86 | TensorProto tensor_proto; |
| 87 | tensor.AsProtoTensorContent(&tensor_proto); |
| 88 | SetNodeAttr(key, tensor_proto, node); |
| 89 | } |
| 90 | |
| 91 | // Inserts a Tensor into the specified attribute of a NodeDef. |
| 92 | template <class T> |
nothing calls this directly
no test coverage detected