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

Method MakeOp

tensorflow/core/kernels/save_op_test.cc:397–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

395class SaveSlicesOpTest : public OpsTestBase {
396 protected:
397 void MakeOp() {
398 TF_ASSERT_OK(NodeDefBuilder("myop", "SaveSlices")
399 .Input(FakeInput())
400 .Input(FakeInput())
401 .Input(FakeInput())
402 .Input(FakeInput(
403 {DT_INT32, DT_FLOAT, DT_DOUBLE, DT_QINT8, DT_QINT32}))
404 .Finalize(node_def()));
405 TF_ASSERT_OK(InitOp());
406 }
407};
408
409// Here we save only slices. We restore them in a larger tensor and we check

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