| 296 | } |
| 297 | |
| 298 | FunctionDef XTimesFour() { |
| 299 | return FDH::Create( |
| 300 | // Name |
| 301 | "XTimesFour", |
| 302 | // Args |
| 303 | {"x: T"}, |
| 304 | // Return values |
| 305 | {"y: T"}, |
| 306 | // Attr def |
| 307 | {"T: {float, double, int32, int64}"}, |
| 308 | // Nodes |
| 309 | { |
| 310 | {{"x2"}, "XTimesTwo", {"x"}, {{"T", "$T"}}}, |
| 311 | {{"y"}, "XTimesTwo", {"x2:y:0"}, {{"T", "$T"}}}, |
| 312 | }, |
| 313 | {{"y", "y:y:0"}}); |
| 314 | } |
| 315 | |
| 316 | FunctionDef XTimes16() { |
| 317 | return FDH::Create( |
no test coverage detected