trace

libadcc.trace(*args, **kwargs)

Overloaded function.

  1. trace(subscripts: str, tensor: libadcc.Tensor) -> float

  2. trace(tensor: libadcc.Tensor) -> float