LazyTensor.contract, imps.block_tensor