cpuhrsch
cpuhrsch
We now have support for [NestedTensors](https://pytorch.org/docs/master/nested.html) in core. That means you could construct a NestedTensor via ``` torch.nested_tensor([ torch.rand(batch_size, in_channels, feature_shape, feature_shape), torch.rand(batch_size, in_channels, feature_shape-10, feature_shape-10), ]) ``` Having said...
cc @jbschlosser
@zou3519 - that would be 5 dimensional. conv2d requires 4-dim inputs, so it wouldn't be able to accept it. I think in general vmap support for NestedTensor is a great...
@pytorchbot merge -f "failure is unrelated"
@pytorchbot merge
@pytorchbot merge
@pytorchbot merge
@drisspg - as long as the compiler is modern enough it should be possible. We'll see if we need to guard against certain compiler versions.
I'm worried about the CUDA context size due to this change. cc @ngimel