* phi_matrix_nms * remove old kernels and add optest check_eager * reoder args * reoder args in infermate * update * get back legacy dygraph