| 732 | } |
| 733 | |
| 734 | void TFE_OpSetAttrFunction(TFE_Op* op, const char* attr_name, |
| 735 | const TFE_Op* value) { |
| 736 | tensorflow::AttrValue attr_value; |
| 737 | tensorflow::NameAttrList* func = attr_value.mutable_func(); |
| 738 | func->set_name(value->operation.Name()); |
| 739 | value->operation.Attrs().FillAttrValueMap(func->mutable_attr()); |
| 740 | op->operation.MutableAttrs()->Set(attr_name, attr_value); |
| 741 | } |
| 742 | |
| 743 | void TFE_OpSetAttrFunctionName(TFE_Op* op, const char* attr_name, |
| 744 | const char* data, size_t length) { |
no test coverage detected