gigl.utils.share_memory#

Functions

share_memory

Based on GraphLearn-for-PyTorch's share_memory implementation, with additional support for handling empty tensors with share_memory.