-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jittor.nn.Embedding的文档中说有padding_idx,但并没有实现 #589
Comments
|
由于一些原因我现在无法升级版本,我从哪里可以查看以前版本的文档? |
@PhyllisJi 官网文档没找到版本切换,如果需要查看以前的文档,也可以看 API 对应代码注释(文档是自动从代码中生成的) |
再请问一下,为什么文档里没有jittor.nn.AdaptiveMaxPool3d? |
大概是文档生成模板中没有添加 https://cg.cs.tsinghua.edu.cn/jittor/assets/docs/_modules/jittor/pool.html#AdaptiveMaxPool3d class AdaptiveMaxPool3d(Module):
'''
对输入进行三维自适应平均池化处理的类。
参数:
- output_size (int, tuple, list) : 期望的输出形状。
- return_indices (bool): 若为True, 则将最大值索引值和输出一起返回。
形状:
- 输入: :math:`[N, C, D, H, W]`
- 输出: :math:`[N, C, S_0, S_1, S_2]`, 此处 (S_0, S_1, S_2) = ``output_size`` 。
属性:
- output_size (int, tuple, list) : 期望的输出形状。
- return_indices (bool) : 若为True, 则将最大值索引值和输出一起返回。
代码示例:
>>> # target output size of 5x7x9
>>> m = nn.AdaptiveMaxPool3d((5, 7, 9))
>>> input = jt.randn(1, 64, 8, 9, 10)
>>> output = m(input)
>>> # target output size of 7x7x7 (cube)
>>> m = nn.AdaptiveMaxPool3d(7)
>>> input = jt.randn(1, 64, 10, 9, 8)
>>> output = m(input)
>>> # target output size of 7x9x8
''' |
Describe the bug
jittor 1.3.7没有实现padding_idx
Full Log
Minimal Reproduce
The text was updated successfully, but these errors were encountered: