parameters: (v, export_scope=None)
return_statement: return v.to_proto(export_scope=export_scope)
docstring: Converts Variable and ResourceVariable to VariableDef for collections.
docstring_summary: Converts Variable and ResourceVariable to VariableDef for collections.
docstring_tokens: Converts Variable and ResourceVariable to VariableDef for collections .
function: def _to_proto_fn(v, export_scope=None):
    """Converts Variable and ResourceVariable to VariableDef for collections."""
    return v.to_proto(export_scope=export_scope)
function_tokens: def _to_proto_fn ( v , export_scope = None ) : return v . to_proto ( export_scope = export_scope )