Skip to main content

Python function

current_realization_context

current_realization_context()

max.experimental.tensor.current_realization_context()

source

Return a value for the context variable for the current context.

If there is no value for the variable in the current context, the method will:
* return the value of the default argument of the method, if provided; or
  • return the default value for the context variable, if it was created with one; or
  • raise a LookupError.