Packages

Gyx allows designing and training Reinforcement Learning tasks. It includes environment abstractions that allows interaction with Python based environments like OpenAI Gym.

Current section

Files

Jump to
gyx lib achis.ex
Raw

lib/achis.ex

defmodule Fun do
defstruct value: 0, function: nil
def curlystruct do
%__MODULE__{value: 42, function: &(&1 * 2)}
end
def evalstruct do
curlystruct()
end
end