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

Function TF_NewOperation

tensorflow/c/c_api.cc:781–785  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

779}
780
781TF_OperationDescription* TF_NewOperation(TF_Graph* graph, const char* op_type,
782 const char* oper_name) {
783 mutex_lock l(graph->mu);
784 return TF_NewOperationLocked(graph, op_type, oper_name);
785}
786
787void TF_SetDevice(TF_OperationDescription* desc, const char* device) {
788 desc->node_builder.Device(device);

Callers 15

TEST_FFunction · 0.85
UseHelperMethod · 0.85
NodeWithAttrHelperFunction · 0.85
TEST_FFunction · 0.85
CreateInputFunction · 0.85
TFE_AddEagerOpToGraphFunction · 0.85
PlaceholderHelperFunction · 0.85
ConstHelperFunction · 0.85
AddOpHelperFunction · 0.85

Calls

no outgoing calls

Tested by 15

TEST_FFunction · 0.68
UseHelperMethod · 0.68
NodeWithAttrHelperFunction · 0.68
TEST_FFunction · 0.68
PlaceholderHelperFunction · 0.68
ConstHelperFunction · 0.68
AddOpHelperFunction · 0.68
AddWithCtrlDependencyFunction · 0.68
BinaryOpHelperFunction · 0.68
AddFunction · 0.68
NegHelperFunction · 0.68