Unverified Commit ee60840e authored by Sandro Cavallari's avatar Sandro Cavallari Committed by GitHub
Browse files

fix _update_memory fn call in transformer-xl (#2971)

parent 6a50d501
......@@ -645,7 +645,7 @@ class TransfoXLModel(TransfoXLPreTrainedModel):
else:
return None
def _update_mems(self, hids, mems, qlen, mlen):
def _update_mems(self, hids, mems, mlen, qlen):
# does not deal with None
if mems is None:
return None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment