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

Function BinaryOp

tensorflow/core/graph/graph_def_builder.cc:117–124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

115}
116
117Node* BinaryOp(const string& op_name, NodeOut a, NodeOut b,
118 const GraphDefBuilder::Options& opts) {
119 if (opts.HaveError()) return nullptr;
120 NodeBuilder node_builder(opts.GetNameForOp(op_name), op_name,
121 opts.op_registry());
122 node_builder.Input(std::move(a)).Input(std::move(b));
123 return opts.FinalizeBuilder(&node_builder);
124}
125
126} // end namespace ops
127} // end namespace tensorflow

Callers 2

AddControlSwitchFunction · 0.70
TESTFunction · 0.70

Calls 5

HaveErrorMethod · 0.80
FinalizeBuilderMethod · 0.80
GetNameForOpMethod · 0.45
op_registryMethod · 0.45
InputMethod · 0.45

Tested by 1

TESTFunction · 0.56