parameters: (self, export_scope=None)
return_statement: return values_def
docstring: Converts the values to a `ValuesDef` protocol buffer.
  
      Args:
        export_scope: Optional `string`. Name scope to remove.
  
      Returns:
        A `ValuesDef` protocol buffer.
docstring_summary: Converts the values to a `ValuesDef` protocol buffer.
docstring_tokens: Converts the values to a ValuesDef protocol buffer .
function: def _to_proto(self, export_scope=None):
      """Converts the values to a `ValuesDef` protocol buffer.
  
      Args:
        export_scope: Optional `string`. Name scope to remove.
  
      Returns:
        A `ValuesDef` protocol buffer.
      """
      values_def = control_flow_pb2.ValuesDef()
      values_def.values.extend(
          [ops.strip_name_scope(v, export_scope)
           for v in sorted(self._values)])
      for k, v in self._external_values.items():
        k = ops.strip_name_scope(k, export_scope)
        values_def.external_values[k] = ops.strip_name_scope(
            v.name, export_scope)
      return values_def
function_tokens: def _to_proto ( self , export_scope = None ) : values_def = control_flow_pb2 . ValuesDef ( ) values_def . values . extend ( [ ops . strip_name_scope ( v , export_scope ) for v in sorted ( self . _values ) ] ) for k , v in self . _external_values . items ( ) : k = ops . strip_name_scope ( k , export_scope ) values_def . external_values [ k ] = ops . strip_name_scope ( v . name , export_scope ) return values_def