aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/util
diff options
context:
space:
mode:
authorGravatar Guozhong Zhuang <guozhong.zhuang@intel.com>2018-08-20 15:06:18 -0700
committerGravatar Guozhong Zhuang <guozhong.zhuang@intel.com>2018-08-20 15:06:18 -0700
commit86d9ce130c5691cdba16024f7cc7987082acd294 (patch)
treeff3bb2ad111fdeb1afcdd739b4f4b41c64ee6966 /tensorflow/core/util
parent2459fd5f01b2a135335b588803fd8946ea761387 (diff)
do not control primitive caching for small batch size
Diffstat (limited to 'tensorflow/core/util')
-rw-r--r--tensorflow/core/util/mkl_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tensorflow/core/util/mkl_util.h b/tensorflow/core/util/mkl_util.h
index ee02debddf..5d28b8a3e5 100644
--- a/tensorflow/core/util/mkl_util.h
+++ b/tensorflow/core/util/mkl_util.h
@@ -105,6 +105,8 @@ typedef enum {
Dim3d_I = 1
} MklDnnDims3D;
+static const int kSmallBatchSize = 32;
+
#ifdef INTEL_MKL_ML_ONLY
class MklShape {
public: