def METHOD_NAME(cls, graph, node, **kw):
    node = graph.make_node(
        'anchor_generator',
        inputs=node.input('Input'),
        outputs=node.output('Anchors') + node.output('Variances'),
        anchor_sizes = node.attr('anchor_sizes'),
        aspect_ratios = node.attr('aspect_ratios'),
        offset = node.attr('offset'),
        strides = node.attr('stride'),
        variances = node.attr('variances'),
        domain = 'custom')