Searched refs:expected_ty (Results 1 – 3 of 3) sorted by relevance
107 mlir::Type expected_ty) { in VerifyConversion() argument108 mlir::Builder b(expected_ty.getContext()); in VerifyConversion()116 EXPECT_EQ(attr.getType().getElementType(), expected_ty); in VerifyConversion()
1446 TensorType expected_ty; in Verify() local1448 expected_ty))) in Verify()1463 if (!TF::AreCastCompatible({output_ty, expected_ty})) in Verify()1466 << " to be cast compatible with expected type " << expected_ty; in Verify()
672 TensorType expected_ty; in Verify() local674 expected_ty))) in Verify()689 if (!AreCastCompatible({output_ty, expected_ty})) in Verify()692 << " to be cast compatible with expected type " << expected_ty; in Verify()