diff options
author | 2016-12-12 11:33:37 -0800 | |
---|---|---|
committer | 2016-12-12 11:44:02 -0800 | |
commit | 573d8ca0f0ceae9706958b34d758420d05a4908b (patch) | |
tree | 4986cba916722c297523086b1d5bc5a2d5a5a53b /tensorflow/core/kernels/constant_op.cc | |
parent | 2e47277508188d8781184806cee39c6deaa3e95e (diff) |
Registers resource handles by default for most kernels.
Change: 141789667
Diffstat (limited to 'tensorflow/core/kernels/constant_op.cc')
-rw-r--r-- | tensorflow/core/kernels/constant_op.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/constant_op.cc b/tensorflow/core/kernels/constant_op.cc index 4c8c9939bc..362abd4a1f 100644 --- a/tensorflow/core/kernels/constant_op.cc +++ b/tensorflow/core/kernels/constant_op.cc @@ -217,7 +217,7 @@ class ZerosLikeOp : public OpKernel { ZerosLikeOp<dev##Device, type>) #define REGISTER_CPU(type) REGISTER_KERNEL(type, CPU) -TF_CALL_ALL_TYPES(REGISTER_CPU); +TF_CALL_POD_STRING_TYPES(REGISTER_CPU); #undef REGISTER_CPU #if GOOGLE_CUDA |