keras_visual_layer module#

class edgeimpulse_api.models.keras_visual_layer.KerasVisualLayer(
*,
type: KerasVisualLayerType,
neurons: StrictInt | None = None,
kernelSize: StrictInt | None = None,
dropoutRate: float | None = None,
columns: StrictInt | None = None,
stack: StrictInt | None = None,
enabled: StrictBool | None = None,
organizationModelId: StrictInt | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
columns: StrictInt | None#
dropout_rate: float | None#
enabled: StrictBool | None#
classmethod from_dict(
obj: dict,
) KerasVisualLayer[source]#

Create an instance of KerasVisualLayer from a dict

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

Create an instance of KerasVisualLayer from a JSON string

kernel_size: StrictInt | None#
neurons: StrictInt | None#
organization_model_id: StrictInt | None#
stack: 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

type: KerasVisualLayerType#