class_docstr: Provides ways to export symbols to the TensorFlow API.
class_docstr_tok: ["Provides","ways","to","export","symbols","to","the","TensorFlow","API","."]
code: def set_attr(
      self, func: Any, api_names_attr: str, names: Sequence[str]
  ) -> None:
      setattr(func, api_names_attr, names)
  
imports: from collections.abc import Sequence
  import functools
  import sys
  from typing import Any, NamedTuple, Optional, Protocol, TypeVar
  from tensorflow.python.util import tf_decorator
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 4 for calling the api_export obj's underlying member method code with example usage: obj.set_attr(func, api_names_attr, names) without return types