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

Method MakeOp

tensorflow/core/kernels/summary_op_test.cc:158–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156class SummaryHistoOpTest : public OpsTestBase {
157 protected:
158 void MakeOp(DataType dt) {
159 TF_ASSERT_OK(NodeDefBuilder("myop", "HistogramSummary")
160 .Input(FakeInput())
161 .Input(FakeInput(dt))
162 .Finalize(node_def()));
163 TF_ASSERT_OK(InitOp());
164 }
165};
166
167TEST_F(SummaryHistoOpTest, SimpleFloat) {

Callers

nothing calls this directly

Calls 4

NodeDefBuilderClass · 0.85
FakeInputFunction · 0.50
FinalizeMethod · 0.45
InputMethod · 0.45

Tested by

no test coverage detected