diff options
Diffstat (limited to 'tensorflow/core/kernels/batch_dataset_op.cc')
-rw-r--r-- | tensorflow/core/kernels/batch_dataset_op.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/batch_dataset_op.cc b/tensorflow/core/kernels/batch_dataset_op.cc index 67eff44a5d..64a8e83f84 100644 --- a/tensorflow/core/kernels/batch_dataset_op.cc +++ b/tensorflow/core/kernels/batch_dataset_op.cc @@ -31,7 +31,7 @@ class BatchDatasetOp : public UnaryDatasetOpKernel { void MakeDataset(OpKernelContext* ctx, DatasetBase* input, DatasetBase** output) override { - int64 batch_size; + int64 batch_size = 0; OP_REQUIRES_OK(ctx, ParseScalarArgument<int64>(ctx, "batch_size", &batch_size)); OP_REQUIRES( |