l2_normalize property

  1. @Bool()
bool l2_normalize
getter/setter pair

Whether to normalize the returned feature vector with L2 norm. Use this option only if the model does not already contain a native L2_NORMALIZATION TF Lite Op. In most cases, this is already the case and L2 norm is thus achieved through TF Lite inference.

Implementation

@ffi.Bool()
external bool l2_normalize;