bcpnn_offline with vector operation