third_party/tflite_support/src/tensorflow_lite_support/metadata/python/metadata.py
def with_model_buffer(cls, model_buf):
    """Creates a MetadataPopulator object that populates data to a model buffer.

    Args:
      model_buf: TensorFlow Lite model buffer in bytearray.

    Returns:
      A MetadataPopulator(_MetadataPopulatorWithBuffer) object.

    Raises:
      ValueError: the model does not have the expected flatbuffer identifer.
    """
    return _MetadataPopulatorWithBuffer(model_buf)
Creates a MetadataPopulator object that populates data to a model buffer.

    Args:
      model_buf: TensorFlow Lite model buffer in bytearray.

    Returns:
      A MetadataPopulator(_MetadataPopulatorWithBuffer) object.

    Raises:
      ValueError: the model does not have the expected flatbuffer identifer.
    
Creates a MetadataPopulator object that populates data to a model buffer.
Creates a MetadataPopulator object that populates data to a model buffer .
def with_model_buffer(cls, model_buf):
    return _MetadataPopulatorWithBuffer(model_buf)
def with_model_buffer ( cls , model_buf ) : return _MetadataPopulatorWithBuffer ( model_buf )
Creates a MetadataPopulator object that populates data to a model buffer.
Creates a MetadataPopulator object that populates data to a model buffer .
"""Creates a MetadataPopulator object that populates data to a model buffer.

    Args:
      model_buf: TensorFlow Lite model buffer in bytearray.

    Returns:
      A MetadataPopulator(_MetadataPopulatorWithBuffer) object.

    Raises:
      ValueError: the model does not have the expected flatbuffer identifer.
    """
A MetadataPopulator(_MetadataPopulatorWithBuffer) object.
A MetadataPopulator ( _MetadataPopulatorWithBuffer ) object .
the model does not have the expected flatbuffer identifer.
the model does not have the expected flatbuffer identifer .
ValueError
cls
model_buf
TensorFlow Lite model buffer in bytearray.
TensorFlow Lite model buffer in bytearray .