Skip to content

What are threturn values? #15

@LeenaShekhar

Description

@LeenaShekhar
**else:
  if beam_search:
        return outputs[0], outputs[1], outputs[2:] # No gradient norm, loss, outputs.**

I have a doubt here: why are you returning 3 values, when the comment says just 2 values.

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