xlnstorch.csrc.get_table

Contents

xlnstorch.csrc.get_table#

xlnstorch.csrc.get_table(ez, sbdb, base)#

Gives access to the underlying data pointer of the sbdb Tensor and saves copies of the ez and base tensors. This allows us to perform lookup table addition without doubling the memory usage.

Parameters:
  • ez (torch.Tensor) – A tensor used for the lookup table.

  • sbdb (torch.Tensor) – The SBDB tensor containing the lookup table data.

  • base (torch.Tensor) – The base for the LNS representation.

Return type:

None