Skip to content

Remove warning: sparse index to tensor of unknown shape #1

@srbittner

Description

@srbittner

In the multivariate normal family, the sufficient statistics computation requires masking the upper-right-triangular elements of the matrix. We can do one of three things:

  1. Suppress the warning
  2. Break the matrix multiplication for the second moment matrix (D x D) into D vectorized matrix multiplications of increasing length. It would be interesting to know if this is faster or slower.
  3. Implement this cool DHAMM method in tensorflow. https://software.intel.com/en-us/articles/a-matrix-multiplication-routine-that-updates-only-the-upper-or-lower-triangular-part-of-the

This is low priority.

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