Skip to content

Log_threshold vs threshold gradients #2

@michaelttpearce

Description

@michaelttpearce

In the JumpReLUFunction class, the input parameter is log_threshold which is used to define the threshold as torch.exp(log_threshold). But the (pass-through) gradients computed seem to be for the threshold, not the log_threshold.

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