| control_py_env | R Documentation |
Interface to control variables in a Python environment possibly used by Infusion. Currently the only implemented control is that of the torch random seed.
control_py_env(py_handle, seed = NULL)
py_handle |
An R environment that provides access to a Python evaluation environment,
as produced by |
seed |
Numeric: passed (as integer value) to |
Returns NULL invisibly.
get_py_MAF_handle
# See help("get_py_MAF_handle") for basic usage
# The following test of the first argument may be useful in broader contexts:
## Not run:
if (inherits(py_handle,"environment")) control_py_env(py_handle, seed=0L)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.