augmentation_policy_spectrogram module#

class edgeimpulse_api.models.augmentation_policy_spectrogram.AugmentationPolicySpectrogram(
*,
enabled: StrictBool,
warping: StrictBool | None = None,
freqMasking: StrictStr | None = None,
timeMasking: StrictStr | None = None,
gaussianNoise: StrictStr | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
enabled: StrictBool#
freq_masking: StrictStr | None#
classmethod freq_masking_validate_enum(v)[source]#
classmethod from_dict(
obj: dict,
) AugmentationPolicySpectrogram[source]#

Create an instance of AugmentationPolicySpectrogram from a dict

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

Create an instance of AugmentationPolicySpectrogram from a JSON string

gaussian_noise: StrictStr | None#
classmethod gaussian_noise_validate_enum(v)[source]#
time_masking: StrictStr | None#
classmethod time_masking_validate_enum(v)[source]#
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

warping: StrictBool | None#