class_docstr: An internal class to help manage the TF_Buffer lifetime.
class_docstr_tok: ["An","internal","class","to","help","manage","the","TF_Buffer","lifetime","."]
code: def __init__(self, buf_string):
      self.buffer = c_api.TF_NewBufferFromString(
          compat.as_bytes(buf_string)
      )
  
imports: import contextlib
  from tensorflow.core.framework import api_def_pb2
  from tensorflow.core.framework import op_def_pb2
  from tensorflow.python.client import pywrap_tf_session
  from tensorflow.python.util import compat
  from tensorflow.python.util import tf_contextlib
label_desc: Use image node_id 1 to create a new ScopedTFBuffer object from inherited base classes: object with example: obj = ScopedTFBuffer(buf_string)