Skip to main content
Remove extra commentary
Source Link
Stephen Rauch
  • 1.8k
  • 11
  • 22
  • 34

I was struggling with this too. It turns out thereThere are functions in the Estimator class that handle this, namely: get_variable_names and get_variable_value. 

I guess they want to avoid polluting the global scope. Note that you can pass a name parameter to your layers on creation to disambiguate them.

I was struggling with this too. It turns out there are functions in the Estimator class that handle this, namely: get_variable_names and get_variable_value. I guess they want to avoid polluting the global scope. Note that you can pass a name parameter to your layers on creation to disambiguate them.

There are functions in the Estimator class that handle this, namely: get_variable_names and get_variable_value. 

I guess they want to avoid polluting the global scope. Note that you can pass a name parameter to your layers on creation to disambiguate them.

Source Link

I was struggling with this too. It turns out there are functions in the Estimator class that handle this, namely: get_variable_names and get_variable_value. I guess they want to avoid polluting the global scope. Note that you can pass a name parameter to your layers on creation to disambiguate them.