Skip to content

bug found #8

@tszdanger

Description

@tszdanger

in "手写数字识别器_minst_convnet.ipynb"
in def forward()
x = F.log_softmax(x, dim = 0) #输出层为log_softmax,即概率对数值log(p(x))。采用log_softmax可以使得后面的交叉熵计算更快
here the dim should be 1 because we see dim=0 as per data line

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions