aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/kernels/bias_op.cc
diff options
context:
space:
mode:
authorGravatar Gunhan Gulsoy <gunan@google.com>2017-08-23 12:24:52 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-08-23 12:29:19 -0700
commit008343bd953618dff056d127be7386bac2388742 (patch)
treee5f9632024cd386c0c76b1f734a468c10d4eb5cb /tensorflow/core/kernels/bias_op.cc
parente2a4c8124766cba51ee938487e7f18466511ac26 (diff)
Remove a bunch of proto.h includes from tensorflow/core headers
The goal is to make kernels mostly independent of proto headers, which will let us lock down our .so imports. RELNOTES: Remove proto.h includes from tensorflow/core headers. This may break users who has written custom c++ ops. PiperOrigin-RevId: 166237236
Diffstat (limited to 'tensorflow/core/kernels/bias_op.cc')
-rw-r--r--tensorflow/core/kernels/bias_op.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/bias_op.cc b/tensorflow/core/kernels/bias_op.cc
index ad19f8f818..1bdfafb89b 100644
--- a/tensorflow/core/kernels/bias_op.cc
+++ b/tensorflow/core/kernels/bias_op.cc
@@ -191,7 +191,7 @@ class BiasGradOp : public OpKernel {
data_format_ = FORMAT_NHWC;
}
OP_REQUIRES(context, data_format_ == FORMAT_NHWC,
- errors::InvalidArgument(context->device()->attributes().name() +
+ errors::InvalidArgument(context->device()->name() +
" BiasGradOp only supports NHWC."));
}