KEMBAR78
MultiLabelMarginLoss document incorrect · Issue #3796 · pytorch/pytorch · GitHub
Skip to content

MultiLabelMarginLoss document incorrect #3796

@da03

Description

@da03

In PyTorch, since class labels are zero-indexed, actually only non “-1” target values are considered, instead of "The criterion only considers the first non zero y[j] targets."

class MultiLabelMarginLoss(_Loss):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions