commit | 22def0077b9cd5c7e463331d67f17da679426513 | [log] [tgz] |
---|---|---|
author | autoih <ihjhuo@ibm.com> | Wed Oct 16 13:33:46 2019 -0700 |
committer | autoih <ihjhuo@ibm.com> | Wed Oct 16 13:33:46 2019 -0700 |
tree | dbcf7c89db717c4e23f79c29ff7be0c4067b5001 | |
parent | cf43d6e7e41a4c4474f1056beb7d7b81bc8e9771 [diff] |
correction typeError
diff --git a/tensorflow/python/ops/nn_ops.py b/tensorflow/python/ops/nn_ops.py index e977892..77c7df2 100644 --- a/tensorflow/python/ops/nn_ops.py +++ b/tensorflow/python/ops/nn_ops.py
@@ -295,7 +295,7 @@ A `Tensor`. Has the same type as `input`. """ if data_format != "NHWC": - raise ValueError("Data formats other than NHWC are not yet supported") + raise TypeError("Data formats other than NHWC are not yet supported") return gen_nn_ops.dilation2d(input=input, filter=filters,