keras_model_metadata_all_of module#

class edgeimpulse_api.models.keras_model_metadata_all_of.KerasModelMetadataAllOf(
*,
created: datetime,
layers: List[KerasModelLayer],
classNames: List[StrictStr],
labels: List[StrictStr],
availableModelTypes: List[KerasModelTypeEnum],
recommendedModelType: KerasModelTypeEnum,
modelValidationMetrics: List[KerasModelMetadataMetrics],
hasTrainedModel: StrictBool,
mode: StrictStr,
objectDetectionLastLayer: ObjectDetectionLastLayer | None = None,
imageInputScaling: ImageInputScaling,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
available_model_types: List[KerasModelTypeEnum]#
class_names: List[StrictStr]#
created: datetime#
classmethod from_dict(
obj: dict,
) KerasModelMetadataAllOf[source]#

Create an instance of KerasModelMetadataAllOf from a dict

classmethod from_json(
json_str: str,
) KerasModelMetadataAllOf[source]#

Create an instance of KerasModelMetadataAllOf from a JSON string

has_trained_model: StrictBool#
image_input_scaling: ImageInputScaling#
labels: List[StrictStr]#
layers: List[KerasModelLayer]#
mode: StrictStr#
classmethod mode_validate_enum(v)[source]#
model_validation_metrics: List[KerasModelMetadataMetrics]#
object_detection_last_layer: ObjectDetectionLastLayer | None#
recommended_model_type: KerasModelTypeEnum#
to_dict()[source]#

Returns the dictionary representation of the model using alias

to_json() str[source]#

Returns the JSON representation of the model using alias

to_str() str[source]#

Returns the string representation of the model using alias