umar456 · GitHub

@syurkevi

Copy link Copy Markdown

Contributor

Updates documentation for setIntersect, setUnique, and setUnion

@syurkevi

@9prady9

Copy link Copy Markdown

Member

@syurkevi Can you also add a line to the function description that says if batching is supported or not for these set functions. Of course, if such statement isn't already there.

@syurkevi

Copy link Copy Markdown

Contributor Author

umar456

umar456 previously approved these changes Sep 24, 2018


int h_unique_gold[3] = { 1, 2, 3 };
af::array unique_gold(3, h_unique_gold);
ASSERT_ARRAYS_EQ(unique_gold, unique);

Copy link Copy Markdown

Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit. Use ASSERT_VEC_ARRAY_EQ instead

@syurkevi

@syurkevi

@syurkevi

9prady9

@9prady9

Read the original on github.com ↗