def METHOD_NAME():
    with context() as (builder_ctx, resolver_ctx):
        with contextlib.suppress(ImportError):
            register_tensorflow_types(builder_ctx, resolver_ctx)
        yield builder_ctx, resolver_ctx