dsp_info module

DSPInfo

class edgeimpulse_api.models.dsp_info.DSPInfo(
		**data: Any
)

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

Parameters

  • **data: Any

Bases

  • pydantic.main.BaseModel

  • pydantic.utils.Representation

Class variables

  • Config

  • calculate_feature_importance: pydantic.types.StrictBool

  • can_calculate_feature_importance: pydantic.types.StrictBool

  • classes: List[pydantic.types.StrictStr]

  • expected_window_count: pydantic.types.StrictInt

  • features: edgeimpulse_api.models.dsp_info_features.DSPInfoFeatures

  • has_auto_tune: Optional[pydantic.types.StrictBool]

  • has_autotuner_results: Optional[pydantic.types.StrictBool]

  • id: pydantic.types.StrictInt

  • input_axes: List[pydantic.types.StrictStr]

  • minimum_version_for_autotune: Optional[float]

  • name: pydantic.types.StrictStr

  • performance: Optional[edgeimpulse_api.models.dsp_info_performance.DSPInfoPerformance]

  • type: pydantic.types.StrictStr

  • uses_state: Optional[pydantic.types.StrictBool]

  • window_length: pydantic.types.StrictInt

Static methods

from_dict

edgeimpulse_api.models.dsp_info.from_dict(
		obj: dict
)> edgeimpulse_api.models.dsp_info.DSPInfo

Create an instance of DSPInfo from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.dsp_info.DSPInfo

from_json

edgeimpulse_api.models.dsp_info.from_json(
		json_str: str
)> edgeimpulse_api.models.dsp_info.DSPInfo

Create an instance of DSPInfo from a JSON string

Parameters

  • json_str: str

Return

edgeimpulse_api.models.dsp_info.DSPInfo

Methods

to_dict

edgeimpulse_api.models.dsp_info.to_dict(
		self
)

Returns the dictionary representation of the model using alias

Parameters

  • self

to_json

edgeimpulse_api.models.dsp_info.to_json(
		self
)> str