다음을 통해 공유


InferenceInput.Params.ModelType Property

Definition

The type of the pre-trained model.

public virtual int ModelType { [Android.Runtime.Register("getModelType", "()I", "GetGetModelTypeHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("getModelType", "()I", "GetGetModelTypeHandler", ApiSince=35)>]
member this.ModelType : int

Property Value

Attributes

Remarks

The type of the pre-trained model. If not set, the default value is #MODEL_TYPE_TENSORFLOW_LITE . Only supports #MODEL_TYPE_TENSORFLOW_LITE for now.

Java documentation for android.adservices.ondevicepersonalization.InferenceInput.Params.getModelType().

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