In practice, isn't running global_variables_initializer
enough to initialize model variables?
local_variables_initializer
seems to be unnecessary and absent even in official and semi-official tensorflow example code. See for example:
In both cases only global_variables_initializer
is used.
Am I missing something here? Is there any case where I should call local_variables_initializer
explicitly?