求大神解读一下这行代码的含义

#30
by bluelueSea - opened

kv_mem = (last_recurrent_state * k_t.unsqueeze(-1)).sum(dim=-2)

Sign up or log in to comment