Skip to content

What does this function mean? #19

@guotong1988

Description

@guotong1988

def look in https://github.com/eske/seq2seq/blob/master/translate/models.py

I see it in https://github.com/eske/seq2seq/blob/master/translate/models.py#L851
where a lot of init_var here

        initial_context, _ = look(0, initial_output, initial_input, pos=initial_pos, prev_weights=initial_weights,
                                  context=zero_context)

@Eske Thank you!!

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