Commit 60a2c57a authored by sunzhq2's avatar sunzhq2 Committed by xuxo
Browse files

update conformer

parent 4a699441
import chainer.functions as F
def _subsamplex(x, n):
x = [F.get_item(xx, (slice(None, None, n), slice(None))) for xx in x]
ilens = [xx.shape[0] for xx in x]
return x, ilens
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