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

Function BlockingOpFn

tensorflow/core/common_runtime/function_testlib.cc:100–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 .SetShapeFn(shape_inference::UnknownShape);
99
100FunctionDef BlockingOpFn() {
101 return FDH::Define(
102 // Name
103 "BlockingOpFn",
104 // Args
105 {"x: float"},
106 // Return values
107 {"y: float"},
108 // Attr def
109 {},
110 // Nodes
111 {{{"y"}, "BlockingOp", {"x"}, {}}});
112}
113
114// TODO(phawkins): replace with C++ API for calling functions, when that exists.
115Output Call(Scope* scope, const string& op_name, const string& fn_name,

Callers 2

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected