basedpyright 1.36.2 → 1.37.0-961d59bacff1958014fe4e9ed2ef3116fe2266e2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/pyright-langserver.js +1 -1
- package/dist/pyright-langserver.js.map +1 -1
- package/dist/pyright.js +1 -1
- package/dist/pyright.js.map +1 -1
- package/dist/typeshed-fallback/README.md +6 -6
- package/dist/typeshed-fallback/commit.txt +1 -1
- package/dist/typeshed-fallback/stdlib/_compression.pyi +13 -2
- package/dist/typeshed-fallback/stdlib/_ctypes.pyi +49 -16
- package/dist/typeshed-fallback/stdlib/_winapi.pyi +9 -0
- package/dist/typeshed-fallback/stdlib/_zstd.pyi +7 -2
- package/dist/typeshed-fallback/stdlib/argparse.pyi +39 -10
- package/dist/typeshed-fallback/stdlib/asyncio/coroutines.pyi +27 -8
- package/dist/typeshed-fallback/stdlib/asyncio/protocols.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/asyncio/runners.pyi +5 -2
- package/dist/typeshed-fallback/stdlib/asyncio/trsock.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/builtins.pyi +54 -31
- package/dist/typeshed-fallback/stdlib/calendar.pyi +3 -1
- package/dist/typeshed-fallback/stdlib/codecs.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/compression/_common/_streams.pyi +13 -2
- package/dist/typeshed-fallback/stdlib/compression/zstd/__init__.pyi +7 -2
- package/dist/typeshed-fallback/stdlib/compression/zstd/_zstdfile.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/contextlib.pyi +15 -6
- package/dist/typeshed-fallback/stdlib/ctypes/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/enum.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/heapq.pyi +5 -0
- package/dist/typeshed-fallback/stdlib/html/parser.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/http/client.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/imaplib.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/importlib/readers.pyi +2 -2
- package/dist/typeshed-fallback/stdlib/importlib/resources/abc.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/importlib/resources/simple.pyi +2 -1
- package/dist/typeshed-fallback/stdlib/importlib/util.pyi +15 -1
- package/dist/typeshed-fallback/stdlib/ipaddress.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/locale.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/mimetypes.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/mmap.pyi +12 -12
- package/dist/typeshed-fallback/stdlib/multiprocessing/dummy/__init__.pyi +20 -8
- package/dist/typeshed-fallback/stdlib/multiprocessing/managers.pyi +4 -1
- package/dist/typeshed-fallback/stdlib/multiprocessing/process.pyi +4 -0
- package/dist/typeshed-fallback/stdlib/multiprocessing/synchronize.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/optparse.pyi +1 -1
- package/dist/typeshed-fallback/stdlib/os/__init__.pyi +217 -127
- package/dist/typeshed-fallback/stdlib/parser.pyi +4 -4
- package/dist/typeshed-fallback/stdlib/pathlib/__init__.pyi +11 -0
- package/dist/typeshed-fallback/stdlib/pdb.pyi +14 -4
- package/dist/typeshed-fallback/stdlib/pyexpat/__init__.pyi +6 -0
- package/dist/typeshed-fallback/stdlib/select.pyi +8 -4
- package/dist/typeshed-fallback/stdlib/socket.pyi +15 -0
- package/dist/typeshed-fallback/stdlib/sqlite3/__init__.pyi +3 -2
- package/dist/typeshed-fallback/stdlib/ssl.pyi +3 -0
- package/dist/typeshed-fallback/stdlib/stat.pyi +108 -1
- package/dist/typeshed-fallback/stdlib/subprocess.pyi +60 -61
- package/dist/typeshed-fallback/stdlib/sys/__init__.pyi +41 -4
- package/dist/typeshed-fallback/stdlib/sys/_monitoring.pyi +8 -4
- package/dist/typeshed-fallback/stdlib/sysconfig.pyi +13 -4
- package/dist/typeshed-fallback/stdlib/tarfile.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/threading.pyi +9 -4
- package/dist/typeshed-fallback/stdlib/tkinter/constants.pyi +6 -6
- package/dist/typeshed-fallback/stdlib/tkinter/ttk.pyi +14 -6
- package/dist/typeshed-fallback/stdlib/types.pyi +8 -11
- package/dist/typeshed-fallback/stdlib/typing.pyi +18 -12
- package/dist/typeshed-fallback/stdlib/typing_extensions.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/unittest/mock.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/unittest/util.pyi +19 -2
- package/dist/typeshed-fallback/stdlib/urllib/request.pyi +7 -0
- package/dist/typeshed-fallback/stdlib/uuid.pyi +6 -5
- package/dist/typeshed-fallback/stdlib/winreg.pyi +3 -3
- package/dist/typeshed-fallback/stdlib/xml/etree/ElementTree.pyi +1 -0
- package/dist/typeshed-fallback/stdlib/zipfile/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stdlib/zlib.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/METADATA.toml +1 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/common/urls.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_app.pyi +4 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/async_openid.pyi +4 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/framework_integration.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/registry.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_app.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/base_client/sync_openid.pyi +4 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_client/__init__.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_client/apps.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_client/integration.pyi +11 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/authorization_server.pyi +26 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/nonce.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth1/resource_protector.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/__init__.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/authorization_server.pyi +24 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/endpoints.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/requests.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/resource_protector.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/django_oauth2/signals.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_client/__init__.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_client/apps.pyi +18 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_client/integration.pyi +10 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/__init__.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/authorization_server.pyi +29 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/cache.pyi +8 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth1/resource_protector.pyi +18 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/__init__.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/authorization_server.pyi +23 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/errors.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/requests.pyi +27 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/resource_protector.pyi +15 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/flask_oauth2/signals.pyi +5 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/__init__.pyi +37 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/assertion_client.pyi +50 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/oauth1_client.pyi +56 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/oauth2_client.pyi +72 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/httpx_client/utils.pyi +7 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/__init__.pyi +28 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/assertion_session.pyi +31 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/oauth1_session.pyi +29 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/oauth2_session.pyi +43 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/requests_client/utils.pyi +6 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/__init__.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/client_mixin.pyi +55 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/functions.pyi +21 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/sqla_oauth2/tokens_mixins.pyi +39 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/starlette_client/__init__.pyi +14 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/starlette_client/apps.pyi +16 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/integrations/starlette_client/integration.pyi +13 -0
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_algorithms.pyi +12 -10
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/drafts/_jwe_enc_cryptography.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/jwk.pyi +6 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/jws.pyi +6 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7515/models.pyi +3 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/jwe.pyi +9 -8
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7516/models.pyi +12 -11
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/_cryptography_key.pyi +35 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/asymmetric_key.pyi +6 -5
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/base_key.pyi +8 -8
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/jwk.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7517/key_set.pyi +3 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_algs.pyi +28 -23
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jwe_encs.pyi +6 -5
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/jws_algs.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/oct_key.pyi +5 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/rsa_key.pyi +2 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7518/util.pyi +4 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc7519/jwt.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/jws_eddsa.pyi +4 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/jose/rfc8037/okp_key.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/client.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/authorization_server.pyi +7 -7
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/base_server.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/client_auth.pyi +6 -6
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/errors.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/models.pyi +8 -8
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/parameters.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/resource_protector.pyi +4 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/rsa.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/signature.pyi +20 -18
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth1/rfc5849/util.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/base.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/client.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/authorization_server.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/authorization_code.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/base.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/grants/resource_owner_password_credentials.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/parameters.pyi +5 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/resource_protector.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/token_endpoint.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6749/wrappers.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/errors.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/parameters.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc6750/validator.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7009/revocation.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/assertion.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/auth.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/client.pyi +5 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7523/jwt_bearer.pyi +6 -5
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7591/endpoint.pyi +4 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7592/endpoint.pyi +8 -8
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/introspection.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc7662/token_validator.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8414/well_known.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/device_code.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/endpoint.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc8628/models.pyi +4 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/introspection.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/revocation.pyi +3 -2
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oauth2/rfc9068/token_validator.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/claims.pyi +6 -8
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/code.pyi +2 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/hybrid.pyi +4 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/grants/implicit.pyi +6 -4
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/userinfo.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/core/util.pyi +7 -1
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/models.pyi +1 -3
- package/dist/typeshed-fallback/stubs/Authlib/authlib/oidc/discovery/well_known.pyi +1 -1
- package/dist/typeshed-fallback/stubs/Deprecated/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Deprecated/deprecated/__init__.pyi +7 -2
- package/dist/typeshed-fallback/stubs/Deprecated/deprecated/params.pyi +20 -0
- package/dist/typeshed-fallback/stubs/Flask-SocketIO/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Markdown/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/Markdown/markdown/htmlparser.pyi +2 -0
- package/dist/typeshed-fallback/stubs/PyMySQL/pymysql/cursors.pyi +1 -0
- package/dist/typeshed-fallback/stubs/Pygments/pygments/console.pyi +4 -4
- package/dist/typeshed-fallback/stubs/Pygments/pygments/filter.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Pygments/pygments/filters/__init__.pyi +14 -14
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatter.pyi +10 -9
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/__init__.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/_mapping.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/bbcode.pyi +5 -4
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/html.pyi +27 -26
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/img.pyi +33 -32
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/irc.pyi +7 -6
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/latex.pyi +21 -20
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/other.pyi +9 -8
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/pangomarkup.pyi +5 -4
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/rtf.pyi +6 -5
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/svg.pyi +15 -14
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/terminal.pyi +7 -6
- package/dist/typeshed-fallback/stubs/Pygments/pygments/formatters/terminal256.pyi +18 -17
- package/dist/typeshed-fallback/stubs/Pygments/pygments/lexers/__init__.pyi +6 -7
- package/dist/typeshed-fallback/stubs/Pygments/pygments/plugin.pyi +5 -5
- package/dist/typeshed-fallback/stubs/Pygments/pygments/regexopt.pyi +3 -3
- package/dist/typeshed-fallback/stubs/Pygments/pygments/scanner.pyi +6 -6
- package/dist/typeshed-fallback/stubs/Pygments/pygments/unistring.pyi +2 -2
- package/dist/typeshed-fallback/stubs/Pygments/pygments/util.pyi +5 -5
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/BufferedTokenStream.pyi +14 -15
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenFactory.pyi +15 -7
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/CommonTokenStream.pyi +1 -3
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/FileStream.pyi +2 -4
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/InputStream.pyi +13 -11
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Lexer.pyi +43 -29
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Parser.pyi +47 -34
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserInterpreter.pyi +13 -13
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/ParserRuleContext.pyi +30 -23
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Recognizer.pyi +26 -17
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/RuleContext.pyi +22 -20
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/Token.pyi +26 -25
- package/dist/typeshed-fallback/stubs/antlr4-python3-runtime/antlr4/tree/Tree.pyi +30 -26
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/assertpy.pyi +13 -10
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/base.pyi +4 -5
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/collection.pyi +12 -4
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/contains.pyi +10 -8
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/dict.pyi +8 -6
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/dynamic.pyi +1 -1
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/extracting.pyi +4 -2
- package/dist/typeshed-fallback/stubs/assertpy/assertpy/file.pyi +2 -3
- package/dist/typeshed-fallback/stubs/atheris/METADATA.toml +6 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/__init__.pyi +9 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/function_hooks.pyi +14 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/import_hook.pyi +36 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/instrument_bytecode.pyi +7 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/utils.pyi +18 -0
- package/dist/typeshed-fallback/stubs/atheris/atheris/version_dependent.pyi +27 -0
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/__init__.pyi +2 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/async_context.pyi +15 -5
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/async_recorder.pyi +28 -9
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/context.pyi +7 -7
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/daemon_config.pyi +9 -7
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/emitters/udp_emitter.pyi +2 -2
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/lambda_launcher.pyi +8 -12
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/entity.pyi +1 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/facade_segment.pyi +1 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/http.pyi +9 -9
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/segment.pyi +1 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/subsegment.pyi +3 -2
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/models/throwable.pyi +11 -3
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/patcher.pyi +3 -2
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/ec2_plugin.pyi +3 -3
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/ecs_plugin.pyi +2 -2
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/plugins/elasticbeanstalk_plugin.pyi +3 -3
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/recorder.pyi +19 -15
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/rule_cache.pyi +1 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/sampler.pyi +3 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/sampling_rule.pyi +23 -13
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/core/sampling/target_poller.pyi +5 -1
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/ext/psycopg/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/ext/psycopg/patch.pyi +1 -0
- package/dist/typeshed-fallback/stubs/aws-xray-sdk/aws_xray_sdk/ext/util.pyi +1 -1
- package/dist/typeshed-fallback/stubs/bleach/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/bleach/bleach/html5lib_shim.pyi +1 -1
- package/dist/typeshed-fallback/stubs/bleach/bleach/linkifier.pyi +1 -1
- package/dist/typeshed-fallback/stubs/bleach/bleach/sanitizer.pyi +2 -2
- package/dist/typeshed-fallback/stubs/braintree/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/address.pyi +8 -4
- package/dist/typeshed-fallback/stubs/braintree/braintree/address_gateway.pyi +3 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/client_token.pyi +5 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/client_token_gateway.pyi +5 -3
- package/dist/typeshed-fallback/stubs/braintree/braintree/error_codes.pyi +11 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method.pyi +30 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/payment_method_gateway.pyi +30 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription.pyi +10 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_details.pyi +5 -1
- package/dist/typeshed-fallback/stubs/braintree/braintree/subscription_gateway.pyi +12 -5
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction.pyi +6 -2
- package/dist/typeshed-fallback/stubs/braintree/braintree/transaction_gateway.pyi +5 -2
- package/dist/typeshed-fallback/stubs/colorful/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/ansi.pyi +14 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/colors.pyi +6 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/core.pyi +102 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/styles.pyi +4 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/terminal.pyi +16 -0
- package/dist/typeshed-fallback/stubs/colorful/colorful/utils.pyi +2 -0
- package/dist/typeshed-fallback/stubs/decorator/decorator.pyi +2 -2
- package/dist/typeshed-fallback/stubs/django-filter/django_filters/filterset.pyi +3 -1
- package/dist/typeshed-fallback/stubs/docker/docker/api/container.pyi +6 -1
- package/dist/typeshed-fallback/stubs/docker/docker/api/daemon.pyi +12 -4
- package/dist/typeshed-fallback/stubs/docker/docker/api/exec_api.pyi +123 -7
- package/dist/typeshed-fallback/stubs/docker/docker/client.pyi +12 -8
- package/dist/typeshed-fallback/stubs/docker/docker/models/containers.pyi +27 -17
- package/dist/typeshed-fallback/stubs/docker/docker/models/images.pyi +1 -1
- package/dist/typeshed-fallback/stubs/docker/docker/models/resource.pyi +5 -5
- package/dist/typeshed-fallback/stubs/docutils/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/docutils/docutils/parsers/rst/directives/body.pyi +10 -0
- package/dist/typeshed-fallback/stubs/et_xmlfile/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/et_xmlfile/et_xmlfile/__init__.pyi +9 -0
- package/dist/typeshed-fallback/stubs/et_xmlfile/et_xmlfile/incremental_tree.pyi +170 -0
- package/dist/typeshed-fallback/stubs/et_xmlfile/et_xmlfile/xmlfile.pyi +37 -0
- package/dist/typeshed-fallback/stubs/fanstatic/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-bugbear/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-bugbear/bugbear.pyi +37 -65
- package/dist/typeshed-fallback/stubs/flake8-builtins/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-simplify/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/flake8-simplify/flake8_simplify/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/flake8-simplify/flake8_simplify/constants.pyi +6 -3
- package/dist/typeshed-fallback/stubs/flake8-simplify/flake8_simplify/utils.pyi +0 -1
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/drawing.pyi +145 -81
- package/dist/typeshed-fallback/stubs/fpdf2/fpdf/text_region.pyi +1 -1
- package/dist/typeshed-fallback/stubs/geopandas/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/array.pyi +7 -14
- package/dist/typeshed-fallback/stubs/geopandas/geopandas/geodataframe.pyi +1 -0
- package/dist/typeshed-fallback/stubs/gevent/METADATA.toml +2 -2
- package/dist/typeshed-fallback/stubs/gevent/gevent/events.pyi +1 -12
- package/dist/typeshed-fallback/stubs/gevent/gevent/libuv/watcher.pyi +1 -0
- package/dist/typeshed-fallback/stubs/gevent/gevent/os.pyi +1 -0
- package/dist/typeshed-fallback/stubs/gevent/gevent/signal.pyi +2 -1
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/_cache.pyi +9 -10
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/_datastore_query.pyi +1 -2
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/_eventloop.pyi +11 -10
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/blobstore.pyi +6 -6
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/context.pyi +21 -21
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/exceptions.pyi +2 -2
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/global_cache.pyi +13 -14
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/key.pyi +2 -3
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/metadata.pyi +1 -2
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/polymodel.pyi +2 -2
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/query.pyi +26 -27
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/stats.pyi +37 -37
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/tasklets.pyi +7 -7
- package/dist/typeshed-fallback/stubs/google-cloud-ndb/google/cloud/ndb/utils.pyi +4 -4
- package/dist/typeshed-fallback/stubs/greenlet/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/arbiter.pyi +2 -2
- package/dist/typeshed-fallback/stubs/gunicorn/gunicorn/sock.pyi +2 -0
- package/dist/typeshed-fallback/stubs/html5lib/METADATA.toml +1 -0
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/_ihatexml.pyi +21 -23
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/_inputstream.pyi +79 -71
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/_tokenizer.pyi +87 -51
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/_utils.pyi +18 -11
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/constants.pyi +1 -3
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/alphabeticalattributes.pyi +3 -2
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/base.pyi +9 -6
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/inject_meta_charset.pyi +5 -3
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/lint.pyi +5 -3
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/optionaltags.pyi +1 -2
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/sanitizer.pyi +6 -6
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/filters/whitespace.pyi +2 -2
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/html5parser.pyi +2 -2
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/serializer.pyi +75 -19
- package/dist/typeshed-fallback/stubs/html5lib/html5lib/treeadapters/sax.pyi +0 -3
- package/dist/typeshed-fallback/stubs/hvac/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/__init__.pyi +3 -4
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/aws.pyi +2 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/azure.pyi +3 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/gcp.pyi +3 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/kubernetes.pyi +1 -0
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/auth_methods/legacy_mfa.pyi +2 -4
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/__init__.pyi +3 -4
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/identity.pyi +2 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/secrets_engines/kv.pyi +3 -3
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/system_backend/__init__.pyi +3 -4
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/system_backend/system_backend_mixin.pyi +2 -2
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/system_backend/wrapping.pyi +2 -3
- package/dist/typeshed-fallback/stubs/hvac/hvac/api/vault_api_category.pyi +2 -3
- package/dist/typeshed-fallback/stubs/icalendar/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/__init__.pyi +0 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/alarms.pyi +2 -2
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/cal.pyi +16 -9
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/parser.pyi +2 -1
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/prop.pyi +3 -3
- package/dist/typeshed-fallback/stubs/icalendar/icalendar/timezone/zoneinfo.pyi +1 -5
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/__init__.pyi +5 -5
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/__init__.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/attrDef.pyi +13 -13
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/attribute.pyi +9 -9
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/cursor.pyi +28 -27
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/abstract/entry.pyi +11 -11
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/exceptions.pyi +8 -8
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/pooling.pyi +15 -15
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/rdns.pyi +7 -7
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/results.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/server.pyi +15 -14
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/timezone.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/tls.pyi +13 -13
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/core/usage.pyi +6 -6
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/__init__.pyi +4 -4
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/microsoft/dirSync.pyi +12 -12
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/microsoft/persistentSearch.pyi +7 -7
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/extend/standard/PersistentSearch.pyi +13 -13
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/operation/modify.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/operation/search.pyi +5 -5
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/formatters/formatters.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/formatters/standard.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/oid.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/rfc2849.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/protocol/rfc4512.pyi +59 -59
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/asyncStream.pyi +7 -7
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/asynchronous.pyi +6 -6
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/base.pyi +7 -7
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/ldifProducer.pyi +4 -4
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/mockAsync.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/mockBase.pyi +9 -9
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/mockSync.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/restartable.pyi +4 -4
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/reusable.pyi +20 -20
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/strategy/sync.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/config.pyi +2 -2
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/hashed.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/log.pyi +3 -3
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/ntlm.pyi +41 -41
- package/dist/typeshed-fallback/stubs/ldap3/ldap3/utils/repr.pyi +2 -2
- package/dist/typeshed-fallback/stubs/lupa/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/__init__.pyi +4 -1
- package/dist/typeshed-fallback/stubs/netaddr/netaddr/ip/iana.pyi +8 -8
- package/dist/typeshed-fallback/stubs/networkx/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/steinertree.pyi +4 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/approximation/treewidth.pyi +11 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/assortativity/mixing.pyi +4 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matching.pyi +3 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/bipartite/matrix.pyi +8 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/closeness.pyi +2 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/current_flow_betweenness.pyi +2 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/eigenvector.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/katz.pyi +5 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/percolation.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/reaching.pyi +3 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/centrality/subgraph_alg.pyi +2 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/cluster.pyi +13 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/__init__.pyi +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/bipartitions.pyi +22 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/core.pyi +6 -5
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/dag.pyi +0 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/distance_regular.pyi +2 -2
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/isomorphism/ismags.pyi +17 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/non_randomness.pyi +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/perfect_graph.pyi +7 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/planarity.pyi +13 -4
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/similarity.pyi +19 -3
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/threshold.pyi +0 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/tree/distance_measures.pyi +10 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/wiener.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/digraph.pyi +13 -7
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/function.pyi +3 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/graph.pyi +12 -6
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multidigraph.pyi +10 -9
- package/dist/typeshed-fallback/stubs/networkx/networkx/classes/multigraph.pyi +23 -13
- package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/layout.pyi +0 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/drawing/nx_pylab.pyi +20 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/expanders.pyi +9 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/random_graphs.pyi +21 -16
- package/dist/typeshed-fallback/stubs/networkx/networkx/generators/small.pyi +3 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/readwrite/json_graph/node_link.pyi +2 -24
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/misc.pyi +1 -1
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/random_sequence.pyi +5 -0
- package/dist/typeshed-fallback/stubs/networkx/networkx/utils/union_find.pyi +12 -10
- package/dist/typeshed-fallback/stubs/parsimonious/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/parsimonious/parsimonious/exceptions.pyi +5 -3
- package/dist/typeshed-fallback/stubs/peewee/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/containers.pyi +8 -3
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/internal/well_known_types.pyi +2 -2
- package/dist/typeshed-fallback/stubs/protobuf/google/protobuf/message.pyi +1 -1
- package/dist/typeshed-fallback/stubs/psutil/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/psutil/psutil/__init__.pyi +57 -77
- package/dist/typeshed-fallback/stubs/psutil/psutil/_common.pyi +135 -262
- package/dist/typeshed-fallback/stubs/psutil/psutil/_ntuples.pyi +384 -0
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psaix.pyi +100 -86
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psbsd.pyi +213 -168
- package/dist/typeshed-fallback/stubs/psutil/psutil/_pslinux.pyi +181 -237
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psosx.pyi +81 -100
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psposix.pyi +78 -4
- package/dist/typeshed-fallback/stubs/psutil/psutil/_pssunos.pyi +141 -119
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_aix.pyi +58 -0
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_bsd.pyi +141 -0
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_linux.pyi +47 -15
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_osx.pyi +77 -49
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_sunos.pyi +63 -0
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_windows.pyi +102 -91
- package/dist/typeshed-fallback/stubs/psutil/psutil/_pswindows.pyi +175 -200
- package/dist/typeshed-fallback/stubs/pycurl/pycurl.pyi +5 -3
- package/dist/typeshed-fallback/stubs/pyinstaller/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/python-crontab/crontab.pyi +4 -4
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/parser/_parser.pyi +6 -7
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/rrule.pyi +28 -25
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/_common.pyi +8 -3
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/tz.pyi +21 -19
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/tz/win.pyi +5 -4
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/zoneinfo/__init__.pyi +2 -1
- package/dist/typeshed-fallback/stubs/python-dateutil/dateutil/zoneinfo/rebuild.pyi +5 -1
- package/dist/typeshed-fallback/stubs/python-jenkins/jenkins/__init__.pyi +13 -6
- package/dist/typeshed-fallback/stubs/pytz/pytz/lazy.pyi +2 -2
- package/dist/typeshed-fallback/stubs/pyxdg/xdg/RecentFiles.pyi +5 -7
- package/dist/typeshed-fallback/stubs/qrbill/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/qrbill/qrbill/bill.pyi +10 -0
- package/dist/typeshed-fallback/stubs/regex/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/regex/regex/__init__.pyi +64 -1
- package/dist/typeshed-fallback/stubs/regex/regex/{regex.pyi → _main.pyi} +66 -0
- package/dist/typeshed-fallback/stubs/regex/regex/_regex.pyi +1 -1
- package/dist/typeshed-fallback/stubs/regex/regex/_regex_core.pyi +59 -19
- package/dist/typeshed-fallback/stubs/reportlab/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/lib/testutils.pyi +27 -25
- package/dist/typeshed-fallback/stubs/reportlab/reportlab/platypus/flowables.pyi +1 -1
- package/dist/typeshed-fallback/stubs/requests/requests/exceptions.pyi +2 -1
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/data.pyi +2 -3
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/_core/typing.pyi +0 -2
- package/dist/typeshed-fallback/stubs/seaborn/seaborn/categorical.pyi +1 -1
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/__init__.pyi +102 -45
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/cmd.pyi +6 -3
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/base.pyi +8 -2
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/compilers/C/msvc.pyi +3 -0
- package/dist/typeshed-fallback/stubs/setuptools/setuptools/_distutils/spawn.pyi +14 -4
- package/dist/typeshed-fallback/stubs/simple-websocket/METADATA.toml +3 -0
- package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/aiows.pyi +130 -0
- package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/asgi.pyi +44 -0
- package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/errors.pyi +12 -0
- package/dist/typeshed-fallback/stubs/simple-websocket/simple_websocket/ws.pyi +136 -0
- package/dist/typeshed-fallback/stubs/tensorflow/METADATA.toml +16 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/__init__.pyi +437 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/_aliases.pyi +70 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/audio.pyi +7 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/autodiff.pyi +63 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/autograph/__init__.pyi +17 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/autograph/experimental.pyi +30 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/bitwise.pyi +37 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/hlo_pb2.pyi +2113 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/hlo_profile_printer_data_pb2.pyi +187 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/metrics_pb2.pyi +283 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/test_compilation_environment_pb2.pyi +59 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/service/xla_compile_result_pb2.pyi +167 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/tsl/protobuf/bfc_memory_map_pb2.pyi +218 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/tsl/protobuf/test_log_pb2.pyi +707 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/xla_data_pb2.pyi +2681 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/compiler/xla/xla_pb2.pyi +2558 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/config/__init__.pyi +12 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/config/experimental.pyi +16 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/example/example_parser_configuration_pb2.pyi +153 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/example/example_pb2.pyi +330 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/example/feature_pb2.pyi +222 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/allocation_description_pb2.pyi +64 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/api_def_pb2.pyi +312 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/attr_value_pb2.pyi +274 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/cost_graph_pb2.pyi +229 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/cpp_shape_inference_pb2.pyi +110 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/dataset_metadata_pb2.pyi +25 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/dataset_options_pb2.pyi +720 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/dataset_pb2.pyi +116 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/device_attributes_pb2.pyi +140 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/full_type_pb2.pyi +617 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/function_pb2.pyi +309 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/graph_debug_info_pb2.pyi +210 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/graph_pb2.pyi +100 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/graph_transfer_info_pb2.pyi +290 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/kernel_def_pb2.pyi +116 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/log_memory_pb2.pyi +218 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/model_pb2.pyi +368 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/node_def_pb2.pyi +192 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/op_def_pb2.pyi +391 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/optimized_function_graph_pb2.pyi +166 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/reader_base_pb2.pyi +52 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/resource_handle_pb2.pyi +104 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/step_stats_pb2.pyi +332 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/summary_pb2.pyi +368 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_description_pb2.pyi +49 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_pb2.pyi +235 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_shape_pb2.pyi +74 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/tensor_slice_pb2.pyi +56 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/types_pb2.pyi +220 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/variable_pb2.pyi +229 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/framework/versions_pb2.pyi +57 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/bfc_memory_map_pb2.pyi +15 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/cluster_pb2.pyi +126 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/composite_tensor_variant_pb2.pyi +33 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/config_pb2.pyi +1867 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/control_flow_pb2.pyi +243 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/core_platform_payloads_pb2.pyi +66 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/data_service_pb2.pyi +243 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/debug_event_pb2.pyi +746 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/debug_pb2.pyi +199 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/device_filters_pb2.pyi +124 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/device_properties_pb2.pyi +154 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/error_codes_pb2.pyi +33 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/fingerprint_pb2.pyi +76 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/meta_graph_pb2.pyi +735 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/named_tensor_pb2.pyi +41 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/queue_runner_pb2.pyi +73 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/remote_tensor_handle_pb2.pyi +96 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/rewriter_config_pb2.pyi +588 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/rpc_options_pb2.pyi +9 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/saved_model_pb2.pyi +51 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/saved_object_graph_pb2.pyi +715 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/saver_pb2.pyi +113 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/service_config_pb2.pyi +275 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/snapshot_pb2.pyi +164 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/status_pb2.pyi +13 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/struct_pb2.pyi +536 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tensor_bundle_pb2.pyi +160 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tensorflow_server_pb2.pyi +125 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/compilation_result_pb2.pyi +85 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/dynamic_padding_pb2.pyi +47 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/optimization_parameters_pb2.pyi +1326 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/topology_pb2.pyi +149 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/tpu/tpu_embedding_configuration_pb2.pyi +326 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/trackable_object_graph_pb2.pyi +213 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/transport_options_pb2.pyi +28 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/protobuf/verifier_config_pb2.pyi +65 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/event_pb2.pyi +419 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/memmapped_file_system_pb2.pyi +65 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/saved_tensor_slice_pb2.pyi +171 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/core/util/test_log_pb2.pyi +24 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/data/__init__.pyi +272 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/data/experimental.pyi +32 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/distribute/__init__.pyi +3 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/distribute/coordinator.pyi +3 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/distribute/experimental/coordinator.pyi +11 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/dtypes.pyi +57 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/experimental/__init__.pyi +10 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/experimental/dtensor.pyi +19 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/feature_column/__init__.pyi +95 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/initializers.pyi +1 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/io/__init__.pyi +104 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/io/gfile.pyi +11 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/__init__.pyi +15 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/activations.pyi +35 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/callbacks.pyi +170 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/constraints.pyi +16 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/initializers.pyi +50 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/layers/__init__.pyi +446 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/losses.pyi +177 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/metrics.pyi +117 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/models.pyi +167 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/optimizers/__init__.pyi +7 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/optimizers/legacy/__init__.pyi +61 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/optimizers/schedules.pyi +103 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/keras/regularizers.pyi +21 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/linalg.pyi +55 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/math.pyi +298 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/nn.pyi +194 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/distribute/distribute_lib.pyi +5 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/feature_column/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/feature_column/feature_column_v2.pyi +273 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/feature_column/sequence_feature_column.pyi +30 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/framework/dtypes.pyi +7 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/protobuf/projector_config_pb2.pyi +129 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/protobuf/saved_metadata_pb2.pyi +89 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/keras/protobuf/versions_pb2.pyi +63 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/__init__.pyi +0 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/autotrackable.pyi +3 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/base.pyi +5 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/resource.pyi +9 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/trackable/ressource.pyi +7 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/python/training/tracking/autotrackable.pyi +3 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/random.pyi +231 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/raw_ops.pyi +44 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/saved_model/__init__.pyi +125 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/saved_model/experimental.pyi +39 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/signal.pyi +6 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/sparse.pyi +31 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/strings.pyi +241 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/summary.pyi +58 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/train/__init__.pyi +74 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/train/experimental.pyi +12 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/coordination_config_pb2.pyi +156 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/coordination_service_pb2.pyi +666 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/distributed_runtime_payloads_pb2.pyi +69 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/dnn_pb2.pyi +619 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/error_codes_pb2.pyi +291 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/histogram_pb2.pyi +78 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/rpc_options_pb2.pyi +85 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/tsl/protobuf/status_pb2.pyi +34 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/types/__init__.pyi +1 -0
- package/dist/typeshed-fallback/stubs/tensorflow/tensorflow/types/experimental.pyi +30 -0
- package/dist/typeshed-fallback/stubs/ttkthemes/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/ttkthemes/ttkthemes/themed_style.pyi +1 -1
- package/dist/typeshed-fallback/stubs/ttkthemes/ttkthemes/themed_tk.pyi +11 -12
- package/dist/typeshed-fallback/stubs/tzdata/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/tzdata/tzdata/__init__.pyi +4 -0
- package/dist/typeshed-fallback/stubs/webencodings/METADATA.toml +2 -0
- package/dist/typeshed-fallback/stubs/webencodings/webencodings/__init__.pyi +33 -0
- package/dist/typeshed-fallback/stubs/webencodings/webencodings/labels.pyi +3 -0
- package/dist/typeshed-fallback/stubs/webencodings/webencodings/mklabels.pyi +5 -0
- package/dist/typeshed-fallback/stubs/webencodings/webencodings/x_user_defined.pyi +21 -0
- package/dist/typeshed-fallback/stubs/yt-dlp/METADATA.toml +1 -1
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/__init__.pyi +2 -0
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/extractor/common.pyi +1 -0
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/globals.pyi +12 -1
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_jsruntime.pyi +38 -0
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_legacy.pyi +2 -68
- package/dist/typeshed-fallback/stubs/yt-dlp/yt_dlp/utils/_utils.pyi +1 -1
- package/package.json +7 -7
- package/dist/typeshed-fallback/stdlib/_typeshed/README.md +0 -34
- package/dist/typeshed-fallback/stubs/ExifRead/METADATA.toml +0 -3
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/__init__.pyi +0 -17
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/_types.pyi +0 -15
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/classes.pyi +0 -47
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/exceptions.pyi +0 -2
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/exif_log.pyi +0 -24
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/heic.pyi +0 -56
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/jpeg.pyi +0 -7
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/__init__.pyi +0 -15
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/exif.pyi +0 -7
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/apple.pyi +0 -3
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/canon.pyi +0 -26
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/casio.pyi +0 -3
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/fujifilm.pyi +0 -3
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/nikon.pyi +0 -6
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/tags/makernote/olympus.pyi +0 -6
- package/dist/typeshed-fallback/stubs/ExifRead/exifread/utils.pyi +0 -22
- package/dist/typeshed-fallback/stubs/networkx/networkx/algorithms/community/kernighan_lin.pyi +0 -16
- package/dist/typeshed-fallback/stubs/psutil/psutil/_psutil_posix.pyi +0 -34
- package/dist/typeshed-fallback/stubs/vobject/@tests/stubtest_allowlist.txt +0 -22
- /package/dist/typeshed-fallback/stubs/{ExifRead/exifread/tags/makernote → colorful/colorful}/__init__.pyi +0 -0
|
@@ -0,0 +1,2113 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
This proto file defines messages which represent the HLO module. This is a
|
|
5
|
+
full fidelity serialization of the c++ HLO constructs.
|
|
6
|
+
|
|
7
|
+
Many of the protos below are simple 1-to-1 serializations of the
|
|
8
|
+
corresponding C++ classes, e.g., HloModule, HloComputation, and
|
|
9
|
+
HloInstruction.
|
|
10
|
+
|
|
11
|
+
FIELD NAMES ARE IMPORTANT
|
|
12
|
+
|
|
13
|
+
Unlike most protos, you can't safely change the names of fields, even if you
|
|
14
|
+
keep the numeric ids the same. This is because we sometimes serialize these
|
|
15
|
+
protos as JSON, which includes the field names in the serialization.
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
import builtins
|
|
19
|
+
import collections.abc
|
|
20
|
+
import sys
|
|
21
|
+
import typing
|
|
22
|
+
|
|
23
|
+
import google.protobuf.any_pb2
|
|
24
|
+
import google.protobuf.descriptor
|
|
25
|
+
import google.protobuf.internal.containers
|
|
26
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
27
|
+
import google.protobuf.message
|
|
28
|
+
import tensorflow.compiler.xla.xla_data_pb2
|
|
29
|
+
|
|
30
|
+
if sys.version_info >= (3, 10):
|
|
31
|
+
import typing as typing_extensions
|
|
32
|
+
else:
|
|
33
|
+
import typing_extensions
|
|
34
|
+
|
|
35
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
36
|
+
|
|
37
|
+
class _CustomCallSchedule:
|
|
38
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
39
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
40
|
+
|
|
41
|
+
class _CustomCallScheduleEnumTypeWrapper(
|
|
42
|
+
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CustomCallSchedule.ValueType], builtins.type
|
|
43
|
+
):
|
|
44
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
45
|
+
SCHEDULE_NONE: _CustomCallSchedule.ValueType # 0
|
|
46
|
+
SCHEDULE_LATEST: _CustomCallSchedule.ValueType # 1
|
|
47
|
+
SCHEDULE_EARLIEST: _CustomCallSchedule.ValueType # 2
|
|
48
|
+
|
|
49
|
+
class CustomCallSchedule(_CustomCallSchedule, metaclass=_CustomCallScheduleEnumTypeWrapper): ...
|
|
50
|
+
|
|
51
|
+
SCHEDULE_NONE: CustomCallSchedule.ValueType # 0
|
|
52
|
+
SCHEDULE_LATEST: CustomCallSchedule.ValueType # 1
|
|
53
|
+
SCHEDULE_EARLIEST: CustomCallSchedule.ValueType # 2
|
|
54
|
+
global___CustomCallSchedule = CustomCallSchedule
|
|
55
|
+
|
|
56
|
+
class _CustomCallApiVersion:
|
|
57
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
58
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
59
|
+
|
|
60
|
+
class _CustomCallApiVersionEnumTypeWrapper(
|
|
61
|
+
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_CustomCallApiVersion.ValueType], builtins.type
|
|
62
|
+
):
|
|
63
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
64
|
+
API_VERSION_UNSPECIFIED: _CustomCallApiVersion.ValueType # 0
|
|
65
|
+
API_VERSION_ORIGINAL: _CustomCallApiVersion.ValueType # 1
|
|
66
|
+
"""The first version of the API, with the following signatures:
|
|
67
|
+
|
|
68
|
+
CPU:
|
|
69
|
+
void do_custom_call(void* out, const void** in);
|
|
70
|
+
|
|
71
|
+
GPU:
|
|
72
|
+
void do_custom_call(CUstream stream, void** buffers,
|
|
73
|
+
const char* opaque, size_t opaque_len);
|
|
74
|
+
"""
|
|
75
|
+
API_VERSION_STATUS_RETURNING: _CustomCallApiVersion.ValueType # 2
|
|
76
|
+
"""When the ability to return success/failure status was added:
|
|
77
|
+
|
|
78
|
+
CPU:
|
|
79
|
+
void do_custom_call(void* out, const void** in,
|
|
80
|
+
XlaCustomCallStatus* status);
|
|
81
|
+
|
|
82
|
+
GPU:
|
|
83
|
+
void do_custom_call(CUstream stream, void** buffers,
|
|
84
|
+
const char* opaque, size_t opaque_len,
|
|
85
|
+
XlaCustomCallStatus* status);
|
|
86
|
+
"""
|
|
87
|
+
API_VERSION_STATUS_RETURNING_UNIFIED: _CustomCallApiVersion.ValueType # 3
|
|
88
|
+
"""Fixes the API signatures on the CPU side of the version STATUS_RETURNING by
|
|
89
|
+
adding the opaque string so that the custom call API is consistent across
|
|
90
|
+
CPUs and GPUs. For GPUs, the behaviors invoked by
|
|
91
|
+
API_VERSION_STATUS_RETURNING and API_VERSION_STATUS_RETURNING_UNIFIED are
|
|
92
|
+
the same.
|
|
93
|
+
|
|
94
|
+
CPU:
|
|
95
|
+
void do_custom_call(void* out, const void** in,
|
|
96
|
+
const char* opaque, size_t opaque_len,
|
|
97
|
+
XlaCustomCallStatus* status);
|
|
98
|
+
|
|
99
|
+
GPU:
|
|
100
|
+
void do_custom_call(CUstream stream, void** buffers,
|
|
101
|
+
const char* opaque, size_t opaque_len,
|
|
102
|
+
XlaCustomCallStatus* status);
|
|
103
|
+
"""
|
|
104
|
+
API_VERSION_TYPED_FFI: _CustomCallApiVersion.ValueType # 4
|
|
105
|
+
"""Api version implementing XLA runtime custom call calling convention. These
|
|
106
|
+
custom calls can be registered as an XLA runtime custom call (1) or as XLA
|
|
107
|
+
runtime FFI binding (2).
|
|
108
|
+
|
|
109
|
+
This type of custom call uses custom ABI to pass type information along
|
|
110
|
+
with custom call arguments. Also it passes buffer arguments together with
|
|
111
|
+
data type, sizes and strides.
|
|
112
|
+
|
|
113
|
+
Example: (XLA runtime custom call)
|
|
114
|
+
|
|
115
|
+
absl::Status DoCustomCall(StridedMemrefView arg, float attr);
|
|
116
|
+
|
|
117
|
+
CustomCall::Bind("custom_call")
|
|
118
|
+
.Arg<StridedMemrefView>()
|
|
119
|
+
.Attr<float>("attr")
|
|
120
|
+
.To(DoCustomCall);
|
|
121
|
+
|
|
122
|
+
(1) xla/runtime/custom_call.h
|
|
123
|
+
(2) xla/runtime/ffi/ffi.h
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
class CustomCallApiVersion(_CustomCallApiVersion, metaclass=_CustomCallApiVersionEnumTypeWrapper):
|
|
127
|
+
"""The version of the API used by the custom call function. The signatures for
|
|
128
|
+
each version are given below.
|
|
129
|
+
TODO(b/189822916): Remove this enum when all clients are migrated to the
|
|
130
|
+
status-returning API.
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
API_VERSION_UNSPECIFIED: CustomCallApiVersion.ValueType # 0
|
|
134
|
+
API_VERSION_ORIGINAL: CustomCallApiVersion.ValueType # 1
|
|
135
|
+
"""The first version of the API, with the following signatures:
|
|
136
|
+
|
|
137
|
+
CPU:
|
|
138
|
+
void do_custom_call(void* out, const void** in);
|
|
139
|
+
|
|
140
|
+
GPU:
|
|
141
|
+
void do_custom_call(CUstream stream, void** buffers,
|
|
142
|
+
const char* opaque, size_t opaque_len);
|
|
143
|
+
"""
|
|
144
|
+
API_VERSION_STATUS_RETURNING: CustomCallApiVersion.ValueType # 2
|
|
145
|
+
"""When the ability to return success/failure status was added:
|
|
146
|
+
|
|
147
|
+
CPU:
|
|
148
|
+
void do_custom_call(void* out, const void** in,
|
|
149
|
+
XlaCustomCallStatus* status);
|
|
150
|
+
|
|
151
|
+
GPU:
|
|
152
|
+
void do_custom_call(CUstream stream, void** buffers,
|
|
153
|
+
const char* opaque, size_t opaque_len,
|
|
154
|
+
XlaCustomCallStatus* status);
|
|
155
|
+
"""
|
|
156
|
+
API_VERSION_STATUS_RETURNING_UNIFIED: CustomCallApiVersion.ValueType # 3
|
|
157
|
+
"""Fixes the API signatures on the CPU side of the version STATUS_RETURNING by
|
|
158
|
+
adding the opaque string so that the custom call API is consistent across
|
|
159
|
+
CPUs and GPUs. For GPUs, the behaviors invoked by
|
|
160
|
+
API_VERSION_STATUS_RETURNING and API_VERSION_STATUS_RETURNING_UNIFIED are
|
|
161
|
+
the same.
|
|
162
|
+
|
|
163
|
+
CPU:
|
|
164
|
+
void do_custom_call(void* out, const void** in,
|
|
165
|
+
const char* opaque, size_t opaque_len,
|
|
166
|
+
XlaCustomCallStatus* status);
|
|
167
|
+
|
|
168
|
+
GPU:
|
|
169
|
+
void do_custom_call(CUstream stream, void** buffers,
|
|
170
|
+
const char* opaque, size_t opaque_len,
|
|
171
|
+
XlaCustomCallStatus* status);
|
|
172
|
+
"""
|
|
173
|
+
API_VERSION_TYPED_FFI: CustomCallApiVersion.ValueType # 4
|
|
174
|
+
"""Api version implementing XLA runtime custom call calling convention. These
|
|
175
|
+
custom calls can be registered as an XLA runtime custom call (1) or as XLA
|
|
176
|
+
runtime FFI binding (2).
|
|
177
|
+
|
|
178
|
+
This type of custom call uses custom ABI to pass type information along
|
|
179
|
+
with custom call arguments. Also it passes buffer arguments together with
|
|
180
|
+
data type, sizes and strides.
|
|
181
|
+
|
|
182
|
+
Example: (XLA runtime custom call)
|
|
183
|
+
|
|
184
|
+
absl::Status DoCustomCall(StridedMemrefView arg, float attr);
|
|
185
|
+
|
|
186
|
+
CustomCall::Bind("custom_call")
|
|
187
|
+
.Arg<StridedMemrefView>()
|
|
188
|
+
.Attr<float>("attr")
|
|
189
|
+
.To(DoCustomCall);
|
|
190
|
+
|
|
191
|
+
(1) xla/runtime/custom_call.h
|
|
192
|
+
(2) xla/runtime/ffi/ffi.h
|
|
193
|
+
"""
|
|
194
|
+
global___CustomCallApiVersion = CustomCallApiVersion
|
|
195
|
+
|
|
196
|
+
class _Kind:
|
|
197
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
198
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
199
|
+
|
|
200
|
+
class _KindEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Kind.ValueType], builtins.type):
|
|
201
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
202
|
+
UNDEFINED_ALIAS: _Kind.ValueType # 0
|
|
203
|
+
"""Define a UNDEFINED_ALIAS equal to zero to get around the default-0 proto3
|
|
204
|
+
behavior and missing has_*() APIs.
|
|
205
|
+
"""
|
|
206
|
+
MAY_ALIAS: _Kind.ValueType # 1
|
|
207
|
+
"""The buffers may or may not alias at runtime."""
|
|
208
|
+
MUST_ALIAS: _Kind.ValueType # 2
|
|
209
|
+
"""The buffers must alias at runtime."""
|
|
210
|
+
|
|
211
|
+
class Kind(_Kind, metaclass=_KindEnumTypeWrapper): ...
|
|
212
|
+
|
|
213
|
+
UNDEFINED_ALIAS: Kind.ValueType # 0
|
|
214
|
+
"""Define a UNDEFINED_ALIAS equal to zero to get around the default-0 proto3
|
|
215
|
+
behavior and missing has_*() APIs.
|
|
216
|
+
"""
|
|
217
|
+
MAY_ALIAS: Kind.ValueType # 1
|
|
218
|
+
"""The buffers may or may not alias at runtime."""
|
|
219
|
+
MUST_ALIAS: Kind.ValueType # 2
|
|
220
|
+
"""The buffers must alias at runtime."""
|
|
221
|
+
global___Kind = Kind
|
|
222
|
+
|
|
223
|
+
@typing.final
|
|
224
|
+
class HloInstructionProto(google.protobuf.message.Message):
|
|
225
|
+
"""Serialization of HloInstruction.
|
|
226
|
+
Next ID: 90
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
230
|
+
|
|
231
|
+
@typing.final
|
|
232
|
+
class SliceDimensions(google.protobuf.message.Message):
|
|
233
|
+
"""Describes the [begin, end) index range and stride for slices."""
|
|
234
|
+
|
|
235
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
236
|
+
|
|
237
|
+
START_FIELD_NUMBER: builtins.int
|
|
238
|
+
LIMIT_FIELD_NUMBER: builtins.int
|
|
239
|
+
STRIDE_FIELD_NUMBER: builtins.int
|
|
240
|
+
start: builtins.int
|
|
241
|
+
limit: builtins.int
|
|
242
|
+
stride: builtins.int
|
|
243
|
+
def __init__(
|
|
244
|
+
self, *, start: builtins.int | None = ..., limit: builtins.int | None = ..., stride: builtins.int | None = ...
|
|
245
|
+
) -> None: ...
|
|
246
|
+
def ClearField(self, field_name: typing.Literal["limit", b"limit", "start", b"start", "stride", b"stride"]) -> None: ...
|
|
247
|
+
|
|
248
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
249
|
+
OPCODE_FIELD_NUMBER: builtins.int
|
|
250
|
+
SHAPE_FIELD_NUMBER: builtins.int
|
|
251
|
+
METADATA_FIELD_NUMBER: builtins.int
|
|
252
|
+
LITERAL_FIELD_NUMBER: builtins.int
|
|
253
|
+
PARAMETER_NUMBER_FIELD_NUMBER: builtins.int
|
|
254
|
+
FUSION_KIND_FIELD_NUMBER: builtins.int
|
|
255
|
+
TUPLE_INDEX_FIELD_NUMBER: builtins.int
|
|
256
|
+
DIMENSIONS_FIELD_NUMBER: builtins.int
|
|
257
|
+
WINDOW_FIELD_NUMBER: builtins.int
|
|
258
|
+
CONVOLUTION_DIMENSION_NUMBERS_FIELD_NUMBER: builtins.int
|
|
259
|
+
FEATURE_GROUP_COUNT_FIELD_NUMBER: builtins.int
|
|
260
|
+
BATCH_GROUP_COUNT_FIELD_NUMBER: builtins.int
|
|
261
|
+
SLICE_DIMENSIONS_FIELD_NUMBER: builtins.int
|
|
262
|
+
EXPONENT_BITS_FIELD_NUMBER: builtins.int
|
|
263
|
+
MANTISSA_BITS_FIELD_NUMBER: builtins.int
|
|
264
|
+
DYNAMIC_SLICE_SIZES_FIELD_NUMBER: builtins.int
|
|
265
|
+
PADDING_CONFIG_FIELD_NUMBER: builtins.int
|
|
266
|
+
OUTFEED_CONFIG_FIELD_NUMBER: builtins.int
|
|
267
|
+
DISTRIBUTION_FIELD_NUMBER: builtins.int
|
|
268
|
+
EPSILON_FIELD_NUMBER: builtins.int
|
|
269
|
+
FEATURE_INDEX_FIELD_NUMBER: builtins.int
|
|
270
|
+
CHANNEL_ID_FIELD_NUMBER: builtins.int
|
|
271
|
+
INFEED_CONFIG_FIELD_NUMBER: builtins.int
|
|
272
|
+
CUSTOM_CALL_TARGET_FIELD_NUMBER: builtins.int
|
|
273
|
+
OUTFEED_SHAPE_FIELD_NUMBER: builtins.int
|
|
274
|
+
DOT_DIMENSION_NUMBERS_FIELD_NUMBER: builtins.int
|
|
275
|
+
FFT_TYPE_FIELD_NUMBER: builtins.int
|
|
276
|
+
FFT_LENGTH_FIELD_NUMBER: builtins.int
|
|
277
|
+
COMPARISON_DIRECTION_FIELD_NUMBER: builtins.int
|
|
278
|
+
GATHER_DIMENSION_NUMBERS_FIELD_NUMBER: builtins.int
|
|
279
|
+
GATHER_SLICE_SIZES_FIELD_NUMBER: builtins.int
|
|
280
|
+
ID_FIELD_NUMBER: builtins.int
|
|
281
|
+
OPERAND_IDS_FIELD_NUMBER: builtins.int
|
|
282
|
+
CONTROL_PREDECESSOR_IDS_FIELD_NUMBER: builtins.int
|
|
283
|
+
CALLED_COMPUTATION_IDS_FIELD_NUMBER: builtins.int
|
|
284
|
+
SHARDING_FIELD_NUMBER: builtins.int
|
|
285
|
+
BACKEND_CONFIG_FIELD_NUMBER: builtins.int
|
|
286
|
+
REPLICA_GROUPS_FIELD_NUMBER: builtins.int
|
|
287
|
+
ALL_REDUCE_ID_FIELD_NUMBER: builtins.int
|
|
288
|
+
USE_GLOBAL_DEVICE_IDS_FIELD_NUMBER: builtins.int
|
|
289
|
+
IS_HOST_TRANSFER_FIELD_NUMBER: builtins.int
|
|
290
|
+
IS_STABLE_FIELD_NUMBER: builtins.int
|
|
291
|
+
SCATTER_DIMENSION_NUMBERS_FIELD_NUMBER: builtins.int
|
|
292
|
+
PRECISION_CONFIG_FIELD_NUMBER: builtins.int
|
|
293
|
+
SOURCE_TARGET_PAIRS_FIELD_NUMBER: builtins.int
|
|
294
|
+
DOMAIN_ENTRY_SHARDING_FIELD_NUMBER: builtins.int
|
|
295
|
+
DOMAIN_EXIT_SHARDING_FIELD_NUMBER: builtins.int
|
|
296
|
+
CONSTRAIN_LAYOUT_FIELD_NUMBER: builtins.int
|
|
297
|
+
OPERAND_SHAPES_WITH_LAYOUT_FIELD_NUMBER: builtins.int
|
|
298
|
+
TRIANGULAR_SOLVE_OPTIONS_FIELD_NUMBER: builtins.int
|
|
299
|
+
CHOLESKY_OPTIONS_FIELD_NUMBER: builtins.int
|
|
300
|
+
PARAMETER_REPLICATION_FIELD_NUMBER: builtins.int
|
|
301
|
+
CUSTOM_CALL_HAS_SIDE_EFFECT_FIELD_NUMBER: builtins.int
|
|
302
|
+
OUTPUT_OPERAND_ALIASING_FIELD_NUMBER: builtins.int
|
|
303
|
+
CUSTOM_CALL_SCHEDULE_FIELD_NUMBER: builtins.int
|
|
304
|
+
DELTA_FIELD_NUMBER: builtins.int
|
|
305
|
+
INDICES_ARE_SORTED_FIELD_NUMBER: builtins.int
|
|
306
|
+
FRONTEND_ATTRIBUTES_FIELD_NUMBER: builtins.int
|
|
307
|
+
UNIQUE_INDICES_FIELD_NUMBER: builtins.int
|
|
308
|
+
RNG_ALGORITHM_FIELD_NUMBER: builtins.int
|
|
309
|
+
COMPARISON_TYPE_FIELD_NUMBER: builtins.int
|
|
310
|
+
IS_CROSS_PROGRAM_PREFETCH_FIELD_NUMBER: builtins.int
|
|
311
|
+
CROSS_PROGRAM_PREFETCH_INDEX_FIELD_NUMBER: builtins.int
|
|
312
|
+
PADDING_TYPE_FIELD_NUMBER: builtins.int
|
|
313
|
+
CUSTOM_CALL_API_VERSION_FIELD_NUMBER: builtins.int
|
|
314
|
+
ASYNC_EXECUTION_THREAD_FIELD_NUMBER: builtins.int
|
|
315
|
+
K_FIELD_NUMBER: builtins.int
|
|
316
|
+
LARGEST_FIELD_NUMBER: builtins.int
|
|
317
|
+
STATISTICS_VIZ_FIELD_NUMBER: builtins.int
|
|
318
|
+
DOT_SPARSITY_FIELD_NUMBER: builtins.int
|
|
319
|
+
COLLECTIVE_DEVICE_LIST_FIELD_NUMBER: builtins.int
|
|
320
|
+
ORIGINAL_VALUE_FIELD_NUMBER: builtins.int
|
|
321
|
+
IS_COMPOSITE_FIELD_NUMBER: builtins.int
|
|
322
|
+
name: builtins.str
|
|
323
|
+
opcode: builtins.str
|
|
324
|
+
parameter_number: builtins.int
|
|
325
|
+
"""Parameter number is only present for kParameter."""
|
|
326
|
+
fusion_kind: builtins.str
|
|
327
|
+
"""Fusion state, only present for kFusion."""
|
|
328
|
+
tuple_index: builtins.int
|
|
329
|
+
"""Index for kGetTupleElement."""
|
|
330
|
+
feature_group_count: builtins.int
|
|
331
|
+
"""The number of feature groups. Used for a convolution. Must be a divisor of
|
|
332
|
+
the input feature dimension and output feature dimension. If not specified,
|
|
333
|
+
it will use a default value of 1.
|
|
334
|
+
"""
|
|
335
|
+
batch_group_count: builtins.int
|
|
336
|
+
exponent_bits: builtins.int
|
|
337
|
+
"""The bit sizes for a reduce-precision operation."""
|
|
338
|
+
mantissa_bits: builtins.int
|
|
339
|
+
outfeed_config: builtins.bytes
|
|
340
|
+
"""Outfeed configuration information, only present for kOutfeed."""
|
|
341
|
+
distribution: tensorflow.compiler.xla.xla_data_pb2.RandomDistribution.ValueType
|
|
342
|
+
"""The distribution requested for random number generation.
|
|
343
|
+
Only present for kRng.
|
|
344
|
+
"""
|
|
345
|
+
epsilon: builtins.float
|
|
346
|
+
"""A small float number added to the variance to avoid divide-by-zero error.
|
|
347
|
+
Only present for kBatchNormTraining, kBatchNormInference, and
|
|
348
|
+
kBatchNormGrad.
|
|
349
|
+
"""
|
|
350
|
+
feature_index: builtins.int
|
|
351
|
+
"""An integer value representing the index of the feature dimension.
|
|
352
|
+
Only present for kBatchNormTraining, kBatchNormInference, and
|
|
353
|
+
kBatchNormGrad.
|
|
354
|
+
"""
|
|
355
|
+
channel_id: builtins.int
|
|
356
|
+
"""Represents a unique identifier for each Send/Recv instruction pair or
|
|
357
|
+
optionally for collective instructions (AllReduce, CollectivePermute,
|
|
358
|
+
AllToAll). Non-positive channel_id is equivalent to no channel id.
|
|
359
|
+
"""
|
|
360
|
+
infeed_config: builtins.bytes
|
|
361
|
+
"""The string representation of the infeed configuration."""
|
|
362
|
+
custom_call_target: builtins.str
|
|
363
|
+
"""Name of a external target (eg, global symbol) to call, only present for
|
|
364
|
+
kCustomCall.
|
|
365
|
+
"""
|
|
366
|
+
fft_type: tensorflow.compiler.xla.xla_data_pb2.FftType.ValueType
|
|
367
|
+
"""FFT type (FFT, IFFT, etc)."""
|
|
368
|
+
comparison_direction: builtins.str
|
|
369
|
+
"""Comparison direction only used for kCompare."""
|
|
370
|
+
id: builtins.int
|
|
371
|
+
"""The id of this instruction."""
|
|
372
|
+
backend_config: builtins.bytes
|
|
373
|
+
"""Backend configuration for the instruction. Has backend-specific meaning."""
|
|
374
|
+
all_reduce_id: builtins.int
|
|
375
|
+
"""Deprecated, but keeping it for backward compatibility. Use channel_id.
|
|
376
|
+
Non-positive all_reduce_id is equivalent to no all_reduce_id.
|
|
377
|
+
"""
|
|
378
|
+
use_global_device_ids: builtins.bool
|
|
379
|
+
"""If true, interprets ids in ReplicaGroup as global device ids, which is
|
|
380
|
+
a linearized id of `replica_id * partition_count + partition_id`.
|
|
381
|
+
"""
|
|
382
|
+
is_host_transfer: builtins.bool
|
|
383
|
+
"""Whether this Send/Recv instruction transfers data to/from the host. Only
|
|
384
|
+
present for Send and Recv instructions and their SendDone and RecvDone
|
|
385
|
+
partners.
|
|
386
|
+
"""
|
|
387
|
+
is_stable: builtins.bool
|
|
388
|
+
"""Whether this Sort instruction should be stable."""
|
|
389
|
+
constrain_layout: builtins.bool
|
|
390
|
+
"""For custom call this indicates that the layouts are constrained. If
|
|
391
|
+
constrain_layout is true then the 'shape' field must contain a layout, and
|
|
392
|
+
'operand_shapes_with_layout' must contain a shape with layout for each
|
|
393
|
+
operand.
|
|
394
|
+
"""
|
|
395
|
+
custom_call_has_side_effect: builtins.bool
|
|
396
|
+
"""Whether the kCustomCall instruction has side-effects, only present for
|
|
397
|
+
kCustomCall.
|
|
398
|
+
"""
|
|
399
|
+
custom_call_schedule: global___CustomCallSchedule.ValueType
|
|
400
|
+
"""Specifies the desired schedule for the custom-call. The field is only
|
|
401
|
+
present for custom-call.
|
|
402
|
+
"""
|
|
403
|
+
delta: builtins.int
|
|
404
|
+
"""The delta value for kRngGetAndUpdateState."""
|
|
405
|
+
indices_are_sorted: builtins.bool
|
|
406
|
+
"""Specifies if the gather/scatter indices are guaranteed to be sorted by the
|
|
407
|
+
caller.
|
|
408
|
+
"""
|
|
409
|
+
unique_indices: builtins.bool
|
|
410
|
+
"""Specifies if all elements updated are guaranteed to be unique by
|
|
411
|
+
the caller.
|
|
412
|
+
"""
|
|
413
|
+
rng_algorithm: tensorflow.compiler.xla.xla_data_pb2.RandomAlgorithm.ValueType
|
|
414
|
+
"""RNG algorithm used by kRngBitGenerator."""
|
|
415
|
+
comparison_type: builtins.str
|
|
416
|
+
"""The comparison type used for kCompare."""
|
|
417
|
+
is_cross_program_prefetch: builtins.bool
|
|
418
|
+
"""Specifies if this is a cross-program-prefetch, used by kCopyStart.
|
|
419
|
+
Deprecated and replaced by optional_cross_program_prefetch_index.
|
|
420
|
+
"""
|
|
421
|
+
cross_program_prefetch_index: builtins.int
|
|
422
|
+
padding_type: tensorflow.compiler.xla.xla_data_pb2.PaddingType.ValueType
|
|
423
|
+
"""If a convolution is dynamic, a dynamic padding type will be specified."""
|
|
424
|
+
custom_call_api_version: global___CustomCallApiVersion.ValueType
|
|
425
|
+
"""The API version used by the custom call function. This field is only
|
|
426
|
+
present for custom-call.
|
|
427
|
+
TODO(b/189822916): Remove this field when all clients are migrated to the
|
|
428
|
+
status-returning API.
|
|
429
|
+
"""
|
|
430
|
+
async_execution_thread: builtins.str
|
|
431
|
+
"""Represents a unique execution thread name for one or more async groups.
|
|
432
|
+
Each HLO module may contain a main thread and one or more parallel threads.
|
|
433
|
+
Empty async_execution_thread is equivalent to main thread.
|
|
434
|
+
"""
|
|
435
|
+
k: builtins.int
|
|
436
|
+
"""Represents the K value for top-k."""
|
|
437
|
+
largest: builtins.bool
|
|
438
|
+
"""Represents the largest flag for top-k."""
|
|
439
|
+
is_composite: builtins.bool
|
|
440
|
+
"""Specifies if a call instruction is a composite."""
|
|
441
|
+
@property
|
|
442
|
+
def shape(self) -> tensorflow.compiler.xla.xla_data_pb2.ShapeProto: ...
|
|
443
|
+
@property
|
|
444
|
+
def metadata(self) -> tensorflow.compiler.xla.xla_data_pb2.OpMetadata: ...
|
|
445
|
+
@property
|
|
446
|
+
def literal(self) -> tensorflow.compiler.xla.xla_data_pb2.LiteralProto:
|
|
447
|
+
"""Literal, only present for kConstant."""
|
|
448
|
+
|
|
449
|
+
@property
|
|
450
|
+
def dimensions(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
451
|
+
"""Dimensions present for some operations that require reshaping or
|
|
452
|
+
broadcasting, including Reshape, Reduce, ReduceWindow, and Reverse.
|
|
453
|
+
"""
|
|
454
|
+
|
|
455
|
+
@property
|
|
456
|
+
def window(self) -> tensorflow.compiler.xla.xla_data_pb2.Window:
|
|
457
|
+
"""Describes the window in a windowed operation such as convolution."""
|
|
458
|
+
|
|
459
|
+
@property
|
|
460
|
+
def convolution_dimension_numbers(self) -> tensorflow.compiler.xla.xla_data_pb2.ConvolutionDimensionNumbers:
|
|
461
|
+
"""Describes the dimension numbers used for a convolution."""
|
|
462
|
+
|
|
463
|
+
@property
|
|
464
|
+
def slice_dimensions(
|
|
465
|
+
self,
|
|
466
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HloInstructionProto.SliceDimensions]: ...
|
|
467
|
+
@property
|
|
468
|
+
def dynamic_slice_sizes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
469
|
+
"""Describes the [start, start + size) range size for a dynamic slice
|
|
470
|
+
('start' is specified dynamically in the second operand of the operation).
|
|
471
|
+
"""
|
|
472
|
+
|
|
473
|
+
@property
|
|
474
|
+
def padding_config(self) -> tensorflow.compiler.xla.xla_data_pb2.PaddingConfig:
|
|
475
|
+
"""The padding configuration that describes the edge padding and interior
|
|
476
|
+
padding of this pad instruction. Only set for pad instructions.
|
|
477
|
+
"""
|
|
478
|
+
|
|
479
|
+
@property
|
|
480
|
+
def outfeed_shape(self) -> tensorflow.compiler.xla.xla_data_pb2.ShapeProto:
|
|
481
|
+
"""Shape of outfeed request."""
|
|
482
|
+
|
|
483
|
+
@property
|
|
484
|
+
def dot_dimension_numbers(self) -> tensorflow.compiler.xla.xla_data_pb2.DotDimensionNumbers:
|
|
485
|
+
"""Describes the dimension numbers used for a dot operation"""
|
|
486
|
+
|
|
487
|
+
@property
|
|
488
|
+
def fft_length(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
489
|
+
"""FFT length."""
|
|
490
|
+
|
|
491
|
+
@property
|
|
492
|
+
def gather_dimension_numbers(self) -> tensorflow.compiler.xla.xla_data_pb2.GatherDimensionNumbers:
|
|
493
|
+
"""Gather dimension numbers."""
|
|
494
|
+
|
|
495
|
+
@property
|
|
496
|
+
def gather_slice_sizes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
|
|
497
|
+
@property
|
|
498
|
+
def operand_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
|
|
499
|
+
@property
|
|
500
|
+
def control_predecessor_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
|
|
501
|
+
@property
|
|
502
|
+
def called_computation_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
|
|
503
|
+
@property
|
|
504
|
+
def sharding(self) -> tensorflow.compiler.xla.xla_data_pb2.OpSharding: ...
|
|
505
|
+
@property
|
|
506
|
+
def replica_groups(
|
|
507
|
+
self,
|
|
508
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[tensorflow.compiler.xla.xla_data_pb2.ReplicaGroup]:
|
|
509
|
+
"""Deprecated, but keeping for backward compatibility.
|
|
510
|
+
Use collective_device_list. Cross replica op fields.
|
|
511
|
+
"""
|
|
512
|
+
|
|
513
|
+
@property
|
|
514
|
+
def scatter_dimension_numbers(self) -> tensorflow.compiler.xla.xla_data_pb2.ScatterDimensionNumbers: ...
|
|
515
|
+
@property
|
|
516
|
+
def precision_config(self) -> tensorflow.compiler.xla.xla_data_pb2.PrecisionConfig:
|
|
517
|
+
"""Precision configuration for the instruction. Has backend-specific meaning."""
|
|
518
|
+
|
|
519
|
+
@property
|
|
520
|
+
def source_target_pairs(
|
|
521
|
+
self,
|
|
522
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[tensorflow.compiler.xla.xla_data_pb2.SourceTarget]:
|
|
523
|
+
"""Collective permute field."""
|
|
524
|
+
|
|
525
|
+
@property
|
|
526
|
+
def domain_entry_sharding(self) -> tensorflow.compiler.xla.xla_data_pb2.OpSharding:
|
|
527
|
+
"""Sharding for kDomain instructions."""
|
|
528
|
+
|
|
529
|
+
@property
|
|
530
|
+
def domain_exit_sharding(self) -> tensorflow.compiler.xla.xla_data_pb2.OpSharding: ...
|
|
531
|
+
@property
|
|
532
|
+
def operand_shapes_with_layout(
|
|
533
|
+
self,
|
|
534
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[tensorflow.compiler.xla.xla_data_pb2.ShapeProto]: ...
|
|
535
|
+
@property
|
|
536
|
+
def triangular_solve_options(self) -> tensorflow.compiler.xla.xla_data_pb2.TriangularSolveOptions:
|
|
537
|
+
"""Options for TriangularSolve"""
|
|
538
|
+
|
|
539
|
+
@property
|
|
540
|
+
def cholesky_options(self) -> tensorflow.compiler.xla.xla_data_pb2.CholeskyOptions:
|
|
541
|
+
"""Options for Cholesky"""
|
|
542
|
+
|
|
543
|
+
@property
|
|
544
|
+
def parameter_replication(self) -> tensorflow.compiler.xla.xla_data_pb2.ParameterReplication:
|
|
545
|
+
"""Describes how parameters behave with regards to replicas."""
|
|
546
|
+
|
|
547
|
+
@property
|
|
548
|
+
def output_operand_aliasing(
|
|
549
|
+
self,
|
|
550
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
551
|
+
tensorflow.compiler.xla.xla_data_pb2.OutputOperandAliasing
|
|
552
|
+
]:
|
|
553
|
+
"""A list of OutputOperandAliasing pairs that specifies aliasing buffers
|
|
554
|
+
between output and operands for kCustomCall and kFusion.
|
|
555
|
+
"""
|
|
556
|
+
|
|
557
|
+
@property
|
|
558
|
+
def frontend_attributes(self) -> tensorflow.compiler.xla.xla_data_pb2.FrontendAttributes:
|
|
559
|
+
"""Frontend attributes to pass to the XLA backend."""
|
|
560
|
+
|
|
561
|
+
@property
|
|
562
|
+
def statistics_viz(self) -> tensorflow.compiler.xla.xla_data_pb2.StatisticsViz:
|
|
563
|
+
"""Represents the information for tracking propagation of values within HLO
|
|
564
|
+
graph.
|
|
565
|
+
"""
|
|
566
|
+
|
|
567
|
+
@property
|
|
568
|
+
def dot_sparsity(
|
|
569
|
+
self,
|
|
570
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
571
|
+
tensorflow.compiler.xla.xla_data_pb2.SparsityDescriptor
|
|
572
|
+
]:
|
|
573
|
+
"""Sparsity descriptor for dot operation."""
|
|
574
|
+
|
|
575
|
+
@property
|
|
576
|
+
def collective_device_list(self) -> tensorflow.compiler.xla.xla_data_pb2.CollectiveDeviceListProto:
|
|
577
|
+
"""Represents the list of devices that participate in a collective operation."""
|
|
578
|
+
|
|
579
|
+
@property
|
|
580
|
+
def original_value(self) -> tensorflow.compiler.xla.xla_data_pb2.OriginalValueProto:
|
|
581
|
+
"""For HLO value tracking."""
|
|
582
|
+
|
|
583
|
+
def __init__(
|
|
584
|
+
self,
|
|
585
|
+
*,
|
|
586
|
+
name: builtins.str | None = ...,
|
|
587
|
+
opcode: builtins.str | None = ...,
|
|
588
|
+
shape: tensorflow.compiler.xla.xla_data_pb2.ShapeProto | None = ...,
|
|
589
|
+
metadata: tensorflow.compiler.xla.xla_data_pb2.OpMetadata | None = ...,
|
|
590
|
+
literal: tensorflow.compiler.xla.xla_data_pb2.LiteralProto | None = ...,
|
|
591
|
+
parameter_number: builtins.int | None = ...,
|
|
592
|
+
fusion_kind: builtins.str | None = ...,
|
|
593
|
+
tuple_index: builtins.int | None = ...,
|
|
594
|
+
dimensions: collections.abc.Iterable[builtins.int] | None = ...,
|
|
595
|
+
window: tensorflow.compiler.xla.xla_data_pb2.Window | None = ...,
|
|
596
|
+
convolution_dimension_numbers: tensorflow.compiler.xla.xla_data_pb2.ConvolutionDimensionNumbers | None = ...,
|
|
597
|
+
feature_group_count: builtins.int | None = ...,
|
|
598
|
+
batch_group_count: builtins.int | None = ...,
|
|
599
|
+
slice_dimensions: collections.abc.Iterable[global___HloInstructionProto.SliceDimensions] | None = ...,
|
|
600
|
+
exponent_bits: builtins.int | None = ...,
|
|
601
|
+
mantissa_bits: builtins.int | None = ...,
|
|
602
|
+
dynamic_slice_sizes: collections.abc.Iterable[builtins.int] | None = ...,
|
|
603
|
+
padding_config: tensorflow.compiler.xla.xla_data_pb2.PaddingConfig | None = ...,
|
|
604
|
+
outfeed_config: builtins.bytes | None = ...,
|
|
605
|
+
distribution: tensorflow.compiler.xla.xla_data_pb2.RandomDistribution.ValueType | None = ...,
|
|
606
|
+
epsilon: builtins.float | None = ...,
|
|
607
|
+
feature_index: builtins.int | None = ...,
|
|
608
|
+
channel_id: builtins.int | None = ...,
|
|
609
|
+
infeed_config: builtins.bytes | None = ...,
|
|
610
|
+
custom_call_target: builtins.str | None = ...,
|
|
611
|
+
outfeed_shape: tensorflow.compiler.xla.xla_data_pb2.ShapeProto | None = ...,
|
|
612
|
+
dot_dimension_numbers: tensorflow.compiler.xla.xla_data_pb2.DotDimensionNumbers | None = ...,
|
|
613
|
+
fft_type: tensorflow.compiler.xla.xla_data_pb2.FftType.ValueType | None = ...,
|
|
614
|
+
fft_length: collections.abc.Iterable[builtins.int] | None = ...,
|
|
615
|
+
comparison_direction: builtins.str | None = ...,
|
|
616
|
+
gather_dimension_numbers: tensorflow.compiler.xla.xla_data_pb2.GatherDimensionNumbers | None = ...,
|
|
617
|
+
gather_slice_sizes: collections.abc.Iterable[builtins.int] | None = ...,
|
|
618
|
+
id: builtins.int | None = ...,
|
|
619
|
+
operand_ids: collections.abc.Iterable[builtins.int] | None = ...,
|
|
620
|
+
control_predecessor_ids: collections.abc.Iterable[builtins.int] | None = ...,
|
|
621
|
+
called_computation_ids: collections.abc.Iterable[builtins.int] | None = ...,
|
|
622
|
+
sharding: tensorflow.compiler.xla.xla_data_pb2.OpSharding | None = ...,
|
|
623
|
+
backend_config: builtins.bytes | None = ...,
|
|
624
|
+
replica_groups: collections.abc.Iterable[tensorflow.compiler.xla.xla_data_pb2.ReplicaGroup] | None = ...,
|
|
625
|
+
all_reduce_id: builtins.int | None = ...,
|
|
626
|
+
use_global_device_ids: builtins.bool | None = ...,
|
|
627
|
+
is_host_transfer: builtins.bool | None = ...,
|
|
628
|
+
is_stable: builtins.bool | None = ...,
|
|
629
|
+
scatter_dimension_numbers: tensorflow.compiler.xla.xla_data_pb2.ScatterDimensionNumbers | None = ...,
|
|
630
|
+
precision_config: tensorflow.compiler.xla.xla_data_pb2.PrecisionConfig | None = ...,
|
|
631
|
+
source_target_pairs: collections.abc.Iterable[tensorflow.compiler.xla.xla_data_pb2.SourceTarget] | None = ...,
|
|
632
|
+
domain_entry_sharding: tensorflow.compiler.xla.xla_data_pb2.OpSharding | None = ...,
|
|
633
|
+
domain_exit_sharding: tensorflow.compiler.xla.xla_data_pb2.OpSharding | None = ...,
|
|
634
|
+
constrain_layout: builtins.bool | None = ...,
|
|
635
|
+
operand_shapes_with_layout: collections.abc.Iterable[tensorflow.compiler.xla.xla_data_pb2.ShapeProto] | None = ...,
|
|
636
|
+
triangular_solve_options: tensorflow.compiler.xla.xla_data_pb2.TriangularSolveOptions | None = ...,
|
|
637
|
+
cholesky_options: tensorflow.compiler.xla.xla_data_pb2.CholeskyOptions | None = ...,
|
|
638
|
+
parameter_replication: tensorflow.compiler.xla.xla_data_pb2.ParameterReplication | None = ...,
|
|
639
|
+
custom_call_has_side_effect: builtins.bool | None = ...,
|
|
640
|
+
output_operand_aliasing: (
|
|
641
|
+
collections.abc.Iterable[tensorflow.compiler.xla.xla_data_pb2.OutputOperandAliasing] | None
|
|
642
|
+
) = ...,
|
|
643
|
+
custom_call_schedule: global___CustomCallSchedule.ValueType | None = ...,
|
|
644
|
+
delta: builtins.int | None = ...,
|
|
645
|
+
indices_are_sorted: builtins.bool | None = ...,
|
|
646
|
+
frontend_attributes: tensorflow.compiler.xla.xla_data_pb2.FrontendAttributes | None = ...,
|
|
647
|
+
unique_indices: builtins.bool | None = ...,
|
|
648
|
+
rng_algorithm: tensorflow.compiler.xla.xla_data_pb2.RandomAlgorithm.ValueType | None = ...,
|
|
649
|
+
comparison_type: builtins.str | None = ...,
|
|
650
|
+
is_cross_program_prefetch: builtins.bool | None = ...,
|
|
651
|
+
cross_program_prefetch_index: builtins.int | None = ...,
|
|
652
|
+
padding_type: tensorflow.compiler.xla.xla_data_pb2.PaddingType.ValueType | None = ...,
|
|
653
|
+
custom_call_api_version: global___CustomCallApiVersion.ValueType | None = ...,
|
|
654
|
+
async_execution_thread: builtins.str | None = ...,
|
|
655
|
+
k: builtins.int | None = ...,
|
|
656
|
+
largest: builtins.bool | None = ...,
|
|
657
|
+
statistics_viz: tensorflow.compiler.xla.xla_data_pb2.StatisticsViz | None = ...,
|
|
658
|
+
dot_sparsity: collections.abc.Iterable[tensorflow.compiler.xla.xla_data_pb2.SparsityDescriptor] | None = ...,
|
|
659
|
+
collective_device_list: tensorflow.compiler.xla.xla_data_pb2.CollectiveDeviceListProto | None = ...,
|
|
660
|
+
original_value: tensorflow.compiler.xla.xla_data_pb2.OriginalValueProto | None = ...,
|
|
661
|
+
is_composite: builtins.bool | None = ...,
|
|
662
|
+
) -> None: ...
|
|
663
|
+
def HasField(
|
|
664
|
+
self,
|
|
665
|
+
field_name: typing.Literal[
|
|
666
|
+
"cholesky_options",
|
|
667
|
+
b"cholesky_options",
|
|
668
|
+
"collective_device_list",
|
|
669
|
+
b"collective_device_list",
|
|
670
|
+
"convolution_dimension_numbers",
|
|
671
|
+
b"convolution_dimension_numbers",
|
|
672
|
+
"cross_program_prefetch_index",
|
|
673
|
+
b"cross_program_prefetch_index",
|
|
674
|
+
"domain_entry_sharding",
|
|
675
|
+
b"domain_entry_sharding",
|
|
676
|
+
"domain_exit_sharding",
|
|
677
|
+
b"domain_exit_sharding",
|
|
678
|
+
"dot_dimension_numbers",
|
|
679
|
+
b"dot_dimension_numbers",
|
|
680
|
+
"frontend_attributes",
|
|
681
|
+
b"frontend_attributes",
|
|
682
|
+
"gather_dimension_numbers",
|
|
683
|
+
b"gather_dimension_numbers",
|
|
684
|
+
"literal",
|
|
685
|
+
b"literal",
|
|
686
|
+
"metadata",
|
|
687
|
+
b"metadata",
|
|
688
|
+
"optional_cross_program_prefetch_index",
|
|
689
|
+
b"optional_cross_program_prefetch_index",
|
|
690
|
+
"original_value",
|
|
691
|
+
b"original_value",
|
|
692
|
+
"outfeed_shape",
|
|
693
|
+
b"outfeed_shape",
|
|
694
|
+
"padding_config",
|
|
695
|
+
b"padding_config",
|
|
696
|
+
"parameter_replication",
|
|
697
|
+
b"parameter_replication",
|
|
698
|
+
"precision_config",
|
|
699
|
+
b"precision_config",
|
|
700
|
+
"scatter_dimension_numbers",
|
|
701
|
+
b"scatter_dimension_numbers",
|
|
702
|
+
"shape",
|
|
703
|
+
b"shape",
|
|
704
|
+
"sharding",
|
|
705
|
+
b"sharding",
|
|
706
|
+
"statistics_viz",
|
|
707
|
+
b"statistics_viz",
|
|
708
|
+
"triangular_solve_options",
|
|
709
|
+
b"triangular_solve_options",
|
|
710
|
+
"window",
|
|
711
|
+
b"window",
|
|
712
|
+
],
|
|
713
|
+
) -> builtins.bool: ...
|
|
714
|
+
def ClearField(
|
|
715
|
+
self,
|
|
716
|
+
field_name: typing.Literal[
|
|
717
|
+
"all_reduce_id",
|
|
718
|
+
b"all_reduce_id",
|
|
719
|
+
"async_execution_thread",
|
|
720
|
+
b"async_execution_thread",
|
|
721
|
+
"backend_config",
|
|
722
|
+
b"backend_config",
|
|
723
|
+
"batch_group_count",
|
|
724
|
+
b"batch_group_count",
|
|
725
|
+
"called_computation_ids",
|
|
726
|
+
b"called_computation_ids",
|
|
727
|
+
"channel_id",
|
|
728
|
+
b"channel_id",
|
|
729
|
+
"cholesky_options",
|
|
730
|
+
b"cholesky_options",
|
|
731
|
+
"collective_device_list",
|
|
732
|
+
b"collective_device_list",
|
|
733
|
+
"comparison_direction",
|
|
734
|
+
b"comparison_direction",
|
|
735
|
+
"comparison_type",
|
|
736
|
+
b"comparison_type",
|
|
737
|
+
"constrain_layout",
|
|
738
|
+
b"constrain_layout",
|
|
739
|
+
"control_predecessor_ids",
|
|
740
|
+
b"control_predecessor_ids",
|
|
741
|
+
"convolution_dimension_numbers",
|
|
742
|
+
b"convolution_dimension_numbers",
|
|
743
|
+
"cross_program_prefetch_index",
|
|
744
|
+
b"cross_program_prefetch_index",
|
|
745
|
+
"custom_call_api_version",
|
|
746
|
+
b"custom_call_api_version",
|
|
747
|
+
"custom_call_has_side_effect",
|
|
748
|
+
b"custom_call_has_side_effect",
|
|
749
|
+
"custom_call_schedule",
|
|
750
|
+
b"custom_call_schedule",
|
|
751
|
+
"custom_call_target",
|
|
752
|
+
b"custom_call_target",
|
|
753
|
+
"delta",
|
|
754
|
+
b"delta",
|
|
755
|
+
"dimensions",
|
|
756
|
+
b"dimensions",
|
|
757
|
+
"distribution",
|
|
758
|
+
b"distribution",
|
|
759
|
+
"domain_entry_sharding",
|
|
760
|
+
b"domain_entry_sharding",
|
|
761
|
+
"domain_exit_sharding",
|
|
762
|
+
b"domain_exit_sharding",
|
|
763
|
+
"dot_dimension_numbers",
|
|
764
|
+
b"dot_dimension_numbers",
|
|
765
|
+
"dot_sparsity",
|
|
766
|
+
b"dot_sparsity",
|
|
767
|
+
"dynamic_slice_sizes",
|
|
768
|
+
b"dynamic_slice_sizes",
|
|
769
|
+
"epsilon",
|
|
770
|
+
b"epsilon",
|
|
771
|
+
"exponent_bits",
|
|
772
|
+
b"exponent_bits",
|
|
773
|
+
"feature_group_count",
|
|
774
|
+
b"feature_group_count",
|
|
775
|
+
"feature_index",
|
|
776
|
+
b"feature_index",
|
|
777
|
+
"fft_length",
|
|
778
|
+
b"fft_length",
|
|
779
|
+
"fft_type",
|
|
780
|
+
b"fft_type",
|
|
781
|
+
"frontend_attributes",
|
|
782
|
+
b"frontend_attributes",
|
|
783
|
+
"fusion_kind",
|
|
784
|
+
b"fusion_kind",
|
|
785
|
+
"gather_dimension_numbers",
|
|
786
|
+
b"gather_dimension_numbers",
|
|
787
|
+
"gather_slice_sizes",
|
|
788
|
+
b"gather_slice_sizes",
|
|
789
|
+
"id",
|
|
790
|
+
b"id",
|
|
791
|
+
"indices_are_sorted",
|
|
792
|
+
b"indices_are_sorted",
|
|
793
|
+
"infeed_config",
|
|
794
|
+
b"infeed_config",
|
|
795
|
+
"is_composite",
|
|
796
|
+
b"is_composite",
|
|
797
|
+
"is_cross_program_prefetch",
|
|
798
|
+
b"is_cross_program_prefetch",
|
|
799
|
+
"is_host_transfer",
|
|
800
|
+
b"is_host_transfer",
|
|
801
|
+
"is_stable",
|
|
802
|
+
b"is_stable",
|
|
803
|
+
"k",
|
|
804
|
+
b"k",
|
|
805
|
+
"largest",
|
|
806
|
+
b"largest",
|
|
807
|
+
"literal",
|
|
808
|
+
b"literal",
|
|
809
|
+
"mantissa_bits",
|
|
810
|
+
b"mantissa_bits",
|
|
811
|
+
"metadata",
|
|
812
|
+
b"metadata",
|
|
813
|
+
"name",
|
|
814
|
+
b"name",
|
|
815
|
+
"opcode",
|
|
816
|
+
b"opcode",
|
|
817
|
+
"operand_ids",
|
|
818
|
+
b"operand_ids",
|
|
819
|
+
"operand_shapes_with_layout",
|
|
820
|
+
b"operand_shapes_with_layout",
|
|
821
|
+
"optional_cross_program_prefetch_index",
|
|
822
|
+
b"optional_cross_program_prefetch_index",
|
|
823
|
+
"original_value",
|
|
824
|
+
b"original_value",
|
|
825
|
+
"outfeed_config",
|
|
826
|
+
b"outfeed_config",
|
|
827
|
+
"outfeed_shape",
|
|
828
|
+
b"outfeed_shape",
|
|
829
|
+
"output_operand_aliasing",
|
|
830
|
+
b"output_operand_aliasing",
|
|
831
|
+
"padding_config",
|
|
832
|
+
b"padding_config",
|
|
833
|
+
"padding_type",
|
|
834
|
+
b"padding_type",
|
|
835
|
+
"parameter_number",
|
|
836
|
+
b"parameter_number",
|
|
837
|
+
"parameter_replication",
|
|
838
|
+
b"parameter_replication",
|
|
839
|
+
"precision_config",
|
|
840
|
+
b"precision_config",
|
|
841
|
+
"replica_groups",
|
|
842
|
+
b"replica_groups",
|
|
843
|
+
"rng_algorithm",
|
|
844
|
+
b"rng_algorithm",
|
|
845
|
+
"scatter_dimension_numbers",
|
|
846
|
+
b"scatter_dimension_numbers",
|
|
847
|
+
"shape",
|
|
848
|
+
b"shape",
|
|
849
|
+
"sharding",
|
|
850
|
+
b"sharding",
|
|
851
|
+
"slice_dimensions",
|
|
852
|
+
b"slice_dimensions",
|
|
853
|
+
"source_target_pairs",
|
|
854
|
+
b"source_target_pairs",
|
|
855
|
+
"statistics_viz",
|
|
856
|
+
b"statistics_viz",
|
|
857
|
+
"triangular_solve_options",
|
|
858
|
+
b"triangular_solve_options",
|
|
859
|
+
"tuple_index",
|
|
860
|
+
b"tuple_index",
|
|
861
|
+
"unique_indices",
|
|
862
|
+
b"unique_indices",
|
|
863
|
+
"use_global_device_ids",
|
|
864
|
+
b"use_global_device_ids",
|
|
865
|
+
"window",
|
|
866
|
+
b"window",
|
|
867
|
+
],
|
|
868
|
+
) -> None: ...
|
|
869
|
+
def WhichOneof(
|
|
870
|
+
self, oneof_group: typing.Literal["optional_cross_program_prefetch_index", b"optional_cross_program_prefetch_index"]
|
|
871
|
+
) -> typing.Literal["cross_program_prefetch_index"] | None: ...
|
|
872
|
+
|
|
873
|
+
global___HloInstructionProto = HloInstructionProto
|
|
874
|
+
|
|
875
|
+
@typing.final
|
|
876
|
+
class HloComputationProto(google.protobuf.message.Message):
|
|
877
|
+
"""Serialization of HloComputation."""
|
|
878
|
+
|
|
879
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
880
|
+
|
|
881
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
882
|
+
INSTRUCTIONS_FIELD_NUMBER: builtins.int
|
|
883
|
+
PROGRAM_SHAPE_FIELD_NUMBER: builtins.int
|
|
884
|
+
ID_FIELD_NUMBER: builtins.int
|
|
885
|
+
ROOT_ID_FIELD_NUMBER: builtins.int
|
|
886
|
+
IS_FUSION_COMPUTATION_FIELD_NUMBER: builtins.int
|
|
887
|
+
EXECUTION_THREAD_FIELD_NUMBER: builtins.int
|
|
888
|
+
name: builtins.str
|
|
889
|
+
id: builtins.int
|
|
890
|
+
"""The id of this computation."""
|
|
891
|
+
root_id: builtins.int
|
|
892
|
+
"""The id of the root of the computation."""
|
|
893
|
+
is_fusion_computation: builtins.bool
|
|
894
|
+
"""Whether this is a fusion computation. Fusion computations should use this
|
|
895
|
+
to determine whether they are a fusion in CreateFromProto since the
|
|
896
|
+
parent fusion_instruction_ may get removed and be nullptr.
|
|
897
|
+
"""
|
|
898
|
+
execution_thread: builtins.str
|
|
899
|
+
"""The name of execution thread this computation belongs to."""
|
|
900
|
+
@property
|
|
901
|
+
def instructions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HloInstructionProto]:
|
|
902
|
+
"""The array of instructions is always in a valid dependency order, where
|
|
903
|
+
operands appear before their users.
|
|
904
|
+
"""
|
|
905
|
+
|
|
906
|
+
@property
|
|
907
|
+
def program_shape(self) -> tensorflow.compiler.xla.xla_data_pb2.ProgramShapeProto:
|
|
908
|
+
"""The program shape (with layout) of this computation."""
|
|
909
|
+
|
|
910
|
+
def __init__(
|
|
911
|
+
self,
|
|
912
|
+
*,
|
|
913
|
+
name: builtins.str | None = ...,
|
|
914
|
+
instructions: collections.abc.Iterable[global___HloInstructionProto] | None = ...,
|
|
915
|
+
program_shape: tensorflow.compiler.xla.xla_data_pb2.ProgramShapeProto | None = ...,
|
|
916
|
+
id: builtins.int | None = ...,
|
|
917
|
+
root_id: builtins.int | None = ...,
|
|
918
|
+
is_fusion_computation: builtins.bool | None = ...,
|
|
919
|
+
execution_thread: builtins.str | None = ...,
|
|
920
|
+
) -> None: ...
|
|
921
|
+
def HasField(self, field_name: typing.Literal["program_shape", b"program_shape"]) -> builtins.bool: ...
|
|
922
|
+
def ClearField(
|
|
923
|
+
self,
|
|
924
|
+
field_name: typing.Literal[
|
|
925
|
+
"execution_thread",
|
|
926
|
+
b"execution_thread",
|
|
927
|
+
"id",
|
|
928
|
+
b"id",
|
|
929
|
+
"instructions",
|
|
930
|
+
b"instructions",
|
|
931
|
+
"is_fusion_computation",
|
|
932
|
+
b"is_fusion_computation",
|
|
933
|
+
"name",
|
|
934
|
+
b"name",
|
|
935
|
+
"program_shape",
|
|
936
|
+
b"program_shape",
|
|
937
|
+
"root_id",
|
|
938
|
+
b"root_id",
|
|
939
|
+
],
|
|
940
|
+
) -> None: ...
|
|
941
|
+
|
|
942
|
+
global___HloComputationProto = HloComputationProto
|
|
943
|
+
|
|
944
|
+
@typing.final
|
|
945
|
+
class HloScheduleProto(google.protobuf.message.Message):
|
|
946
|
+
"""Serialization of an HLO schedule. An HLO schedule contains a total order of
|
|
947
|
+
instructions for each non-fusion computation in the module.
|
|
948
|
+
"""
|
|
949
|
+
|
|
950
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
951
|
+
|
|
952
|
+
@typing.final
|
|
953
|
+
class InstructionSequence(google.protobuf.message.Message):
|
|
954
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
955
|
+
|
|
956
|
+
INSTRUCTION_IDS_FIELD_NUMBER: builtins.int
|
|
957
|
+
@property
|
|
958
|
+
def instruction_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
|
|
959
|
+
def __init__(self, *, instruction_ids: collections.abc.Iterable[builtins.int] | None = ...) -> None: ...
|
|
960
|
+
def ClearField(self, field_name: typing.Literal["instruction_ids", b"instruction_ids"]) -> None: ...
|
|
961
|
+
|
|
962
|
+
@typing.final
|
|
963
|
+
class SequencesEntry(google.protobuf.message.Message):
|
|
964
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
965
|
+
|
|
966
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
967
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
968
|
+
key: builtins.int
|
|
969
|
+
@property
|
|
970
|
+
def value(self) -> global___HloScheduleProto.InstructionSequence: ...
|
|
971
|
+
def __init__(
|
|
972
|
+
self, *, key: builtins.int | None = ..., value: global___HloScheduleProto.InstructionSequence | None = ...
|
|
973
|
+
) -> None: ...
|
|
974
|
+
def HasField(self, field_name: typing.Literal["value", b"value"]) -> builtins.bool: ...
|
|
975
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
976
|
+
|
|
977
|
+
SEQUENCES_FIELD_NUMBER: builtins.int
|
|
978
|
+
@property
|
|
979
|
+
def sequences(
|
|
980
|
+
self,
|
|
981
|
+
) -> google.protobuf.internal.containers.MessageMap[builtins.int, global___HloScheduleProto.InstructionSequence]:
|
|
982
|
+
"""Map from computation id to sequence."""
|
|
983
|
+
|
|
984
|
+
def __init__(
|
|
985
|
+
self, *, sequences: collections.abc.Mapping[builtins.int, global___HloScheduleProto.InstructionSequence] | None = ...
|
|
986
|
+
) -> None: ...
|
|
987
|
+
def ClearField(self, field_name: typing.Literal["sequences", b"sequences"]) -> None: ...
|
|
988
|
+
|
|
989
|
+
global___HloScheduleProto = HloScheduleProto
|
|
990
|
+
|
|
991
|
+
@typing.final
|
|
992
|
+
class HloInputOutputAliasProto(google.protobuf.message.Message):
|
|
993
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
994
|
+
|
|
995
|
+
@typing.final
|
|
996
|
+
class AliasEntryProto(google.protobuf.message.Message):
|
|
997
|
+
"""The following proto describes a pair of aliased an input
|
|
998
|
+
(described by parameter number and a ShapeIndex of the parameter)
|
|
999
|
+
and an output (described by a ShapeIndex of the root
|
|
1000
|
+
instruction). For example:
|
|
1001
|
+
|
|
1002
|
+
entry = {
|
|
1003
|
+
output_shape_index={1},
|
|
1004
|
+
parameter_number=0,
|
|
1005
|
+
parameter_shape_index={1, 2},
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
This entry indicates that the first parameter's {1, 2} element is
|
|
1009
|
+
aliased with the {1} element of the root instruction.
|
|
1010
|
+
"""
|
|
1011
|
+
|
|
1012
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1013
|
+
|
|
1014
|
+
OUTPUT_SHAPE_INDEX_FIELD_NUMBER: builtins.int
|
|
1015
|
+
PARAMETER_NUMBER_FIELD_NUMBER: builtins.int
|
|
1016
|
+
PARAMETER_SHAPE_INDEX_FIELD_NUMBER: builtins.int
|
|
1017
|
+
KIND_FIELD_NUMBER: builtins.int
|
|
1018
|
+
parameter_number: builtins.int
|
|
1019
|
+
"""Number of the parameter in entry computation."""
|
|
1020
|
+
kind: global___Kind.ValueType
|
|
1021
|
+
"""The kind of alias to be setup."""
|
|
1022
|
+
@property
|
|
1023
|
+
def output_shape_index(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
1024
|
+
"""ShapeIndex of the root hlo."""
|
|
1025
|
+
|
|
1026
|
+
@property
|
|
1027
|
+
def parameter_shape_index(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
1028
|
+
"""ShapeIndex of the parameter instruction."""
|
|
1029
|
+
|
|
1030
|
+
def __init__(
|
|
1031
|
+
self,
|
|
1032
|
+
*,
|
|
1033
|
+
output_shape_index: collections.abc.Iterable[builtins.int] | None = ...,
|
|
1034
|
+
parameter_number: builtins.int | None = ...,
|
|
1035
|
+
parameter_shape_index: collections.abc.Iterable[builtins.int] | None = ...,
|
|
1036
|
+
kind: global___Kind.ValueType | None = ...,
|
|
1037
|
+
) -> None: ...
|
|
1038
|
+
def ClearField(
|
|
1039
|
+
self,
|
|
1040
|
+
field_name: typing.Literal[
|
|
1041
|
+
"kind",
|
|
1042
|
+
b"kind",
|
|
1043
|
+
"output_shape_index",
|
|
1044
|
+
b"output_shape_index",
|
|
1045
|
+
"parameter_number",
|
|
1046
|
+
b"parameter_number",
|
|
1047
|
+
"parameter_shape_index",
|
|
1048
|
+
b"parameter_shape_index",
|
|
1049
|
+
],
|
|
1050
|
+
) -> None: ...
|
|
1051
|
+
|
|
1052
|
+
ENTRIES_FIELD_NUMBER: builtins.int
|
|
1053
|
+
@property
|
|
1054
|
+
def entries(
|
|
1055
|
+
self,
|
|
1056
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
1057
|
+
global___HloInputOutputAliasProto.AliasEntryProto
|
|
1058
|
+
]: ...
|
|
1059
|
+
def __init__(
|
|
1060
|
+
self, *, entries: collections.abc.Iterable[global___HloInputOutputAliasProto.AliasEntryProto] | None = ...
|
|
1061
|
+
) -> None: ...
|
|
1062
|
+
def ClearField(self, field_name: typing.Literal["entries", b"entries"]) -> None: ...
|
|
1063
|
+
|
|
1064
|
+
global___HloInputOutputAliasProto = HloInputOutputAliasProto
|
|
1065
|
+
|
|
1066
|
+
@typing.final
|
|
1067
|
+
class HloBufferDonorProto(google.protobuf.message.Message):
|
|
1068
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1069
|
+
|
|
1070
|
+
@typing.final
|
|
1071
|
+
class BufferDonorEntryProto(google.protobuf.message.Message):
|
|
1072
|
+
"""The following proto describes an input (described by parameter number and a
|
|
1073
|
+
ShapeIndex of the parameter) that can donate its butter to any output
|
|
1074
|
+
tensor. It is similar to HloInputOutputAliasProto, but without a paired
|
|
1075
|
+
output. For example:
|
|
1076
|
+
|
|
1077
|
+
entry = {
|
|
1078
|
+
parameter_number=0,
|
|
1079
|
+
parameter_shape_index={1, 2},
|
|
1080
|
+
}
|
|
1081
|
+
|
|
1082
|
+
This entry indicates that the first parameter's {1, 2} element can donate
|
|
1083
|
+
its buffer.
|
|
1084
|
+
"""
|
|
1085
|
+
|
|
1086
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1087
|
+
|
|
1088
|
+
PARAMETER_NUMBER_FIELD_NUMBER: builtins.int
|
|
1089
|
+
PARAMETER_SHAPE_INDEX_FIELD_NUMBER: builtins.int
|
|
1090
|
+
parameter_number: builtins.int
|
|
1091
|
+
"""Number of the parameter in entry computation."""
|
|
1092
|
+
@property
|
|
1093
|
+
def parameter_shape_index(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
1094
|
+
"""ShapeIndex of the parameter instruction."""
|
|
1095
|
+
|
|
1096
|
+
def __init__(
|
|
1097
|
+
self,
|
|
1098
|
+
*,
|
|
1099
|
+
parameter_number: builtins.int | None = ...,
|
|
1100
|
+
parameter_shape_index: collections.abc.Iterable[builtins.int] | None = ...,
|
|
1101
|
+
) -> None: ...
|
|
1102
|
+
def ClearField(
|
|
1103
|
+
self,
|
|
1104
|
+
field_name: typing.Literal[
|
|
1105
|
+
"parameter_number", b"parameter_number", "parameter_shape_index", b"parameter_shape_index"
|
|
1106
|
+
],
|
|
1107
|
+
) -> None: ...
|
|
1108
|
+
|
|
1109
|
+
ENTRIES_FIELD_NUMBER: builtins.int
|
|
1110
|
+
@property
|
|
1111
|
+
def entries(
|
|
1112
|
+
self,
|
|
1113
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[
|
|
1114
|
+
global___HloBufferDonorProto.BufferDonorEntryProto
|
|
1115
|
+
]: ...
|
|
1116
|
+
def __init__(
|
|
1117
|
+
self, *, entries: collections.abc.Iterable[global___HloBufferDonorProto.BufferDonorEntryProto] | None = ...
|
|
1118
|
+
) -> None: ...
|
|
1119
|
+
def ClearField(self, field_name: typing.Literal["entries", b"entries"]) -> None: ...
|
|
1120
|
+
|
|
1121
|
+
global___HloBufferDonorProto = HloBufferDonorProto
|
|
1122
|
+
|
|
1123
|
+
@typing.final
|
|
1124
|
+
class CrossProgramPrefetch(google.protobuf.message.Message):
|
|
1125
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1126
|
+
|
|
1127
|
+
PARAMETER_FIELD_NUMBER: builtins.int
|
|
1128
|
+
INDEX_FIELD_NUMBER: builtins.int
|
|
1129
|
+
OFFSET_FIELD_NUMBER: builtins.int
|
|
1130
|
+
parameter: builtins.int
|
|
1131
|
+
offset: builtins.int
|
|
1132
|
+
@property
|
|
1133
|
+
def index(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
|
|
1134
|
+
def __init__(
|
|
1135
|
+
self,
|
|
1136
|
+
*,
|
|
1137
|
+
parameter: builtins.int | None = ...,
|
|
1138
|
+
index: collections.abc.Iterable[builtins.int] | None = ...,
|
|
1139
|
+
offset: builtins.int | None = ...,
|
|
1140
|
+
) -> None: ...
|
|
1141
|
+
def ClearField(
|
|
1142
|
+
self, field_name: typing.Literal["index", b"index", "offset", b"offset", "parameter", b"parameter"]
|
|
1143
|
+
) -> None: ...
|
|
1144
|
+
|
|
1145
|
+
global___CrossProgramPrefetch = CrossProgramPrefetch
|
|
1146
|
+
|
|
1147
|
+
@typing.final
|
|
1148
|
+
class StackFrameIndexProto(google.protobuf.message.Message):
|
|
1149
|
+
"""Serialization of stack frames index representations.
|
|
1150
|
+
Stack frames index presented in four flat arrays:
|
|
1151
|
+
1. File names array.
|
|
1152
|
+
2. Function names array.
|
|
1153
|
+
3. File location array.
|
|
1154
|
+
4. Frame array.
|
|
1155
|
+
All reference ids in sub-protos are 1-based positions of the
|
|
1156
|
+
entity in the flat array.
|
|
1157
|
+
Ids are 1-based to keep 0 value as representation of non-set property.
|
|
1158
|
+
"""
|
|
1159
|
+
|
|
1160
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1161
|
+
|
|
1162
|
+
@typing.final
|
|
1163
|
+
class FileLocation(google.protobuf.message.Message):
|
|
1164
|
+
"""Serialization of file position."""
|
|
1165
|
+
|
|
1166
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1167
|
+
|
|
1168
|
+
FILE_NAME_ID_FIELD_NUMBER: builtins.int
|
|
1169
|
+
FUNCTION_NAME_ID_FIELD_NUMBER: builtins.int
|
|
1170
|
+
LINE_FIELD_NUMBER: builtins.int
|
|
1171
|
+
COLUMN_FIELD_NUMBER: builtins.int
|
|
1172
|
+
file_name_id: builtins.int
|
|
1173
|
+
"""1-based position of file name."""
|
|
1174
|
+
function_name_id: builtins.int
|
|
1175
|
+
"""1-based position of function name."""
|
|
1176
|
+
line: builtins.int
|
|
1177
|
+
"""Line number."""
|
|
1178
|
+
column: builtins.int
|
|
1179
|
+
"""Column number."""
|
|
1180
|
+
def __init__(
|
|
1181
|
+
self,
|
|
1182
|
+
*,
|
|
1183
|
+
file_name_id: builtins.int | None = ...,
|
|
1184
|
+
function_name_id: builtins.int | None = ...,
|
|
1185
|
+
line: builtins.int | None = ...,
|
|
1186
|
+
column: builtins.int | None = ...,
|
|
1187
|
+
) -> None: ...
|
|
1188
|
+
def ClearField(
|
|
1189
|
+
self,
|
|
1190
|
+
field_name: typing.Literal[
|
|
1191
|
+
"column", b"column", "file_name_id", b"file_name_id", "function_name_id", b"function_name_id", "line", b"line"
|
|
1192
|
+
],
|
|
1193
|
+
) -> None: ...
|
|
1194
|
+
|
|
1195
|
+
@typing.final
|
|
1196
|
+
class StackFrame(google.protobuf.message.Message):
|
|
1197
|
+
"""Serialization of frame."""
|
|
1198
|
+
|
|
1199
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1200
|
+
|
|
1201
|
+
FILE_LOCATION_ID_FIELD_NUMBER: builtins.int
|
|
1202
|
+
PARENT_FRAME_ID_FIELD_NUMBER: builtins.int
|
|
1203
|
+
file_location_id: builtins.int
|
|
1204
|
+
"""1-based position of file location."""
|
|
1205
|
+
parent_frame_id: builtins.int
|
|
1206
|
+
"""1-based position of the parent frame."""
|
|
1207
|
+
def __init__(
|
|
1208
|
+
self, *, file_location_id: builtins.int | None = ..., parent_frame_id: builtins.int | None = ...
|
|
1209
|
+
) -> None: ...
|
|
1210
|
+
def ClearField(
|
|
1211
|
+
self, field_name: typing.Literal["file_location_id", b"file_location_id", "parent_frame_id", b"parent_frame_id"]
|
|
1212
|
+
) -> None: ...
|
|
1213
|
+
|
|
1214
|
+
FILE_NAMES_FIELD_NUMBER: builtins.int
|
|
1215
|
+
FUNCTION_NAMES_FIELD_NUMBER: builtins.int
|
|
1216
|
+
FILE_LOCATIONS_FIELD_NUMBER: builtins.int
|
|
1217
|
+
STACK_FRAMES_FIELD_NUMBER: builtins.int
|
|
1218
|
+
@property
|
|
1219
|
+
def file_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1220
|
+
"""Flat index array of file names."""
|
|
1221
|
+
|
|
1222
|
+
@property
|
|
1223
|
+
def function_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
1224
|
+
"""Flat index array of function names."""
|
|
1225
|
+
|
|
1226
|
+
@property
|
|
1227
|
+
def file_locations(
|
|
1228
|
+
self,
|
|
1229
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StackFrameIndexProto.FileLocation]:
|
|
1230
|
+
"""Flat index array of file locations."""
|
|
1231
|
+
|
|
1232
|
+
@property
|
|
1233
|
+
def stack_frames(
|
|
1234
|
+
self,
|
|
1235
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___StackFrameIndexProto.StackFrame]:
|
|
1236
|
+
"""Flat index array of frames."""
|
|
1237
|
+
|
|
1238
|
+
def __init__(
|
|
1239
|
+
self,
|
|
1240
|
+
*,
|
|
1241
|
+
file_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1242
|
+
function_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
1243
|
+
file_locations: collections.abc.Iterable[global___StackFrameIndexProto.FileLocation] | None = ...,
|
|
1244
|
+
stack_frames: collections.abc.Iterable[global___StackFrameIndexProto.StackFrame] | None = ...,
|
|
1245
|
+
) -> None: ...
|
|
1246
|
+
def ClearField(
|
|
1247
|
+
self,
|
|
1248
|
+
field_name: typing.Literal[
|
|
1249
|
+
"file_locations",
|
|
1250
|
+
b"file_locations",
|
|
1251
|
+
"file_names",
|
|
1252
|
+
b"file_names",
|
|
1253
|
+
"function_names",
|
|
1254
|
+
b"function_names",
|
|
1255
|
+
"stack_frames",
|
|
1256
|
+
b"stack_frames",
|
|
1257
|
+
],
|
|
1258
|
+
) -> None: ...
|
|
1259
|
+
|
|
1260
|
+
global___StackFrameIndexProto = StackFrameIndexProto
|
|
1261
|
+
|
|
1262
|
+
@typing.final
|
|
1263
|
+
class HloModuleProto(google.protobuf.message.Message):
|
|
1264
|
+
"""Serialization of HloModule."""
|
|
1265
|
+
|
|
1266
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1267
|
+
|
|
1268
|
+
class _ProfileType:
|
|
1269
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
1270
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
1271
|
+
|
|
1272
|
+
class _ProfileTypeEnumTypeWrapper(
|
|
1273
|
+
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[HloModuleProto._ProfileType.ValueType], builtins.type
|
|
1274
|
+
):
|
|
1275
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
1276
|
+
INVALID: HloModuleProto._ProfileType.ValueType # 0
|
|
1277
|
+
FLAG: HloModuleProto._ProfileType.ValueType # 1
|
|
1278
|
+
FUSION: HloModuleProto._ProfileType.ValueType # 2
|
|
1279
|
+
LAYOUT: HloModuleProto._ProfileType.ValueType # 3
|
|
1280
|
+
DOT: HloModuleProto._ProfileType.ValueType # 4
|
|
1281
|
+
FLAGNET: HloModuleProto._ProfileType.ValueType # 5
|
|
1282
|
+
|
|
1283
|
+
class ProfileType(_ProfileType, metaclass=_ProfileTypeEnumTypeWrapper):
|
|
1284
|
+
"""The type of optimization profile in use for module-level optimizations."""
|
|
1285
|
+
|
|
1286
|
+
INVALID: HloModuleProto.ProfileType.ValueType # 0
|
|
1287
|
+
FLAG: HloModuleProto.ProfileType.ValueType # 1
|
|
1288
|
+
FUSION: HloModuleProto.ProfileType.ValueType # 2
|
|
1289
|
+
LAYOUT: HloModuleProto.ProfileType.ValueType # 3
|
|
1290
|
+
DOT: HloModuleProto.ProfileType.ValueType # 4
|
|
1291
|
+
FLAGNET: HloModuleProto.ProfileType.ValueType # 5
|
|
1292
|
+
|
|
1293
|
+
@typing.final
|
|
1294
|
+
class ProfileInfo(google.protobuf.message.Message):
|
|
1295
|
+
"""Information about the optimization profile that this module contains."""
|
|
1296
|
+
|
|
1297
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1298
|
+
|
|
1299
|
+
PROFILE_TYPE_FIELD_NUMBER: builtins.int
|
|
1300
|
+
RELATIVE_SPEEDUP_FIELD_NUMBER: builtins.int
|
|
1301
|
+
PROFILE_SOURCE_FIELD_NUMBER: builtins.int
|
|
1302
|
+
COMPILATION_EVENT_FIELD_NUMBER: builtins.int
|
|
1303
|
+
FINGERPRINT_FIELD_NUMBER: builtins.int
|
|
1304
|
+
profile_type: global___HloModuleProto.ProfileType.ValueType
|
|
1305
|
+
"""The optimization profiles that this module contains."""
|
|
1306
|
+
relative_speedup: builtins.float
|
|
1307
|
+
"""Speedup of tuned config compared to default config."""
|
|
1308
|
+
profile_source: tensorflow.compiler.xla.xla_data_pb2.ProfileSource.ValueType
|
|
1309
|
+
"""The source of the optimization profile that this module contains."""
|
|
1310
|
+
compilation_event: tensorflow.compiler.xla.xla_data_pb2.CompilationEvent.ValueType
|
|
1311
|
+
"""The compilation event that triggered the use of the profile."""
|
|
1312
|
+
fingerprint: builtins.str
|
|
1313
|
+
"""The fingerprint of the unoptimized module this profile was applied to."""
|
|
1314
|
+
def __init__(
|
|
1315
|
+
self,
|
|
1316
|
+
*,
|
|
1317
|
+
profile_type: global___HloModuleProto.ProfileType.ValueType | None = ...,
|
|
1318
|
+
relative_speedup: builtins.float | None = ...,
|
|
1319
|
+
profile_source: tensorflow.compiler.xla.xla_data_pb2.ProfileSource.ValueType | None = ...,
|
|
1320
|
+
compilation_event: tensorflow.compiler.xla.xla_data_pb2.CompilationEvent.ValueType | None = ...,
|
|
1321
|
+
fingerprint: builtins.str | None = ...,
|
|
1322
|
+
) -> None: ...
|
|
1323
|
+
def ClearField(
|
|
1324
|
+
self,
|
|
1325
|
+
field_name: typing.Literal[
|
|
1326
|
+
"compilation_event",
|
|
1327
|
+
b"compilation_event",
|
|
1328
|
+
"fingerprint",
|
|
1329
|
+
b"fingerprint",
|
|
1330
|
+
"profile_source",
|
|
1331
|
+
b"profile_source",
|
|
1332
|
+
"profile_type",
|
|
1333
|
+
b"profile_type",
|
|
1334
|
+
"relative_speedup",
|
|
1335
|
+
b"relative_speedup",
|
|
1336
|
+
],
|
|
1337
|
+
) -> None: ...
|
|
1338
|
+
|
|
1339
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1340
|
+
ENTRY_COMPUTATION_NAME_FIELD_NUMBER: builtins.int
|
|
1341
|
+
ENTRY_COMPUTATION_ID_FIELD_NUMBER: builtins.int
|
|
1342
|
+
COMPUTATIONS_FIELD_NUMBER: builtins.int
|
|
1343
|
+
HOST_PROGRAM_SHAPE_FIELD_NUMBER: builtins.int
|
|
1344
|
+
ID_FIELD_NUMBER: builtins.int
|
|
1345
|
+
SCHEDULE_FIELD_NUMBER: builtins.int
|
|
1346
|
+
INPUT_OUTPUT_ALIAS_FIELD_NUMBER: builtins.int
|
|
1347
|
+
BUFFER_DONOR_FIELD_NUMBER: builtins.int
|
|
1348
|
+
CROSS_PROGRAM_PREFETCHES_FIELD_NUMBER: builtins.int
|
|
1349
|
+
IS_DYNAMIC_FIELD_NUMBER: builtins.int
|
|
1350
|
+
SPMD_OUTPUT_SHARDING_FIELD_NUMBER: builtins.int
|
|
1351
|
+
SPMD_PARAMETERS_SHARDINGS_FIELD_NUMBER: builtins.int
|
|
1352
|
+
USE_AUTO_SPMD_PARTITIONING_FIELD_NUMBER: builtins.int
|
|
1353
|
+
PROFILE_INFO_FIELD_NUMBER: builtins.int
|
|
1354
|
+
DEVICE_ASSIGNMENT_FIELD_NUMBER: builtins.int
|
|
1355
|
+
STACK_FRAME_INDEX_FIELD_NUMBER: builtins.int
|
|
1356
|
+
FRONTEND_ATTRIBUTES_FIELD_NUMBER: builtins.int
|
|
1357
|
+
name: builtins.str
|
|
1358
|
+
entry_computation_name: builtins.str
|
|
1359
|
+
entry_computation_id: builtins.int
|
|
1360
|
+
id: builtins.int
|
|
1361
|
+
"""The id of this module."""
|
|
1362
|
+
is_dynamic: builtins.bool
|
|
1363
|
+
"""True if the module contains dynamic computation."""
|
|
1364
|
+
use_auto_spmd_partitioning: builtins.bool
|
|
1365
|
+
"""Uses AutoSharding pass or not."""
|
|
1366
|
+
@property
|
|
1367
|
+
def computations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HloComputationProto]:
|
|
1368
|
+
"""The array of computations is always in a valid dependency order, where
|
|
1369
|
+
callees appear before their callers.
|
|
1370
|
+
"""
|
|
1371
|
+
|
|
1372
|
+
@property
|
|
1373
|
+
def host_program_shape(self) -> tensorflow.compiler.xla.xla_data_pb2.ProgramShapeProto:
|
|
1374
|
+
"""The host program shape (with layout) of the entry computation."""
|
|
1375
|
+
|
|
1376
|
+
@property
|
|
1377
|
+
def schedule(self) -> global___HloScheduleProto:
|
|
1378
|
+
"""The schedule for this module."""
|
|
1379
|
+
|
|
1380
|
+
@property
|
|
1381
|
+
def input_output_alias(self) -> global___HloInputOutputAliasProto:
|
|
1382
|
+
"""Describes alias information between inputs and outputs."""
|
|
1383
|
+
|
|
1384
|
+
@property
|
|
1385
|
+
def buffer_donor(self) -> global___HloBufferDonorProto:
|
|
1386
|
+
"""Describes the information of input buffer donors."""
|
|
1387
|
+
|
|
1388
|
+
@property
|
|
1389
|
+
def cross_program_prefetches(
|
|
1390
|
+
self,
|
|
1391
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___CrossProgramPrefetch]: ...
|
|
1392
|
+
@property
|
|
1393
|
+
def spmd_output_sharding(self) -> tensorflow.compiler.xla.xla_data_pb2.OpSharding: ...
|
|
1394
|
+
@property
|
|
1395
|
+
def spmd_parameters_shardings(
|
|
1396
|
+
self,
|
|
1397
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[tensorflow.compiler.xla.xla_data_pb2.OpSharding]: ...
|
|
1398
|
+
@property
|
|
1399
|
+
def profile_info(
|
|
1400
|
+
self,
|
|
1401
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HloModuleProto.ProfileInfo]:
|
|
1402
|
+
"""Profile information for the HLO module."""
|
|
1403
|
+
|
|
1404
|
+
@property
|
|
1405
|
+
def device_assignment(self) -> tensorflow.compiler.xla.xla_data_pb2.DeviceAssignmentProto:
|
|
1406
|
+
"""DeviceAssignment object information."""
|
|
1407
|
+
|
|
1408
|
+
@property
|
|
1409
|
+
def stack_frame_index(self) -> global___StackFrameIndexProto:
|
|
1410
|
+
"""Stack frames index."""
|
|
1411
|
+
|
|
1412
|
+
@property
|
|
1413
|
+
def frontend_attributes(self) -> tensorflow.compiler.xla.xla_data_pb2.FrontendAttributes:
|
|
1414
|
+
"""Frontend attributes to pass to the XLA backend."""
|
|
1415
|
+
|
|
1416
|
+
def __init__(
|
|
1417
|
+
self,
|
|
1418
|
+
*,
|
|
1419
|
+
name: builtins.str | None = ...,
|
|
1420
|
+
entry_computation_name: builtins.str | None = ...,
|
|
1421
|
+
entry_computation_id: builtins.int | None = ...,
|
|
1422
|
+
computations: collections.abc.Iterable[global___HloComputationProto] | None = ...,
|
|
1423
|
+
host_program_shape: tensorflow.compiler.xla.xla_data_pb2.ProgramShapeProto | None = ...,
|
|
1424
|
+
id: builtins.int | None = ...,
|
|
1425
|
+
schedule: global___HloScheduleProto | None = ...,
|
|
1426
|
+
input_output_alias: global___HloInputOutputAliasProto | None = ...,
|
|
1427
|
+
buffer_donor: global___HloBufferDonorProto | None = ...,
|
|
1428
|
+
cross_program_prefetches: collections.abc.Iterable[global___CrossProgramPrefetch] | None = ...,
|
|
1429
|
+
is_dynamic: builtins.bool | None = ...,
|
|
1430
|
+
spmd_output_sharding: tensorflow.compiler.xla.xla_data_pb2.OpSharding | None = ...,
|
|
1431
|
+
spmd_parameters_shardings: collections.abc.Iterable[tensorflow.compiler.xla.xla_data_pb2.OpSharding] | None = ...,
|
|
1432
|
+
use_auto_spmd_partitioning: builtins.bool | None = ...,
|
|
1433
|
+
profile_info: collections.abc.Iterable[global___HloModuleProto.ProfileInfo] | None = ...,
|
|
1434
|
+
device_assignment: tensorflow.compiler.xla.xla_data_pb2.DeviceAssignmentProto | None = ...,
|
|
1435
|
+
stack_frame_index: global___StackFrameIndexProto | None = ...,
|
|
1436
|
+
frontend_attributes: tensorflow.compiler.xla.xla_data_pb2.FrontendAttributes | None = ...,
|
|
1437
|
+
) -> None: ...
|
|
1438
|
+
def HasField(
|
|
1439
|
+
self,
|
|
1440
|
+
field_name: typing.Literal[
|
|
1441
|
+
"buffer_donor",
|
|
1442
|
+
b"buffer_donor",
|
|
1443
|
+
"device_assignment",
|
|
1444
|
+
b"device_assignment",
|
|
1445
|
+
"frontend_attributes",
|
|
1446
|
+
b"frontend_attributes",
|
|
1447
|
+
"host_program_shape",
|
|
1448
|
+
b"host_program_shape",
|
|
1449
|
+
"input_output_alias",
|
|
1450
|
+
b"input_output_alias",
|
|
1451
|
+
"schedule",
|
|
1452
|
+
b"schedule",
|
|
1453
|
+
"spmd_output_sharding",
|
|
1454
|
+
b"spmd_output_sharding",
|
|
1455
|
+
"stack_frame_index",
|
|
1456
|
+
b"stack_frame_index",
|
|
1457
|
+
],
|
|
1458
|
+
) -> builtins.bool: ...
|
|
1459
|
+
def ClearField(
|
|
1460
|
+
self,
|
|
1461
|
+
field_name: typing.Literal[
|
|
1462
|
+
"buffer_donor",
|
|
1463
|
+
b"buffer_donor",
|
|
1464
|
+
"computations",
|
|
1465
|
+
b"computations",
|
|
1466
|
+
"cross_program_prefetches",
|
|
1467
|
+
b"cross_program_prefetches",
|
|
1468
|
+
"device_assignment",
|
|
1469
|
+
b"device_assignment",
|
|
1470
|
+
"entry_computation_id",
|
|
1471
|
+
b"entry_computation_id",
|
|
1472
|
+
"entry_computation_name",
|
|
1473
|
+
b"entry_computation_name",
|
|
1474
|
+
"frontend_attributes",
|
|
1475
|
+
b"frontend_attributes",
|
|
1476
|
+
"host_program_shape",
|
|
1477
|
+
b"host_program_shape",
|
|
1478
|
+
"id",
|
|
1479
|
+
b"id",
|
|
1480
|
+
"input_output_alias",
|
|
1481
|
+
b"input_output_alias",
|
|
1482
|
+
"is_dynamic",
|
|
1483
|
+
b"is_dynamic",
|
|
1484
|
+
"name",
|
|
1485
|
+
b"name",
|
|
1486
|
+
"profile_info",
|
|
1487
|
+
b"profile_info",
|
|
1488
|
+
"schedule",
|
|
1489
|
+
b"schedule",
|
|
1490
|
+
"spmd_output_sharding",
|
|
1491
|
+
b"spmd_output_sharding",
|
|
1492
|
+
"spmd_parameters_shardings",
|
|
1493
|
+
b"spmd_parameters_shardings",
|
|
1494
|
+
"stack_frame_index",
|
|
1495
|
+
b"stack_frame_index",
|
|
1496
|
+
"use_auto_spmd_partitioning",
|
|
1497
|
+
b"use_auto_spmd_partitioning",
|
|
1498
|
+
],
|
|
1499
|
+
) -> None: ...
|
|
1500
|
+
|
|
1501
|
+
global___HloModuleProto = HloModuleProto
|
|
1502
|
+
|
|
1503
|
+
@typing.final
|
|
1504
|
+
class LogicalBufferProto(google.protobuf.message.Message):
|
|
1505
|
+
"""Serialization of LogicalBuffer."""
|
|
1506
|
+
|
|
1507
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1508
|
+
|
|
1509
|
+
@typing.final
|
|
1510
|
+
class Location(google.protobuf.message.Message):
|
|
1511
|
+
"""Location represents an instruction and its shape index, which uniquely
|
|
1512
|
+
identifies a point where a buffer is needed.
|
|
1513
|
+
"""
|
|
1514
|
+
|
|
1515
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1516
|
+
|
|
1517
|
+
INSTRUCTION_NAME_FIELD_NUMBER: builtins.int
|
|
1518
|
+
INSTRUCTION_ID_FIELD_NUMBER: builtins.int
|
|
1519
|
+
SHAPE_INDEX_FIELD_NUMBER: builtins.int
|
|
1520
|
+
instruction_name: builtins.str
|
|
1521
|
+
"""TODO(b/239098765): Remove instruction_name and computation_name."""
|
|
1522
|
+
instruction_id: builtins.int
|
|
1523
|
+
@property
|
|
1524
|
+
def shape_index(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
|
|
1525
|
+
def __init__(
|
|
1526
|
+
self,
|
|
1527
|
+
*,
|
|
1528
|
+
instruction_name: builtins.str | None = ...,
|
|
1529
|
+
instruction_id: builtins.int | None = ...,
|
|
1530
|
+
shape_index: collections.abc.Iterable[builtins.int] | None = ...,
|
|
1531
|
+
) -> None: ...
|
|
1532
|
+
def ClearField(
|
|
1533
|
+
self,
|
|
1534
|
+
field_name: typing.Literal[
|
|
1535
|
+
"instruction_id", b"instruction_id", "instruction_name", b"instruction_name", "shape_index", b"shape_index"
|
|
1536
|
+
],
|
|
1537
|
+
) -> None: ...
|
|
1538
|
+
|
|
1539
|
+
ID_FIELD_NUMBER: builtins.int
|
|
1540
|
+
SIZE_FIELD_NUMBER: builtins.int
|
|
1541
|
+
DEFINED_AT_FIELD_NUMBER: builtins.int
|
|
1542
|
+
COLOR_FIELD_NUMBER: builtins.int
|
|
1543
|
+
id: builtins.int
|
|
1544
|
+
size: builtins.int
|
|
1545
|
+
color: builtins.int
|
|
1546
|
+
@property
|
|
1547
|
+
def defined_at(self) -> global___LogicalBufferProto.Location:
|
|
1548
|
+
"""The location where the buffer is defined."""
|
|
1549
|
+
|
|
1550
|
+
def __init__(
|
|
1551
|
+
self,
|
|
1552
|
+
*,
|
|
1553
|
+
id: builtins.int | None = ...,
|
|
1554
|
+
size: builtins.int | None = ...,
|
|
1555
|
+
defined_at: global___LogicalBufferProto.Location | None = ...,
|
|
1556
|
+
color: builtins.int | None = ...,
|
|
1557
|
+
) -> None: ...
|
|
1558
|
+
def HasField(self, field_name: typing.Literal["defined_at", b"defined_at"]) -> builtins.bool: ...
|
|
1559
|
+
def ClearField(
|
|
1560
|
+
self, field_name: typing.Literal["color", b"color", "defined_at", b"defined_at", "id", b"id", "size", b"size"]
|
|
1561
|
+
) -> None: ...
|
|
1562
|
+
|
|
1563
|
+
global___LogicalBufferProto = LogicalBufferProto
|
|
1564
|
+
|
|
1565
|
+
@typing.final
|
|
1566
|
+
class BufferAllocationProto(google.protobuf.message.Message):
|
|
1567
|
+
"""Serialization of BufferAllocation."""
|
|
1568
|
+
|
|
1569
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1570
|
+
|
|
1571
|
+
@typing.final
|
|
1572
|
+
class Assigned(google.protobuf.message.Message):
|
|
1573
|
+
"""Assigned represents a single LogicalBuffer that is assigned to this
|
|
1574
|
+
BufferAllocation.
|
|
1575
|
+
"""
|
|
1576
|
+
|
|
1577
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1578
|
+
|
|
1579
|
+
LOGICAL_BUFFER_ID_FIELD_NUMBER: builtins.int
|
|
1580
|
+
OFFSET_FIELD_NUMBER: builtins.int
|
|
1581
|
+
SIZE_FIELD_NUMBER: builtins.int
|
|
1582
|
+
logical_buffer_id: builtins.int
|
|
1583
|
+
offset: builtins.int
|
|
1584
|
+
size: builtins.int
|
|
1585
|
+
def __init__(
|
|
1586
|
+
self,
|
|
1587
|
+
*,
|
|
1588
|
+
logical_buffer_id: builtins.int | None = ...,
|
|
1589
|
+
offset: builtins.int | None = ...,
|
|
1590
|
+
size: builtins.int | None = ...,
|
|
1591
|
+
) -> None: ...
|
|
1592
|
+
def ClearField(
|
|
1593
|
+
self, field_name: typing.Literal["logical_buffer_id", b"logical_buffer_id", "offset", b"offset", "size", b"size"]
|
|
1594
|
+
) -> None: ...
|
|
1595
|
+
|
|
1596
|
+
INDEX_FIELD_NUMBER: builtins.int
|
|
1597
|
+
SIZE_FIELD_NUMBER: builtins.int
|
|
1598
|
+
IS_THREAD_LOCAL_FIELD_NUMBER: builtins.int
|
|
1599
|
+
IS_TUPLE_FIELD_NUMBER: builtins.int
|
|
1600
|
+
IS_ENTRY_COMPUTATION_PARAMETER_FIELD_NUMBER: builtins.int
|
|
1601
|
+
IS_CONSTANT_FIELD_NUMBER: builtins.int
|
|
1602
|
+
PARAMETER_NUMBER_FIELD_NUMBER: builtins.int
|
|
1603
|
+
PARAMETER_SHAPE_INDEX_FIELD_NUMBER: builtins.int
|
|
1604
|
+
MAYBE_LIVE_OUT_FIELD_NUMBER: builtins.int
|
|
1605
|
+
COLOR_FIELD_NUMBER: builtins.int
|
|
1606
|
+
ASSIGNED_FIELD_NUMBER: builtins.int
|
|
1607
|
+
index: builtins.int
|
|
1608
|
+
size: builtins.int
|
|
1609
|
+
is_thread_local: builtins.bool
|
|
1610
|
+
is_tuple: builtins.bool
|
|
1611
|
+
is_entry_computation_parameter: builtins.bool
|
|
1612
|
+
is_constant: builtins.bool
|
|
1613
|
+
parameter_number: builtins.int
|
|
1614
|
+
maybe_live_out: builtins.bool
|
|
1615
|
+
color: builtins.int
|
|
1616
|
+
@property
|
|
1617
|
+
def parameter_shape_index(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]: ...
|
|
1618
|
+
@property
|
|
1619
|
+
def assigned(
|
|
1620
|
+
self,
|
|
1621
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BufferAllocationProto.Assigned]: ...
|
|
1622
|
+
def __init__(
|
|
1623
|
+
self,
|
|
1624
|
+
*,
|
|
1625
|
+
index: builtins.int | None = ...,
|
|
1626
|
+
size: builtins.int | None = ...,
|
|
1627
|
+
is_thread_local: builtins.bool | None = ...,
|
|
1628
|
+
is_tuple: builtins.bool | None = ...,
|
|
1629
|
+
is_entry_computation_parameter: builtins.bool | None = ...,
|
|
1630
|
+
is_constant: builtins.bool | None = ...,
|
|
1631
|
+
parameter_number: builtins.int | None = ...,
|
|
1632
|
+
parameter_shape_index: collections.abc.Iterable[builtins.int] | None = ...,
|
|
1633
|
+
maybe_live_out: builtins.bool | None = ...,
|
|
1634
|
+
color: builtins.int | None = ...,
|
|
1635
|
+
assigned: collections.abc.Iterable[global___BufferAllocationProto.Assigned] | None = ...,
|
|
1636
|
+
) -> None: ...
|
|
1637
|
+
def ClearField(
|
|
1638
|
+
self,
|
|
1639
|
+
field_name: typing.Literal[
|
|
1640
|
+
"assigned",
|
|
1641
|
+
b"assigned",
|
|
1642
|
+
"color",
|
|
1643
|
+
b"color",
|
|
1644
|
+
"index",
|
|
1645
|
+
b"index",
|
|
1646
|
+
"is_constant",
|
|
1647
|
+
b"is_constant",
|
|
1648
|
+
"is_entry_computation_parameter",
|
|
1649
|
+
b"is_entry_computation_parameter",
|
|
1650
|
+
"is_thread_local",
|
|
1651
|
+
b"is_thread_local",
|
|
1652
|
+
"is_tuple",
|
|
1653
|
+
b"is_tuple",
|
|
1654
|
+
"maybe_live_out",
|
|
1655
|
+
b"maybe_live_out",
|
|
1656
|
+
"parameter_number",
|
|
1657
|
+
b"parameter_number",
|
|
1658
|
+
"parameter_shape_index",
|
|
1659
|
+
b"parameter_shape_index",
|
|
1660
|
+
"size",
|
|
1661
|
+
b"size",
|
|
1662
|
+
],
|
|
1663
|
+
) -> None: ...
|
|
1664
|
+
|
|
1665
|
+
global___BufferAllocationProto = BufferAllocationProto
|
|
1666
|
+
|
|
1667
|
+
@typing.final
|
|
1668
|
+
class HeapSimulatorTrace(google.protobuf.message.Message):
|
|
1669
|
+
"""A trace of a HeapSimulator run."""
|
|
1670
|
+
|
|
1671
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1672
|
+
|
|
1673
|
+
@typing.final
|
|
1674
|
+
class Event(google.protobuf.message.Message):
|
|
1675
|
+
"""The trace includes a list of events, where each event describes one action
|
|
1676
|
+
performed by the heap simulator.
|
|
1677
|
+
"""
|
|
1678
|
+
|
|
1679
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1680
|
+
|
|
1681
|
+
class _Kind:
|
|
1682
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
1683
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
1684
|
+
|
|
1685
|
+
class _KindEnumTypeWrapper(
|
|
1686
|
+
google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[HeapSimulatorTrace.Event._Kind.ValueType], builtins.type
|
|
1687
|
+
):
|
|
1688
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
1689
|
+
ALLOC: HeapSimulatorTrace.Event._Kind.ValueType # 0
|
|
1690
|
+
"""A memory region was allocated for the buffer."""
|
|
1691
|
+
FREE: HeapSimulatorTrace.Event._Kind.ValueType # 1
|
|
1692
|
+
"""A memory region was freed for the buffer."""
|
|
1693
|
+
SHARE_WITH: HeapSimulatorTrace.Event._Kind.ValueType # 2
|
|
1694
|
+
"""A buffer was shared with another (canonical) buffer. This is similar to
|
|
1695
|
+
ALLOC, except that instead of allocating a new region of memory, the
|
|
1696
|
+
memory region of the canonical buffer is directly re-used. Multiple
|
|
1697
|
+
buffers may share with the same canonical buffer. The lifetime of the
|
|
1698
|
+
canonical buffer is extended to the union of all lifetimes.
|
|
1699
|
+
"""
|
|
1700
|
+
|
|
1701
|
+
class Kind(_Kind, metaclass=_KindEnumTypeWrapper): ...
|
|
1702
|
+
ALLOC: HeapSimulatorTrace.Event.Kind.ValueType # 0
|
|
1703
|
+
"""A memory region was allocated for the buffer."""
|
|
1704
|
+
FREE: HeapSimulatorTrace.Event.Kind.ValueType # 1
|
|
1705
|
+
"""A memory region was freed for the buffer."""
|
|
1706
|
+
SHARE_WITH: HeapSimulatorTrace.Event.Kind.ValueType # 2
|
|
1707
|
+
"""A buffer was shared with another (canonical) buffer. This is similar to
|
|
1708
|
+
ALLOC, except that instead of allocating a new region of memory, the
|
|
1709
|
+
memory region of the canonical buffer is directly re-used. Multiple
|
|
1710
|
+
buffers may share with the same canonical buffer. The lifetime of the
|
|
1711
|
+
canonical buffer is extended to the union of all lifetimes.
|
|
1712
|
+
"""
|
|
1713
|
+
|
|
1714
|
+
KIND_FIELD_NUMBER: builtins.int
|
|
1715
|
+
BUFFER_ID_FIELD_NUMBER: builtins.int
|
|
1716
|
+
COMPUTATION_NAME_FIELD_NUMBER: builtins.int
|
|
1717
|
+
INSTRUCTION_NAME_FIELD_NUMBER: builtins.int
|
|
1718
|
+
SHARE_WITH_CANONICAL_ID_FIELD_NUMBER: builtins.int
|
|
1719
|
+
kind: global___HeapSimulatorTrace.Event.Kind.ValueType
|
|
1720
|
+
buffer_id: builtins.int
|
|
1721
|
+
"""The id of the LogicalBuffer that the event applies to."""
|
|
1722
|
+
computation_name: builtins.str
|
|
1723
|
+
"""The HloInstruction that the simulation was processing that caused this
|
|
1724
|
+
event to occur, identified by its computation and instruction name. E.g.
|
|
1725
|
+
buffers defined by instruction A are allocated when processing A.
|
|
1726
|
+
"""
|
|
1727
|
+
instruction_name: builtins.str
|
|
1728
|
+
share_with_canonical_id: builtins.int
|
|
1729
|
+
"""The id of the canonical LogicalBuffer that the buffer shares with. Only
|
|
1730
|
+
set for SHARE_WITH events.
|
|
1731
|
+
"""
|
|
1732
|
+
def __init__(
|
|
1733
|
+
self,
|
|
1734
|
+
*,
|
|
1735
|
+
kind: global___HeapSimulatorTrace.Event.Kind.ValueType | None = ...,
|
|
1736
|
+
buffer_id: builtins.int | None = ...,
|
|
1737
|
+
computation_name: builtins.str | None = ...,
|
|
1738
|
+
instruction_name: builtins.str | None = ...,
|
|
1739
|
+
share_with_canonical_id: builtins.int | None = ...,
|
|
1740
|
+
) -> None: ...
|
|
1741
|
+
def ClearField(
|
|
1742
|
+
self,
|
|
1743
|
+
field_name: typing.Literal[
|
|
1744
|
+
"buffer_id",
|
|
1745
|
+
b"buffer_id",
|
|
1746
|
+
"computation_name",
|
|
1747
|
+
b"computation_name",
|
|
1748
|
+
"instruction_name",
|
|
1749
|
+
b"instruction_name",
|
|
1750
|
+
"kind",
|
|
1751
|
+
b"kind",
|
|
1752
|
+
"share_with_canonical_id",
|
|
1753
|
+
b"share_with_canonical_id",
|
|
1754
|
+
],
|
|
1755
|
+
) -> None: ...
|
|
1756
|
+
|
|
1757
|
+
EVENTS_FIELD_NUMBER: builtins.int
|
|
1758
|
+
WHOLE_MODULE_SIMULATION_FIELD_NUMBER: builtins.int
|
|
1759
|
+
BUFFER_ALLOCATION_INDEX_FIELD_NUMBER: builtins.int
|
|
1760
|
+
whole_module_simulation: builtins.bool
|
|
1761
|
+
buffer_allocation_index: builtins.int
|
|
1762
|
+
@property
|
|
1763
|
+
def events(
|
|
1764
|
+
self,
|
|
1765
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HeapSimulatorTrace.Event]: ...
|
|
1766
|
+
def __init__(
|
|
1767
|
+
self,
|
|
1768
|
+
*,
|
|
1769
|
+
events: collections.abc.Iterable[global___HeapSimulatorTrace.Event] | None = ...,
|
|
1770
|
+
whole_module_simulation: builtins.bool | None = ...,
|
|
1771
|
+
buffer_allocation_index: builtins.int | None = ...,
|
|
1772
|
+
) -> None: ...
|
|
1773
|
+
def ClearField(
|
|
1774
|
+
self,
|
|
1775
|
+
field_name: typing.Literal[
|
|
1776
|
+
"buffer_allocation_index",
|
|
1777
|
+
b"buffer_allocation_index",
|
|
1778
|
+
"events",
|
|
1779
|
+
b"events",
|
|
1780
|
+
"whole_module_simulation",
|
|
1781
|
+
b"whole_module_simulation",
|
|
1782
|
+
],
|
|
1783
|
+
) -> None: ...
|
|
1784
|
+
|
|
1785
|
+
global___HeapSimulatorTrace = HeapSimulatorTrace
|
|
1786
|
+
|
|
1787
|
+
@typing.final
|
|
1788
|
+
class HloModuleGroupProto(google.protobuf.message.Message):
|
|
1789
|
+
"""An abstraction representing a set of HLO module built to run concurrently
|
|
1790
|
+
across different devices.
|
|
1791
|
+
"""
|
|
1792
|
+
|
|
1793
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1794
|
+
|
|
1795
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
1796
|
+
HLO_MODULES_FIELD_NUMBER: builtins.int
|
|
1797
|
+
name: builtins.str
|
|
1798
|
+
@property
|
|
1799
|
+
def hlo_modules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HloModuleProto]: ...
|
|
1800
|
+
def __init__(
|
|
1801
|
+
self, *, name: builtins.str | None = ..., hlo_modules: collections.abc.Iterable[global___HloModuleProto] | None = ...
|
|
1802
|
+
) -> None: ...
|
|
1803
|
+
def ClearField(self, field_name: typing.Literal["hlo_modules", b"hlo_modules", "name", b"name"]) -> None: ...
|
|
1804
|
+
|
|
1805
|
+
global___HloModuleGroupProto = HloModuleGroupProto
|
|
1806
|
+
|
|
1807
|
+
@typing.final
|
|
1808
|
+
class BufferAssignmentProto(google.protobuf.message.Message):
|
|
1809
|
+
"""Serialization of BufferAssignment."""
|
|
1810
|
+
|
|
1811
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1812
|
+
|
|
1813
|
+
@typing.final
|
|
1814
|
+
class BufferAlias(google.protobuf.message.Message):
|
|
1815
|
+
"""Alias represents a source LogicalBuffer, and the buffer location that
|
|
1816
|
+
aliases it.
|
|
1817
|
+
"""
|
|
1818
|
+
|
|
1819
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1820
|
+
|
|
1821
|
+
SOURCE_BUFFER_ID_FIELD_NUMBER: builtins.int
|
|
1822
|
+
LOCATION_FIELD_NUMBER: builtins.int
|
|
1823
|
+
source_buffer_id: builtins.int
|
|
1824
|
+
@property
|
|
1825
|
+
def location(self) -> global___LogicalBufferProto.Location: ...
|
|
1826
|
+
def __init__(
|
|
1827
|
+
self, *, source_buffer_id: builtins.int | None = ..., location: global___LogicalBufferProto.Location | None = ...
|
|
1828
|
+
) -> None: ...
|
|
1829
|
+
def HasField(self, field_name: typing.Literal["location", b"location"]) -> builtins.bool: ...
|
|
1830
|
+
def ClearField(
|
|
1831
|
+
self, field_name: typing.Literal["location", b"location", "source_buffer_id", b"source_buffer_id"]
|
|
1832
|
+
) -> None: ...
|
|
1833
|
+
|
|
1834
|
+
LOGICAL_BUFFERS_FIELD_NUMBER: builtins.int
|
|
1835
|
+
BUFFER_ALIASES_FIELD_NUMBER: builtins.int
|
|
1836
|
+
BUFFER_ALLOCATIONS_FIELD_NUMBER: builtins.int
|
|
1837
|
+
HEAP_SIMULATOR_TRACES_FIELD_NUMBER: builtins.int
|
|
1838
|
+
@property
|
|
1839
|
+
def logical_buffers(
|
|
1840
|
+
self,
|
|
1841
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___LogicalBufferProto]: ...
|
|
1842
|
+
@property
|
|
1843
|
+
def buffer_aliases(
|
|
1844
|
+
self,
|
|
1845
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BufferAssignmentProto.BufferAlias]: ...
|
|
1846
|
+
@property
|
|
1847
|
+
def buffer_allocations(
|
|
1848
|
+
self,
|
|
1849
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___BufferAllocationProto]: ...
|
|
1850
|
+
@property
|
|
1851
|
+
def heap_simulator_traces(
|
|
1852
|
+
self,
|
|
1853
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HeapSimulatorTrace]: ...
|
|
1854
|
+
def __init__(
|
|
1855
|
+
self,
|
|
1856
|
+
*,
|
|
1857
|
+
logical_buffers: collections.abc.Iterable[global___LogicalBufferProto] | None = ...,
|
|
1858
|
+
buffer_aliases: collections.abc.Iterable[global___BufferAssignmentProto.BufferAlias] | None = ...,
|
|
1859
|
+
buffer_allocations: collections.abc.Iterable[global___BufferAllocationProto] | None = ...,
|
|
1860
|
+
heap_simulator_traces: collections.abc.Iterable[global___HeapSimulatorTrace] | None = ...,
|
|
1861
|
+
) -> None: ...
|
|
1862
|
+
def ClearField(
|
|
1863
|
+
self,
|
|
1864
|
+
field_name: typing.Literal[
|
|
1865
|
+
"buffer_aliases",
|
|
1866
|
+
b"buffer_aliases",
|
|
1867
|
+
"buffer_allocations",
|
|
1868
|
+
b"buffer_allocations",
|
|
1869
|
+
"heap_simulator_traces",
|
|
1870
|
+
b"heap_simulator_traces",
|
|
1871
|
+
"logical_buffers",
|
|
1872
|
+
b"logical_buffers",
|
|
1873
|
+
],
|
|
1874
|
+
) -> None: ...
|
|
1875
|
+
|
|
1876
|
+
global___BufferAssignmentProto = BufferAssignmentProto
|
|
1877
|
+
|
|
1878
|
+
@typing.final
|
|
1879
|
+
class HloProto(google.protobuf.message.Message):
|
|
1880
|
+
"""Grouping message that contains all of the information above."""
|
|
1881
|
+
|
|
1882
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1883
|
+
|
|
1884
|
+
HLO_MODULE_FIELD_NUMBER: builtins.int
|
|
1885
|
+
BUFFER_ASSIGNMENT_FIELD_NUMBER: builtins.int
|
|
1886
|
+
@property
|
|
1887
|
+
def hlo_module(self) -> global___HloModuleProto: ...
|
|
1888
|
+
@property
|
|
1889
|
+
def buffer_assignment(self) -> global___BufferAssignmentProto: ...
|
|
1890
|
+
def __init__(
|
|
1891
|
+
self, *, hlo_module: global___HloModuleProto | None = ..., buffer_assignment: global___BufferAssignmentProto | None = ...
|
|
1892
|
+
) -> None: ...
|
|
1893
|
+
def HasField(
|
|
1894
|
+
self, field_name: typing.Literal["buffer_assignment", b"buffer_assignment", "hlo_module", b"hlo_module"]
|
|
1895
|
+
) -> builtins.bool: ...
|
|
1896
|
+
def ClearField(
|
|
1897
|
+
self, field_name: typing.Literal["buffer_assignment", b"buffer_assignment", "hlo_module", b"hlo_module"]
|
|
1898
|
+
) -> None: ...
|
|
1899
|
+
|
|
1900
|
+
global___HloProto = HloProto
|
|
1901
|
+
|
|
1902
|
+
@typing.final
|
|
1903
|
+
class HloSnapshot(google.protobuf.message.Message):
|
|
1904
|
+
"""Encapsulates HloProto together with the arguments, result, and
|
|
1905
|
+
execution_platform. This message is used for purposes such as
|
|
1906
|
+
analysis/replay/file-storage.
|
|
1907
|
+
"""
|
|
1908
|
+
|
|
1909
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1910
|
+
|
|
1911
|
+
HLO_FIELD_NUMBER: builtins.int
|
|
1912
|
+
ARGUMENTS_FIELD_NUMBER: builtins.int
|
|
1913
|
+
RESULT_FIELD_NUMBER: builtins.int
|
|
1914
|
+
EXECUTION_PLATFORM_FIELD_NUMBER: builtins.int
|
|
1915
|
+
execution_platform: builtins.str
|
|
1916
|
+
"""The name of the platform used to run the graph."""
|
|
1917
|
+
@property
|
|
1918
|
+
def hlo(self) -> global___HloProto:
|
|
1919
|
+
"""The hlo graph."""
|
|
1920
|
+
|
|
1921
|
+
@property
|
|
1922
|
+
def arguments(
|
|
1923
|
+
self,
|
|
1924
|
+
) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[tensorflow.compiler.xla.xla_data_pb2.LiteralProto]:
|
|
1925
|
+
"""The arguments passed to the graph."""
|
|
1926
|
+
|
|
1927
|
+
@property
|
|
1928
|
+
def result(self) -> tensorflow.compiler.xla.xla_data_pb2.LiteralProto:
|
|
1929
|
+
"""The result of the graph."""
|
|
1930
|
+
|
|
1931
|
+
def __init__(
|
|
1932
|
+
self,
|
|
1933
|
+
*,
|
|
1934
|
+
hlo: global___HloProto | None = ...,
|
|
1935
|
+
arguments: collections.abc.Iterable[tensorflow.compiler.xla.xla_data_pb2.LiteralProto] | None = ...,
|
|
1936
|
+
result: tensorflow.compiler.xla.xla_data_pb2.LiteralProto | None = ...,
|
|
1937
|
+
execution_platform: builtins.str | None = ...,
|
|
1938
|
+
) -> None: ...
|
|
1939
|
+
def HasField(self, field_name: typing.Literal["hlo", b"hlo", "result", b"result"]) -> builtins.bool: ...
|
|
1940
|
+
def ClearField(
|
|
1941
|
+
self,
|
|
1942
|
+
field_name: typing.Literal[
|
|
1943
|
+
"arguments", b"arguments", "execution_platform", b"execution_platform", "hlo", b"hlo", "result", b"result"
|
|
1944
|
+
],
|
|
1945
|
+
) -> None: ...
|
|
1946
|
+
|
|
1947
|
+
global___HloSnapshot = HloSnapshot
|
|
1948
|
+
|
|
1949
|
+
@typing.final
|
|
1950
|
+
class HloModuleMetadataProto(google.protobuf.message.Message):
|
|
1951
|
+
"""Metadata for an HLO module. Dumped after HLO passes and before LLO lowering
|
|
1952
|
+
with filename module_####.metadata.textproto, where #### is
|
|
1953
|
+
canonical_module_id.
|
|
1954
|
+
"""
|
|
1955
|
+
|
|
1956
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
1957
|
+
|
|
1958
|
+
CANONICAL_MODULE_ID_FIELD_NUMBER: builtins.int
|
|
1959
|
+
MODULE_GROUP_NAME_FIELD_NUMBER: builtins.int
|
|
1960
|
+
ORIGINAL_MODULE_ID_FIELD_NUMBER: builtins.int
|
|
1961
|
+
PARTITIONED_MODULE_IDS_FIELD_NUMBER: builtins.int
|
|
1962
|
+
PASS_METADATA_FIELD_NUMBER: builtins.int
|
|
1963
|
+
canonical_module_id: builtins.int
|
|
1964
|
+
"""Uniquely identifies an HloModuleMetadata. Equal to the first unique_id
|
|
1965
|
+
of the module (a module may go through multiple unique_ids). If a module
|
|
1966
|
+
is partitioned into multiple modules, those modules will each have a new
|
|
1967
|
+
HloModuleMetadata with a different canonical_module_id.
|
|
1968
|
+
"""
|
|
1969
|
+
module_group_name: builtins.str
|
|
1970
|
+
"""Name of the module group that the module is part of."""
|
|
1971
|
+
original_module_id: builtins.int
|
|
1972
|
+
"""The canonical module id of the module that this one is partitioned from,
|
|
1973
|
+
if applicable.
|
|
1974
|
+
"""
|
|
1975
|
+
@property
|
|
1976
|
+
def partitioned_module_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
1977
|
+
"""The canonical module ids of the modules that this one is partitioned into,
|
|
1978
|
+
if applicable.
|
|
1979
|
+
"""
|
|
1980
|
+
|
|
1981
|
+
@property
|
|
1982
|
+
def pass_metadata(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___HloPassMetadata]:
|
|
1983
|
+
"""Metadata for the HLO passes that are run on the module."""
|
|
1984
|
+
|
|
1985
|
+
def __init__(
|
|
1986
|
+
self,
|
|
1987
|
+
*,
|
|
1988
|
+
canonical_module_id: builtins.int | None = ...,
|
|
1989
|
+
module_group_name: builtins.str | None = ...,
|
|
1990
|
+
original_module_id: builtins.int | None = ...,
|
|
1991
|
+
partitioned_module_ids: collections.abc.Iterable[builtins.int] | None = ...,
|
|
1992
|
+
pass_metadata: collections.abc.Iterable[global___HloPassMetadata] | None = ...,
|
|
1993
|
+
) -> None: ...
|
|
1994
|
+
def ClearField(
|
|
1995
|
+
self,
|
|
1996
|
+
field_name: typing.Literal[
|
|
1997
|
+
"canonical_module_id",
|
|
1998
|
+
b"canonical_module_id",
|
|
1999
|
+
"module_group_name",
|
|
2000
|
+
b"module_group_name",
|
|
2001
|
+
"original_module_id",
|
|
2002
|
+
b"original_module_id",
|
|
2003
|
+
"partitioned_module_ids",
|
|
2004
|
+
b"partitioned_module_ids",
|
|
2005
|
+
"pass_metadata",
|
|
2006
|
+
b"pass_metadata",
|
|
2007
|
+
],
|
|
2008
|
+
) -> None: ...
|
|
2009
|
+
|
|
2010
|
+
global___HloModuleMetadataProto = HloModuleMetadataProto
|
|
2011
|
+
|
|
2012
|
+
@typing.final
|
|
2013
|
+
class HloPassMetadata(google.protobuf.message.Message):
|
|
2014
|
+
"""Metadata for one run of an HLO pass on a module. Provides more information
|
|
2015
|
+
when processing debug dumps of HloProtos about the order of HLO passes and
|
|
2016
|
+
various other stats like duration. `pass_id` may also be used to identify a
|
|
2017
|
+
particular run of a pass in debug info that propagates through stages of
|
|
2018
|
+
compilation.
|
|
2019
|
+
"""
|
|
2020
|
+
|
|
2021
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
2022
|
+
|
|
2023
|
+
PASS_ID_FIELD_NUMBER: builtins.int
|
|
2024
|
+
PASS_NAME_FIELD_NUMBER: builtins.int
|
|
2025
|
+
PIPELINE_NAME_FIELD_NUMBER: builtins.int
|
|
2026
|
+
DUMP_FILENAMES_FIELD_NUMBER: builtins.int
|
|
2027
|
+
MODULE_CHANGED_FIELD_NUMBER: builtins.int
|
|
2028
|
+
MODULE_ID_FIELD_NUMBER: builtins.int
|
|
2029
|
+
MODULE_GROUP_MODULE_IDS_FIELD_NUMBER: builtins.int
|
|
2030
|
+
START_TIMESTAMP_USEC_FIELD_NUMBER: builtins.int
|
|
2031
|
+
END_TIMESTAMP_USEC_FIELD_NUMBER: builtins.int
|
|
2032
|
+
CUSTOM_METADATA_FIELD_NUMBER: builtins.int
|
|
2033
|
+
pass_id: builtins.int
|
|
2034
|
+
"""For a given module, pass_id uniquely identifies a run of an HLO pass on
|
|
2035
|
+
that module. Note that a pass_id may not always refer to the same pass
|
|
2036
|
+
because the order of passes during compilation may change. For finding
|
|
2037
|
+
metadata for a particular pass, pass_name and pipeline_name would be more
|
|
2038
|
+
reliable, although note that they may not be unique.
|
|
2039
|
+
"""
|
|
2040
|
+
pass_name: builtins.str
|
|
2041
|
+
pipeline_name: builtins.str
|
|
2042
|
+
module_changed: builtins.bool
|
|
2043
|
+
"""Return value of pass.Run(). True if this pass changed the module, or, in
|
|
2044
|
+
the case where the module was run through this pass as part of a module
|
|
2045
|
+
group, true if this pass changed any module in the same module group.
|
|
2046
|
+
"""
|
|
2047
|
+
module_id: builtins.int
|
|
2048
|
+
"""The unique_id of the module that this pass is run on. May be different from
|
|
2049
|
+
the canonical_module_id of the HloModuleMetadata that this HloPassMetadata
|
|
2050
|
+
is inside.
|
|
2051
|
+
"""
|
|
2052
|
+
start_timestamp_usec: builtins.int
|
|
2053
|
+
"""Timestamp before and after the pass is run. Note they may be equal."""
|
|
2054
|
+
end_timestamp_usec: builtins.int
|
|
2055
|
+
@property
|
|
2056
|
+
def dump_filenames(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
2057
|
+
"""Filenames of the dumps of the module after this pass ran. Module may be
|
|
2058
|
+
dumped in multiple formats, and the order of formats in this field will
|
|
2059
|
+
stay consistent across passes.
|
|
2060
|
+
"""
|
|
2061
|
+
|
|
2062
|
+
@property
|
|
2063
|
+
def module_group_module_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.int]:
|
|
2064
|
+
"""If the module went through this pass as part of a module group, this is
|
|
2065
|
+
set as the ids of all the modules in the module group. Empty otherwise.
|
|
2066
|
+
"""
|
|
2067
|
+
|
|
2068
|
+
@property
|
|
2069
|
+
def custom_metadata(self) -> google.protobuf.any_pb2.Any:
|
|
2070
|
+
"""Custom metadata for the pass."""
|
|
2071
|
+
|
|
2072
|
+
def __init__(
|
|
2073
|
+
self,
|
|
2074
|
+
*,
|
|
2075
|
+
pass_id: builtins.int | None = ...,
|
|
2076
|
+
pass_name: builtins.str | None = ...,
|
|
2077
|
+
pipeline_name: builtins.str | None = ...,
|
|
2078
|
+
dump_filenames: collections.abc.Iterable[builtins.str] | None = ...,
|
|
2079
|
+
module_changed: builtins.bool | None = ...,
|
|
2080
|
+
module_id: builtins.int | None = ...,
|
|
2081
|
+
module_group_module_ids: collections.abc.Iterable[builtins.int] | None = ...,
|
|
2082
|
+
start_timestamp_usec: builtins.int | None = ...,
|
|
2083
|
+
end_timestamp_usec: builtins.int | None = ...,
|
|
2084
|
+
custom_metadata: google.protobuf.any_pb2.Any | None = ...,
|
|
2085
|
+
) -> None: ...
|
|
2086
|
+
def HasField(self, field_name: typing.Literal["custom_metadata", b"custom_metadata"]) -> builtins.bool: ...
|
|
2087
|
+
def ClearField(
|
|
2088
|
+
self,
|
|
2089
|
+
field_name: typing.Literal[
|
|
2090
|
+
"custom_metadata",
|
|
2091
|
+
b"custom_metadata",
|
|
2092
|
+
"dump_filenames",
|
|
2093
|
+
b"dump_filenames",
|
|
2094
|
+
"end_timestamp_usec",
|
|
2095
|
+
b"end_timestamp_usec",
|
|
2096
|
+
"module_changed",
|
|
2097
|
+
b"module_changed",
|
|
2098
|
+
"module_group_module_ids",
|
|
2099
|
+
b"module_group_module_ids",
|
|
2100
|
+
"module_id",
|
|
2101
|
+
b"module_id",
|
|
2102
|
+
"pass_id",
|
|
2103
|
+
b"pass_id",
|
|
2104
|
+
"pass_name",
|
|
2105
|
+
b"pass_name",
|
|
2106
|
+
"pipeline_name",
|
|
2107
|
+
b"pipeline_name",
|
|
2108
|
+
"start_timestamp_usec",
|
|
2109
|
+
b"start_timestamp_usec",
|
|
2110
|
+
],
|
|
2111
|
+
) -> None: ...
|
|
2112
|
+
|
|
2113
|
+
global___HloPassMetadata = HloPassMetadata
|