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

Method Init

tensorflow/core/kernels/debug_ops_test.cc:42–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40class DebugIdentityOpTest : public OpsTestBase {
41 protected:
42 Status Init(DataType input_type, const std::vector<string>& debug_urls) {
43 env_ = Env::Default();
44
45 TF_CHECK_OK(NodeDefBuilder("op", "DebugIdentity")
46 .Input(FakeInput(input_type))
47 .Attr("tensor_name", "FakeTensor:0")
48 .Attr("debug_urls", debug_urls)
49 .Finalize(node_def()));
50 return InitOp();
51 }
52
53 Status Init(DataType input_type) {
54 std::vector<string> empty_debug_urls;

Callers

nothing calls this directly

Calls 7

DefaultFunction · 0.85
NodeDefBuilderClass · 0.85
FakeInputFunction · 0.50
InitFunction · 0.50
FinalizeMethod · 0.45
AttrMethod · 0.45
InputMethod · 0.45

Tested by

no test coverage detected