View source on GitHub
|
A expression that evaluates to a provided scalar literal value.
Inherits From: JaxExpression, Expression, Pattern
oryx.experimental.matching.jax_rewrite.Literal(
value: Any
)
Attributes | |
|---|---|
value
|
a scalar literal value |
dtype
|
|
shape
|
|
Methods
evaluate
evaluate(
env: oryx.experimental.matching.jax_rewrite.Bindings
) -> Any
match
match(
expr: Expr,
bindings: oryx.experimental.matching.jax_rewrite.Bindings,
succeed: oryx.experimental.matching.jax_rewrite.Continuation
) -> oryx.experimental.matching.jax_rewrite.Success
tree_children
tree_children()
tree_map
tree_map(
_
)
__eq__
__eq__(
other
)
Return self==value.
View source on GitHub