Move training routine out of ff_const_reorder_common.h