is_match

TensorInfo.is_match(other)

Checks if the associated tensors match for mutual copying.

Parameters:

other (TensorInfo) -- The TensorInfo object to compare with.

Returns:

Returns True if name, format, shape, and precision are identical.

Return type:

bool