Skip to content

nn.functional.sigmoid is deprecated #14

@panovr

Description

@panovr

This line
output = F.sigmoid(self.conv10(conv9))
cause
UserWarning: nn.functional.sigmoid is deprecated. Use torch.sigmoid instead. warnings.warn("nn.functional.sigmoid is deprecated. Use torch.sigmoid instead.")

It should be:
output = torch.sigmoid(self.conv10(conv9))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions