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

Function TFE_OpSetAttrFloatList

tensorflow/c/eager/c_api.cc:769–773  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

767}
768
769void TFE_OpSetAttrFloatList(TFE_Op* op, const char* attr_name,
770 const float* values, int num_values) {
771 op->operation.MutableAttrs()->Set(
772 attr_name, tensorflow::gtl::ArraySlice<const float>(values, num_values));
773}
774
775void TFE_OpSetAttrIntList(TFE_Op* op, const char* attr_name,
776 const int64_t* values, int num_values) {

Callers 2

SetOpAttrListFunction · 0.85
SetOpAttrListDefaultFunction · 0.85

Calls 2

MutableAttrsMethod · 0.80
SetMethod · 0.45

Tested by

no test coverage detected