Function dispose

  • Manually dispose of a tensor.

    Parameters

    • x: Tensor | Tensor[]

      the tensor or tensors to be disposed of

    Returns void