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

Method OpDefBuilder

tensorflow/core/framework/op_def_builder.cc:558–560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

556} // namespace
557
558OpDefBuilder::OpDefBuilder(string op_name) {
559 op_def()->set_name(std::move(op_name));
560}
561
562OpDefBuilder& OpDefBuilder::Attr(string spec) {
563 attrs_.push_back(std::move(spec));

Callers

nothing calls this directly

Calls 1

set_nameMethod · 0.45

Tested by

no test coverage detected