Skip to content

dimension does not match during SparseTensorDenseMatMul #3

Description

@chouchou1988

When running dssm/single/dssm_v3.py, InvalidArgumentError happens at SparseTensorDenseMatMul with the info "Cannot multiply A and B because inner dimension does not match". I check the code and find that maybe the shape for SparseTensorValue should be np.array([BS, TRIGRAM_D], np.int64) not np.array([BS, TRIGRAM_D], np.int64). Does anyone has the same problems?

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