Module: tfp.experimental.auto_batching.frontend.gast_util
Stay organized with collections
Save and categorize content based on your preferences.
Gast compatibility library. Supports 0.2.2 and 0.3.2.
Functions
Module(...)
: partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.
Name(...)
: partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.
Str(...)
: partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.
is_constant(...)
is_ellipsis(...)
is_literal(...)
: Tests whether node represents a Python literal.
Other Members |
GAST2
|
False
|
GAST3
|
True
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-11-21 UTC.
[null,null,["Last updated 2023-11-21 UTC."],[],[],null,["# Module: tfp.experimental.auto_batching.frontend.gast_util\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/probability/blob/v0.23.0/tensorflow_probability/python/experimental/auto_batching/gast_util.py) |\n\nGast compatibility library. Supports 0.2.2 and 0.3.2.\n\nFunctions\n---------\n\n[`Module(...)`](../../../../tfp/experimental/auto_batching/frontend/gast_util/Module): partial(func, \\*args, \\*\\*keywords) - new function with partial application of the given arguments and keywords.\n\n[`Name(...)`](../../../../tfp/experimental/auto_batching/frontend/gast_util/Name): partial(func, \\*args, \\*\\*keywords) - new function with partial application of the given arguments and keywords.\n\n[`Str(...)`](../../../../tfp/experimental/auto_batching/frontend/gast_util/Str): partial(func, \\*args, \\*\\*keywords) - new function with partial application of the given arguments and keywords.\n\n[`is_constant(...)`](../../../../tfp/experimental/auto_batching/frontend/gast_util/is_constant)\n\n[`is_ellipsis(...)`](../../../../tfp/experimental/auto_batching/frontend/gast_util/is_ellipsis)\n\n[`is_literal(...)`](../../../../tfp/experimental/auto_batching/frontend/gast_util/is_literal): Tests whether node represents a Python literal.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Other Members ------------- ||\n|-------|---------|\n| GAST2 | `False` |\n| GAST3 | `True` |\n\n\u003cbr /\u003e"]]