EmbeddingVector(Single[], String) Constructor

Definition

Creates a new EmbeddingVector.

[Android.Runtime.Register(".ctor", "([FLjava/lang/String;)V", "", ApiSince=36)]
public EmbeddingVector(float[] values, string modelSignature);
[<Android.Runtime.Register(".ctor", "([FLjava/lang/String;)V", "", ApiSince=36)>]
new Android.App.AppSearch.EmbeddingVector : single[] * string -> Android.App.AppSearch.EmbeddingVector

Parameters

values
Single[]

The float values of the embedding vector. This value cannot be null.

modelSignature
String

An arbitrary string used to distinguish between embedding vectors generated by different models. This value cannot be null.

Attributes

Remarks

Creates a new EmbeddingVector.

Java documentation for android.app.appsearch.EmbeddingVector.EmbeddingVector(float[], java.lang.String).

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