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

Method FinalizeBuilder

tensorflow/core/graph/graph_def_builder.cc:79–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79Node* GraphDefBuilder::Options::FinalizeBuilder(NodeBuilder* builder) const {
80 builder->ControlInputs(control_inputs_);
81 if (!device_.empty()) builder->Device(device_);
82 for (const auto& attr : attrs_) {
83 builder->Attr(attr.first, attr.second);
84 }
85
86 Node* returned_node;
87 UpdateStatus(builder->Finalize(graph_, &returned_node));
88 return returned_node;
89}
90
91void GraphDefBuilder::Options::UpdateStatus(const Status& status) const {
92 if (status_ == nullptr) {

Callers 15

TESTFunction · 0.80
SequencerFunction · 0.80
KnownShapeBaseFunction · 0.80
KeyPlaceholderFunction · 0.80
RecvAtHostFunction · 0.80
SendFromHostFunction · 0.80
AddNLikeFunction · 0.80
RetOpFunction · 0.80
TESTFunction · 0.80
AddDummyShapedNodeFunction · 0.80
SequencerFunction · 0.80
KnownShapeBaseFunction · 0.80

Calls 4

emptyMethod · 0.45
DeviceMethod · 0.45
AttrMethod · 0.45
FinalizeMethod · 0.45

Tested by 15

TESTFunction · 0.64
SequencerFunction · 0.64
KnownShapeBaseFunction · 0.64
KeyPlaceholderFunction · 0.64
RecvAtHostFunction · 0.64
SendFromHostFunction · 0.64
AddNLikeFunction · 0.64
RetOpFunction · 0.64
TESTFunction · 0.64
SequencerFunction · 0.64
KnownShapeBaseFunction · 0.64
KeyPlaceholderFunction · 0.64