ModelArgs class

The set of arguments for Model. The set of arguments for Model.

Constructors

ModelArgs({required Input<String> displayName, Input<String>? name, Input<String>? project, Input<ModelState>? state, Input<List<String>>? tags, Input<TfLiteModel>? tfliteModel})
Creates a new ModelArgs. displayName The name of the model to create. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores(_) and ASCII digits 0-9. It must start with a letter. name The resource name of the Model. Model names have the form projects/{project_id}/models/{model_id} The name is ignored when creating a model. project Optional. state State common to all model types. Includes publishing and validation information. tags User defined tags which can be used to group/filter models during listing tfliteModel A TFLite Model
const
ModelArgs.fromMap(Map<String, dynamic> map)
factory

Properties

displayName → Input<String>
The name of the model to create. The name can be up to 32 characters long and can consist only of ASCII Latin letters A-Z and a-z, underscores(_) and ASCII digits 0-9. It must start with a letter.
final
hashCode → int
The hash code for this object.
no setterinherited
name → Input<String>?
The resource name of the Model. Model names have the form projects/{project_id}/models/{model_id} The name is ignored when creating a model.
final
project → Input<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → Input<ModelState>?
State common to all model types. Includes publishing and validation information.
final
tags → Input<List<String>>?
User defined tags which can be used to group/filter models during listing
final
tfliteModel → Input<TfLiteModel>?
A TFLite Model
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited