From 47d8bca84864ce72b7e8dc9aed10cd448c2c111f Mon Sep 17 00:00:00 2001 From: qijun Date: Mon, 31 Jul 2017 10:37:16 +0800 Subject: [PATCH] fix build error --- paddle/framework/tensor.h | 1 + 1 file changed, 1 insertion(+) diff --git a/paddle/framework/tensor.h b/paddle/framework/tensor.h index d9ceedb45..3e110f8d7 100644 --- a/paddle/framework/tensor.h +++ b/paddle/framework/tensor.h @@ -103,6 +103,7 @@ class Tensor { * @param[in] begin_idx The begin index of the slice. * @param[in] end_idx The end index of the slice. */ + template inline Tensor Slice(const int& begin_idx, const int& end_idx) const; private: -- GitLab