diff options
Diffstat (limited to 'tensorflow/core/framework/function_testlib.h')
-rw-r--r-- | tensorflow/core/framework/function_testlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tensorflow/core/framework/function_testlib.h b/tensorflow/core/framework/function_testlib.h index 6d6476b936..ad61a76f16 100644 --- a/tensorflow/core/framework/function_testlib.h +++ b/tensorflow/core/framework/function_testlib.h @@ -63,6 +63,9 @@ GraphDef GDef(gtl::ArraySlice<NodeDef> nodes, // x:T -> x * 2. FunctionDef XTimesTwo(); +// x:T -> x + x. +FunctionDef XAddX(); + // x:T -> x * 2, where x is int32. FunctionDef XTimesTwoInt32(); |