parameters: (expected_shape, actual_tensor)
docstring: Asserts actual_tensor's shape is expected_shape.
  
    Args:
      expected_shape: List of integers defining the expected shape, or tensor of
          same.
      actual_tensor: Tensor to test.
    Returns:
      New assert tensor.
docstring_summary: Asserts actual_tensor's shape is expected_shape.
docstring_tokens: Asserts actual_tensor s shape is expected_shape .
function: def _assert_shape_op(expected_shape, actual_tensor):
    """Asserts actual_tensor's shape is expected_shape.
  
    Args:
      expected_shape: List of integers defining the expected shape, or tensor of
          same.
      actual_tensor: Tensor to test.
    Returns:
      New assert tensor.
    """
    with ops.op_scope([actual_tensor], 'assert_shape') as scope:
      actual_shape = array_ops.shape(actual_tensor, name='actual')
      is_shape = _is_shape(expected_shape, actual_tensor, actual_shape)
      return logging_ops.Assert(
          is_shape, [
              'Wrong shape for %s [expected] [actual].' % actual_tensor.name,
              expected_shape,
              actual_shape
          ], name=scope)
function_tokens: def _assert_shape_op ( expected_shape , actual_tensor ) : with ops . op_scope ( [ actual_tensor ] , 'assert_shape' ) as scope : actual_shape = array_ops . shape ( actual_tensor , name = 'actual' ) is_shape = _is_shape ( expected_shape , actual_tensor , actual_shape ) return logging_ops . Assert ( is_shape , [ 'Wrong shape for %s [expected] [actual].' % actual_tensor . name , expected_shape , actual_shape ] , name = scope )