I have to add a subset of one tensor to another.  What is an efficient way of doing this without slices?
Given:

tensor A where A.size() = [10, 256, 23, 39]
tensor B where B.size() = [10, 256, 16, 32]

How do I emulate this statement in PyTorch?
A[:,:,3:19, 3:35] += B