缺少 einops.layers …… 重复
作者: boeddeker创建于 2022年4月26日更新于 2026年7月5日
标签good first issuefeature suggestion
我尝试使用 torch 中的 repeat,需要一个层,但奇怪的是它不存在。我知道可以使用 `einops.layers.torch.Reduce('...', reduction='repeat', ...)`,但这很难读懂。
内容来源: arogozhnikov/einops
我尝试使用 torch 中的 repeat,需要一个层,但奇怪的是它不存在。我知道可以使用 `einops.layers.torch.Reduce('...', reduction='repeat', ...)`,但这很难读懂。
内容来源: arogozhnikov/einops