Skip to content

Naming inconsistencies #1969

@dmitriy-serdyuk

Description

@dmitriy-serdyuk

There are some functions/classes which are very similar but have a different naming pattern. For example:

  • log_softmax vs logsigmoid: underscore symbol
  • CrossEntropyLoss and NLLLoss vs BCELoss and BCEWithLogitsLoss: CE loss and BCE loss have different inputs

Maybe there are other examples. Is it the legacy of lua torch?

cc @albanD @mruberry

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNot as big of a feature, but technically not a bug. Should be easy to fixmodule: nnRelated to torch.nnmodule: uxtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate module

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions