reset=true when epoch=0vi AHRBMCF.cpp vi AHRBMCF.cpp not 1