diff options
Diffstat (limited to 'tensorflow/examples/adding_an_op/zero_out_op_kernel_2.cc')
-rw-r--r-- | tensorflow/examples/adding_an_op/zero_out_op_kernel_2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/examples/adding_an_op/zero_out_op_kernel_2.cc b/tensorflow/examples/adding_an_op/zero_out_op_kernel_2.cc index 3aa18c7307..04c34c5968 100644 --- a/tensorflow/examples/adding_an_op/zero_out_op_kernel_2.cc +++ b/tensorflow/examples/adding_an_op/zero_out_op_kernel_2.cc @@ -65,7 +65,7 @@ class ZeroOutOp : public OpKernel { auto input = input_tensor.flat<T>(); // Create an output tensor - Tensor* output = NULL; + Tensor* output = nullptr; OP_REQUIRES_OK(context, context->allocate_output(0, input_tensor.shape(), &output)); auto output_flat = output->template flat<T>(); |