dsp_metadata_output_config_shape module#

class edgeimpulse_api.models.dsp_metadata_output_config_shape.DSPMetadataOutputConfigShape(
*,
width: StrictInt,
height: StrictInt | None = None,
channels: StrictInt | None = None,
frames: StrictInt | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
channels: StrictInt | None#
frames: StrictInt | None#
classmethod from_dict(
obj: dict,
) DSPMetadataOutputConfigShape[source]#

Create an instance of DSPMetadataOutputConfigShape from a dict

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

Create an instance of DSPMetadataOutputConfigShape from a JSON string

height: StrictInt | None#
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

width: StrictInt#