keras_custom_metric module#

class edgeimpulse_api.models.keras_custom_metric.KerasCustomMetric(
*,
name: StrictStr,
value: StrictStr,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
classmethod from_dict(
obj: dict,
) KerasCustomMetric[source]#

Create an instance of KerasCustomMetric from a dict

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

Create an instance of KerasCustomMetric from a JSON string

name: StrictStr#
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

value: StrictStr#