View source on GitHub |
Returns an error message describing the mismatch between two types.
tff.types.type_mismatch_error_message(
first: 'Type',
second: 'Type',
relation: tff.types.TypeRelation
,
second_is_expected: bool = False
) -> str