MCPcopy Create free account
hub / github.com/alibaba/nann / SetOpAttrWithDefaults

Function SetOpAttrWithDefaults

tensorflow/tensorflow/python/eager/pywrap_tfe_src.cc:673–698  ·  view source on GitHub ↗

This function will set the op attrs required. If an attr has the value of None, then it will read the AttrDef to get the default value and set that instead. Any failure in this function will simply fall back to the slow path.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TFE_Py_FastPathExecute_CFunction · 0.85

Calls 7

TFE_OpGetAttrTypeFunction · 0.85
TF_GetCodeFunction · 0.85
SetOpAttrListDefaultFunction · 0.85
SetOpAttrScalarDefaultFunction · 0.85
SetOpAttrListFunction · 0.85
SetOpAttrScalarFunction · 0.85
default_valueMethod · 0.45

Tested by

no test coverage detected