| 701 | } |
| 702 | |
| 703 | void TFE_OpSetAttrBool(TFE_Op* op, const char* attr_name, unsigned char value) { |
| 704 | op->operation.MutableAttrs()->Set(attr_name, (value == 0) ? false : true); |
| 705 | } |
| 706 | |
| 707 | void TFE_OpSetAttrType(TFE_Op* op, const char* attr_name, TF_DataType value) { |
| 708 | op->operation.MutableAttrs()->Set(attr_name, |