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

Function Relu

tensorflow/core/graph/testlib.cc:442–449  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

440}
441
442Node* Relu(Graph* g, Node* in) {
443 Node* ret;
444 TF_CHECK_OK(NodeBuilder(g->NewName("n"), "Relu")
445 .Input(in, 0)
446 .Attr("T", DT_FLOAT)
447 .Finalize(g, &ret));
448 return ret;
449}
450
451Node* Relu6(Graph* g, Node* in) {
452 Node* ret;

Callers 9

TEST_FFunction · 0.70
TEST_FFunction · 0.50
RunTestMethod · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
TEST_FFunction · 0.50
CreateMiniGraphMethod · 0.50
TEST_FFunction · 0.50

Calls 5

NodeBuilderClass · 0.70
FinalizeMethod · 0.45
AttrMethod · 0.45
InputMethod · 0.45
NewNameMethod · 0.45

Tested by

no test coverage detected