Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
558
OpDefBuilder::OpDefBuilder(string op_name) {
559
op_def()->set_name(std::move(op_name));
560
}
561
562
OpDefBuilder& OpDefBuilder::Attr(string spec) {
563
attrs_.push_back(std::move(spec));
Callers
nothing calls this directly
Calls
1
set_name
Method · 0.45
Tested by
no test coverage detected