sample_order can be int during init step because of some checks inserted, but set_para will skip those checks, causing an int to be saved directly in the variable.
As a result, sample_order is not a tuple as expected.
Need to rewrite set_para for NGram?
sample_order can be int during init step because of some checks inserted, but set_para will skip those checks, causing an int to be saved directly in the variable. As a result, sample_order is not a tuple as expected. Need to rewrite set_para for NGram?