From 1809c3f94b8926b77f9c4fb556210a8a8e323220 Mon Sep 17 00:00:00 2001 From: Haibin Lin Date: Sun, 10 Jun 2018 20:49:19 -0700 Subject: [PATCH] Update layout.h (#1255) --- nnvm/include/nnvm/layout.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nnvm/include/nnvm/layout.h b/nnvm/include/nnvm/layout.h index bec523b348115..918eb9a25dee0 100644 --- a/nnvm/include/nnvm/layout.h +++ b/nnvm/include/nnvm/layout.h @@ -348,7 +348,7 @@ class Layout { return false; } - inline const LayoutDim operator[](size_t i) const { + inline LayoutDim operator[](size_t i) const { return layout_simplified_[i]; }