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

Function NonZero

tensorflow/core/framework/function_testlib.cc:60–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60FunctionDef NonZero() {
61 return FDH::Define(
62 // Name
63 "NonZero",
64 // Args
65 {"x:T"},
66 // Return values
67 {"y:T"},
68 // Attr def
69 {"T:{float, double, int32, int64, string}"},
70 // Nodes
71 {
72 {{"y"}, "Identity", {"x"}, {{"T", "$T"}}},
73 });
74}
75
76FunctionDef IsZero() {
77 const Tensor kZero = test::AsScalar<int64>(0);

Callers 3

InvalidFuncTestCaseFunction · 0.85
InvalidFuncTestCase3Function · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected