parameters: (self)
docstring: Returns the value of SyncOnReadVariable based on surrounding context.
  
      If called under a non-default replica-context, returns the corresponding
      variable on that replica.
      If called under default replica-context or cross-replica context, returns
      the synced value.
docstring_summary: Returns the value of SyncOnReadVariable based on surrounding context.
docstring_tokens: Returns the value of SyncOnReadVariable based on surrounding context .
function: def _get(self):
      """Returns the value of SyncOnReadVariable based on surrounding context.
  
      If called under a non-default replica-context, returns the corresponding
      variable on that replica.
      If called under default replica-context or cross-replica context, returns
      the synced value.
      """
      with ds_context.enter_or_assert_strategy(self._distribute_strategy):
        return super(SyncOnReadVariable, self)._get()
function_tokens: def _get ( self ) : with ds_context . enter_or_assert_strategy ( self . _distribute_strategy ) : return super ( SyncOnReadVariable , self ) . _get ( )