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

Function TFE_OpSetAttrInt

tensorflow/c/eager/c_api.cc:695–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

693}
694
695void TFE_OpSetAttrInt(TFE_Op* op, const char* attr_name, int64_t value) {
696 op->operation.MutableAttrs()->Set(attr_name, static_cast<int64>(value));
697}
698
699void TFE_OpSetAttrFloat(TFE_Op* op, const char* attr_name, float value) {
700 op->operation.MutableAttrs()->Set(attr_name, value);

Callers 8

SetOpAttrScalarFunction · 0.85
TFE_Py_FastPathExecute_CFunction · 0.85
createTFEQueueFunction · 0.85
createTFEEnqueueFunction · 0.85
createTFEDequeueFunction · 0.85
TESTFunction · 0.85
TEST_FFunction · 0.85
SetOpAttrValueScalarFunction · 0.85

Calls 2

MutableAttrsMethod · 0.80
SetMethod · 0.45

Tested by 2

TESTFunction · 0.68
TEST_FFunction · 0.68