l2Normalize property

  1. @override
bool l2Normalize
final

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.

See also:

Implementation

@override
final bool l2Normalize;