TensorNetwork icon indicating copy to clipboard operation
TensorNetwork copied to clipboard

Add `item` for Tensor

Open alewis opened this issue 4 years ago • 6 comments

Tensor should support the numpy-like function item, which converts a size-1 Tensor into a Python scalar.

alewis avatar Sep 29 '20 12:09 alewis