oryx.experimental.matching.jax_rewrite.evaluate
Evaluates expressions into JAX values.
oryx.experimental.matching.jax_rewrite.evaluate(
obj,
env: oryx.experimental.matching.jax_rewrite.Bindings
) -> Any
evaluate
is a single-dispatch function whose default implementation is to
raise a NotImplementedError
. To register evaluation functions for particular
types, use evaluate.register
.
Args |
obj
|
an object to evaluate.
|
env
|
a dictionary mapping string names to JAX values
|
Returns |
The JAX value that is the result of evaluating the object.
|
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 2024-05-23 UTC.
[null,null,["Last updated 2024-05-23 UTC."],[],[]]