| 98 | .SetShapeFn(shape_inference::UnknownShape); |
| 99 | |
| 100 | FunctionDef 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. |
| 115 | Output Call(Scope* scope, const string& op_name, const string& fn_name, |
no outgoing calls
no test coverage detected