diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2017-07-20 10:34:29 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2017-07-20 10:38:29 -0700 |
commit | 3a593f7555309982b19d50e7436fb6d320384b50 (patch) | |
tree | 832db8966e7d026ebeec90804d05e9d466dc2a17 /tensorflow/python/build_defs.bzl | |
parent | e925629edb5b72247c9105d8eac941c9c2aad565 (diff) |
Simplify BUILD by changing the default of require_shape_functions
in tf_gen_op_wrapper_private_py rule.
PiperOrigin-RevId: 162632990
Diffstat (limited to 'tensorflow/python/build_defs.bzl')
-rw-r--r-- | tensorflow/python/build_defs.bzl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/build_defs.bzl b/tensorflow/python/build_defs.bzl index 1efac5738c..2d8625933f 100644 --- a/tensorflow/python/build_defs.bzl +++ b/tensorflow/python/build_defs.bzl @@ -13,13 +13,13 @@ load("//tensorflow:tensorflow.bzl", "tf_gen_op_wrapper_py") # hard code the ops/ directory. def tf_gen_op_wrapper_private_py(name, out=None, deps=[], - require_shape_functions=False, + require_shape_functions=True, visibility=[]): if not name.endswith("_gen"): fail("name must end in _gen") if not visibility: visibility = ["//visibility:private"] - bare_op_name = name[:-4] # Strip of the _gen + bare_op_name = name[:-4] # Strip off the _gen tf_gen_op_wrapper_py(name=bare_op_name, out=out, hidden_file="ops/hidden_ops.txt", |