| 697 | } |
| 698 | |
| 699 | void TFE_OpSetAttrFloat(TFE_Op* op, const char* attr_name, float value) { |
| 700 | op->operation.MutableAttrs()->Set(attr_name, value); |
| 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); |
no test coverage detected