def METHOD_NAME(self, context, layout):
    layout.row().prop(self, 'advanced_mode')
    layout.label(text="Implementation:")
    layout.prop(self, "implementation", expand=True)
    layout.prop(self, "output_numpy", toggle=False)