def METHOD_NAME(embedding_op: tf.Operation) -> tf.Tensor:
    """
    Get position embedding op from embedding op
    :param embedding_op: associated op of embedding layer
    :return: position embedding tensor
    """
    assert embedding_op.type == 'AddV2'
    add = embedding_op.inputs[0].op
    assert add.type == 'AddV2'
    tile = add.inputs[1].op
    assert tile.type == 'Tile'
    identity_1 = tile.inputs[0].op
    assert identity_1.type == 'Identity'
    gather_1 = identity_1.inputs[0].op
    assert gather_1.type == 'ResourceGather'
    # gather_1 is not connected to valid_ops, which makes quantization difficult
    # Quantize the consumer instead - which is identity_1
    return identity_1.outputs[0]