rlgraph / rlgraph

RLgraph: Modular computation graphs for deep reinforcement learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Core] Rename Component._variables() into Component.variables()

sven1977 opened this issue · comments

There is no reason, this should be a private API method. Causes PEP-8 warnings everywhere.

The Component.API-method "_variables()" has been renamed to "variables()". The equally named property Component.variables (dict with the backend-specific var objects) has been renamed "variable_registry". This is only used privately by the Component class itself.
An error has been added whenever the old "_variables()" API is used.