Change the declaration of EigenGemm from `class` to `struct`.

Adaptive_data_structure_for_SwitchOrderLayer
Liu Yiqun 8 years ago
parent 2fc012c54c
commit 387b4e4eac

@ -83,9 +83,9 @@ struct EigenBlasGemm {
}; };
#ifdef PADDLE_TYPE_DOUBLE #ifdef PADDLE_TYPE_DOUBLE
template class EigenBlasGemm<double>; template struct EigenBlasGemm<double>;
#else #else
template class EigenBlasGemm<float>; template struct EigenBlasGemm<float>;
#endif #endif
} // namespace paddle } // namespace paddle

Loading…
Cancel
Save