tf.contrib.framework.with_same_shape(expected_tensor, tensor)
Assert tensors are the same shape, from the same graph.
Args:
-
expected_tensor
: Tensor with expected shape. -
tensor
: Tensor of actual values.
Returns:
Tuple of (actual_tensor, label_tensor), possibly with assert ops added.
Please login to continue.