Torch.take() error

test torch.take() error:
AttributeError: module ‘torch’ has no attribute ‘take’

torch.take() was deprecated? PyTorch version 0.2.0_3

test demo

You need to install pytorch from source as torch.take is merged only 4 days ago. Add torch.take and Tensor.put_