Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ ConstFromProto
Function
ConstFromProto
tensorflow/cc/ops/const_op.cc:52–54 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
50
}
51
52
Output ConstFromProto(const Scope& scope, const TensorProto& proto) {
53
return ConstHelper(scope, proto, proto.dtype());
54
}
55
56
NodeBuilder::NodeOut AsNodeOut(const Scope& scope, const Input& inp) {
57
if (!inp.status().ok()) {
Callers
2
TEST
Function · 0.85
TEST
Function · 0.85
Calls
2
ConstHelper
Function · 0.70
dtype
Method · 0.45
Tested by
2
TEST
Function · 0.68
TEST
Function · 0.68