Skip to content

Mistake in function of Hyperbolic Tangent of Complex Number aka cTanh #9

@Weijie-ZHAO

Description

@Weijie-ZHAO

imag = torch.sin(2 * a) / denominator

Hi there,

firstly thanks for your contribution in complex-valued cnn, but it seems that tanh function regarding complex number was defined wrong in your code, it should be

imag = torch.sin(2 * b) / denominator

Best

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