third_party/tflite_support/src/tensorflow_lite_support/metadata/python/metadata.py
def _assert_metadata_buffer_identifier(metadata_buf):
  """Checks if a metadata buffer has the expected Metadata schema identifier."""
  if not _metadata_fb.ModelMetadata.ModelMetadataBufferHasIdentifier(
      metadata_buf, 0):
    raise ValueError(
        "The metadata buffer does not have the expected identifier, and may not"
        " be a valid TFLite Metadata.")
Checks if a metadata buffer has the expected Metadata schema identifier.
Checks if a metadata buffer has the expected Metadata schema identifier.
Checks if a metadata buffer has the expected Metadata schema identifier .
def _assert_metadata_buffer_identifier(metadata_buf):
  if not _metadata_fb.ModelMetadata.ModelMetadataBufferHasIdentifier(
      metadata_buf, 0):
    raise ValueError(
        "The metadata buffer does not have the expected identifier, and may not"
        " be a valid TFLite Metadata.")
def _assert_metadata_buffer_identifier ( metadata_buf ) : if not _metadata_fb . ModelMetadata . ModelMetadataBufferHasIdentifier ( metadata_buf , 0 ) : raise ValueError ( "The metadata buffer does not have the expected identifier, and may not" " be a valid TFLite Metadata." )
Checks if a metadata buffer has the expected Metadata schema identifier.
Checks if a metadata buffer has the expected Metadata schema identifier .
"""Checks if a metadata buffer has the expected Metadata schema identifier."""
metadata_buf