parameters: (self)
return_statement: return self._moving_average_variables
docstring: Get all variables that are batch norm moving averages.
docstring_summary: Get all variables that are batch norm moving averages.
docstring_tokens: Get all variables that are batch norm moving averages .
function: def moving_average_variables(self):
      """Get all variables that are batch norm moving averages."""
  
      def _is_moving_avg(v):
        n = v.name
        return n.endswith("moving_mean:0") or n.endswith("moving_variance:0")
  
      if not self._moving_average_variables:
        self._moving_average_variables = filter(_is_moving_avg, self.variables)
  
      return self._moving_average_variables
function_tokens: def moving_average_variables ( self ) : def _is_moving_avg ( v ) : n = v . name return n . endswith ( "moving_mean:0" ) or n . endswith ( "moving_variance:0" ) if not self . _moving_average_variables : self . _moving_average_variables = filter ( _is_moving_avg , self . variables ) return self . _moving_average_variables