nestedtensor icon indicating copy to clipboard operation
nestedtensor copied to clipboard

[DESIGN] view_as_nested_tensor operation

Open cpuhrsch opened this issue 5 years ago • 0 comments

Our old version of as_nested_tensor allowed users to create NestedTensor as a container that wraps lists of Tensors and allows modifications to trickle down to the constituents. However, this was not in line with torch.as_tensor. Should we introduce a separate abstraction to introduce this view operation?

cpuhrsch avatar May 20 '20 21:05 cpuhrsch