Added infer_shape test using InferShapeTester for TensorInv function.