add functionality for tensors to utils.padded_tensor (#1106)
add functionality for tensors to utils.padded_tensor (#1106)


facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI,facebookresearch/ParlAI