#369·einops

匹配任意数量的维度 `"a*b"`

作者: PierreGtch创建于 2025年3月7日更新于 2025年3月7日

Hi, thanks for this awesome library! 目前,可以使用...来匹配任意数量的维度```Python einops.parse_shape(torch.zeros(1,2,3,4), "a ... c") # {'a': 2, 'c': 4} 但是,我们无法知道...匹配了什么

内容来源: arogozhnikov/einops