| 773 | } |
| 774 | |
| 775 | void TFE_OpSetAttrIntList(TFE_Op* op, const char* attr_name, |
| 776 | const int64_t* values, int num_values) { |
| 777 | op->operation.MutableAttrs()->Set( |
| 778 | attr_name, tensorflow::gtl::ArraySlice<const int64>( |
| 779 | reinterpret_cast<const int64*>(values), num_values)); |
| 780 | } |
| 781 | |
| 782 | void TFE_OpSetAttrTypeList(TFE_Op* op, const char* attr_name, |
| 783 | const TF_DataType* values, int num_values) { |