parameters: (self, replica_local_var)
return_statement: return array_ops.identity(replica_local_var.get())
docstring: Read the aggregate value of a replica-local variable.
docstring_summary: Read the aggregate value of a replica-local variable.
docstring_tokens: Read the aggregate value of a replica - local variable .
function: def read_var(self, replica_local_var):
      """Read the aggregate value of a replica-local variable."""
      if isinstance(replica_local_var, values.SyncOnReadVariable):
        return replica_local_var._get_cross_replica()  # pylint: disable=protected-access
      assert isinstance(replica_local_var, values.Mirrored)
      return array_ops.identity(replica_local_var.get())
function_tokens: def read_var ( self , replica_local_var ) : if isinstance ( replica_local_var , values . SyncOnReadVariable ) : return replica_local_var . _get_cross_replica ( ) # pylint: disable=protected-access assert isinstance ( replica_local_var , values . Mirrored ) return array_ops . identity ( replica_local_var . get ( ) )