TIOPixelNormalization

struct TIOPixelNormalization {}

Describes how pixel values in the range of [0,255] will be normalized for non-quantized, float32 models.

Pixels will typically normalized to values in the range [0,1] or [-1,+1], although separate biases may be applied to each of the RGB channels.

Pixel normalization is like quantization but in the opposite direction.

  • Undocumented

    Declaration

    Objective-C

    float scale

    Swift

    var scale: Float
  • Undocumented

    Declaration

    Objective-C

    float redBias

    Swift

    var redBias: Float
  • Undocumented

    Declaration

    Objective-C

    float greenBias

    Swift

    var greenBias: Float
  • Undocumented

    Declaration

    Objective-C

    float blueBias

    Swift

    var blueBias: Float