dsp_info module#

class edgeimpulse_api.models.dsp_info.DSPInfo(
*,
id: StrictInt,
name: StrictStr,
windowLength: StrictInt,
type: StrictStr,
classes: List[StrictStr],
features: DSPInfoFeatures,
expectedWindowCount: StrictInt,
inputAxes: List[StrictStr],
performance: DSPInfoPerformance | None = None,
canCalculateFeatureImportance: StrictBool,
calculateFeatureImportance: StrictBool,
hasAutoTune: StrictBool | None = None,
minimumVersionForAutotune: float | None = None,
hasAutotunerResults: StrictBool | None = None,
usesState: StrictBool | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
calculate_feature_importance: StrictBool#
can_calculate_feature_importance: StrictBool#
classes: List[StrictStr]#
expected_window_count: StrictInt#
features: DSPInfoFeatures#
classmethod from_dict(obj: dict) DSPInfo[source]#

Create an instance of DSPInfo from a dict

classmethod from_json(json_str: str) DSPInfo[source]#

Create an instance of DSPInfo from a JSON string

has_auto_tune: StrictBool | None#
has_autotuner_results: StrictBool | None#
id: StrictInt#
input_axes: List[StrictStr]#
minimum_version_for_autotune: float | None#
name: StrictStr#
performance: DSPInfoPerformance | 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

type: StrictStr#
uses_state: StrictBool | None#
window_length: StrictInt#