Skip to content

Module 02: Overflow in Sigmoid unit test, slightly confusing warning message #1221

@asgalon

Description

@asgalon

This showed up when running the test_unit_sigmoid cell:

Image

That is a bit of a mixed message there. Looking at the test, the assertion holds for the Tensor([-1000,1000]), so the warning for overflow is probably expected. Perhaps it would be a good idea to add a comment saying so?

Same happens in the module integration test below, and in the Aha moment output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: bookTextbook content (Vol I & II)type: bugbug in rendering

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions