diff options
Diffstat (limited to 'tensorflow/core/kernels/conditional_accumulator_base.h')
-rw-r--r-- | tensorflow/core/kernels/conditional_accumulator_base.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/core/kernels/conditional_accumulator_base.h b/tensorflow/core/kernels/conditional_accumulator_base.h index b7b7482a00..4a5ec6f0fb 100644 --- a/tensorflow/core/kernels/conditional_accumulator_base.h +++ b/tensorflow/core/kernels/conditional_accumulator_base.h @@ -52,7 +52,7 @@ class ConditionalAccumulatorBase : public ResourceBase { // name: A name to use for the ConditionalAccumulator. ConditionalAccumulatorBase(const DataType& dtype, const PartialTensorShape& shape, - const string& name); + const string& name, const string& reduction_type); typedef AsyncOpKernel::DoneCallback DoneCallback; @@ -125,6 +125,7 @@ class ConditionalAccumulatorBase : public ResourceBase { const DataType dtype_; const PartialTensorShape shape_; const string name_; + const string reduction_type_; mutex mu_; int counter_ GUARDED_BY(mu_); int64 current_global_step_ GUARDED_BY(mu_); |