google-deepmind / google-deepmind/deepmind-research

tf.unique functionality changed

Open
#352 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
15.2k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

tf.unique finds unique entries in an array [1,2,3,4,5,5] It doesn't work for multi-dimensional arrays like what you are passing in here.

https://github.com/deepmind/deepmind-research/blob/11c2ab53e8afd24afa8904f22fd81b699bfbce6e/meshgraphnets/common.py#L46

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.