module TensorflowLite::Utilities::ExtractLabels
Defined in:
tensorflow_lite/utilities/extract_labels.crConstant Summary
-
MAGIC_ZIP =
Bytes[80, 75, 3, 4]
-
File type detection https://github.com/sindresorhus/file-type/blob/main/core.js https://en.wikipedia.org/wiki/ZIP_(file_format)
Class Method Summary
-
.from(input : Path | Bytes, metadata_file : String = ".txt") : Array(String) | Nil
extracts the label names from tensorflow lite model at the path specified
Class Method Detail
def self.from(input : Path | Bytes, metadata_file : String = ".txt") : Array(String) | Nil
#
extracts the label names from tensorflow lite model at the path specified