         rnn_desc,
         xs.size(),
         ys_desc,
-        internal::GetRawOffsetData(AsContiguous(y)),
+        internal::GetRawOffsetData(y),
         dys_desc,
-        internal::GetRawOffsetData(AsContiguous(dy)),
+        internal::GetRawOffsetData(dy),
         *dhy_desc,
-        internal::GetRawOffsetData(AsContiguous(dhy)),
+        internal::GetRawOffsetData(dhy),
         *dcy_desc,
-        internal::GetRawOffsetData(AsContiguous(dcy)),
+        internal::GetRawOffsetData(dcy),
         *wDesc,
         internal::GetRawOffsetData(w),
         *hx_desc,
-        internal::GetRawOffsetData(AsContiguous(hx)),
+        internal::GetRawOffsetData(hx),
         *cx_desc,
-        internal::GetRawOffsetData(AsContiguous(cx)),
+        internal::GetRawOffsetData(cx),
         dxs_desc,
-        internal::GetRawOffsetData(AsContiguous(dx)),
+        internal::GetRawOffsetData(dx),
         *dhx_desc,
         internal::GetRawOffsetData(dcx),
         *dcx_desc,

                    layer,
                    x_desc,
                    w_desc,
                    internal::GetRawOffsetData(AsContiguous(w)),
                    lin_layer_id,
                    linlayerbiasdesc,
                    (void**)&b_offset

                    layer,
                    x_desc,
                    w_desc,
                    internal::GetRawOffsetData(w),
                    lin_layer_id,
                    linlayermatdesc,
                    (void**)&m_offset         
