Language

AppSearchSchema.EmbeddingPropertyConfig.QuantizationType Property

Definition

Returns how the embedding contents of this property should be quantized.

public int QuantizationType { [Android.Runtime.Register("getQuantizationType", "()I", "", ApiSince=36)] get; }
[<get: Android.Runtime.Register("getQuantizationType", "()I", "", ApiSince=36)>]
member this.QuantizationType : int

Property Value

Value is one of the following: QUANTIZATION_TYPE_NONE QUANTIZATION_TYPE_8_BIT

Attributes

Remarks

Returns how the embedding contents of this property should be quantized.

If the property isn't indexed, returns #QUANTIZATION_TYPE_NONE.

Java documentation for android.app.appsearch.AppSearchSchema.EmbeddingPropertyConfig.getQuantizationType().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to