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< ? tags, Input<String> >TfLiteModel> ? tfliteModel}) -
Creates a new ModelArgs.
displayNameThe 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.nameThe resource name of the Model. Model names have the formprojects/{project_id}/models/{model_id}The name is ignored when creating a model.projectOptional.stateState common to all model types. Includes publishing and validation information.tagsUser defined tags which can be used to group/filter models during listingtfliteModelA TFLite Modelconst -
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
-
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