【发布时间】:2019-12-22 16:05:18
【问题描述】:
pytorch中class Linear(Module):中的__constants__在https://pytorch.org/docs/stable/_modules/torch/nn/modules/linear.html中定义是什么?
它的功能是什么?为什么要使用它?
我一直在四处寻找,但没有找到任何文档。请注意,这并不意味着火炬脚本中的__constants__。
【问题讨论】:
标签: pytorch