MinkowskiEngine icon indicating copy to clipboard operation
MinkowskiEngine copied to clipboard

Add cat_union

Open jbjeong opened this issue 5 years ago • 1 comments
trafficstars

Hello,

I made a simple function to concatenate the tensors which have different sparsity. This can be used in UNet based auto-encoder, where generated tensors and skipped tensors have different sparsity.

Thanks

jbjeong avatar Apr 23 '20 12:04 jbjeong

Thanks for your contribution.

However, this function requires creating two existing coords map A.C, B.C. Could you use get_union_map on https://github.com/StanfordVL/MinkowskiEngine/blob/master/MinkowskiEngine/MinkowskiCoords.py#L314 to remove the unnecessary coordinate creation?

chrischoy avatar Apr 30 '20 05:04 chrischoy