TensorNetwork
TensorNetwork copied to clipboard
Add `item` for Tensor
Tensor should support the numpy-like function item
, which converts a size-1 Tensor into a Python scalar.