@protocol TIOLayerDescription <NSObject>

Describes an input or output layer. Used internally by a model when parsing its description.

A layer description encapsulates information about an input or output tensor that is needed to prepare obj-c data and copy bytes into and out of it. For example, a vector layer description for an input tensor describes any transformations the submitted data must undergo before the underlying bytes are copied to the tensor, e.g. quantization and normalization, as well as the shape of the expected input, which determines how many bytes are copied into the tensor.

  • YES if this data is quantized (bytes of type uint8_t), NO if not (bytes of type float_t)



    @property (readonly, getter=isQuantized, atomic) BOOL quantized;


    var isQuantized: Bool { get }