I’d like to pass a custom object as undifferentiable input (tuple of tensors representing batched list of ROIs) to a custom (ROI pooling) Function’s new-style forward. In practice, this object in my case would be a tuple of tensors, but unfortunately a Variable can’t hold non-tensors. Is there a nice way to do it without resorting to workarounds?
(As a workaround, I can pass this tuple as *args, but for other cases this wouldn’t work)
P.S. would be cool if this forum supported more topic categories, like “autograd” etc