TensorNetwork: tensor network algorithms on accelerated hardware