MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / TFE_OpSetAttrIntList

Function TFE_OpSetAttrIntList

tensorflow/c/eager/c_api.cc:775–780  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

773}
774
775void 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
782void TFE_OpSetAttrTypeList(TFE_Op* op, const char* attr_name,
783 const TF_DataType* values, int num_values) {

Callers 4

SetOpAttrListFunction · 0.85
SetOpAttrListDefaultFunction · 0.85
TEST_FFunction · 0.85
TESTFunction · 0.85

Calls 2

MutableAttrsMethod · 0.80
SetMethod · 0.45

Tested by 2

TEST_FFunction · 0.68
TESTFunction · 0.68