Take operator frontend(nnvm) gpu test case fails with std::bad_alloc

NNVM Take Operator frontend test case failed because of following error,

test_top_level1.test_take ... [06:30:57] src/arithmetic/int_set.cc:514: cannot evaluate set type Load
[06:30:57] src/arithmetic/int_set.cc:514: cannot evaluate set type Load
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
./tests/scripts/task_python_test.sh: line 10: 19239 Aborted                 (core dumped) python -m nose -v tests/python/compiler
script returned exit code 255

same test case verified successfully with opencl and output matched perfectly with numpy.take operator. Looking forward to understand the problem.

Rebase to master worked for me on the same error.