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

Function HostConstant

tensorflow/core/graph/testlib.cc:84–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84Node* HostConstant(Graph* g, const Tensor& tensor) {
85 return HostConstant(g, tensor, g->NewName("n"));
86}
87
88Node* HostConstant(Graph* g, const Tensor& tensor, const string& name) {
89 Node* ret;

Callers 5

GatherFunction · 0.85
BM_SparseFillEmptyRowsFunction · 0.85
SparseTensorDenseMatmulFunction · 0.85
Conv2DBackpropInputFunction · 0.85
Conv2DBackpropFilterFunction · 0.85

Calls 5

NodeBuilderClass · 0.70
NewNameMethod · 0.45
FinalizeMethod · 0.45
AttrMethod · 0.45
dtypeMethod · 0.45

Tested by

no test coverage detected