transfer_learning_model

edgeimpulse_api v1.0.0

edgeimpulse_api.models.transfer_learning_model module

class edgeimpulse_api.models.transfer_learning_model.TransferLearningModel(*, name: StrictStr, shortName: StrictStr, description: StrictStr, hasNeurons: StrictBool, hasDropout: StrictBool, defaultNeurons: Optional[StrictInt] = None, defaultDropout: Optional[float] = None, defaultLearningRate: Optional[float] = None, defaultTrainingCycles: Optional[float] = None, hasImageAugmentation: Optional[StrictBool] = None, type: KerasVisualLayerType, learnBlockType: Optional[LearnBlockType] = None, organizationModelId: Optional[StrictInt] = None, implementationVersion: Optional[StrictInt] = None, repositoryUrl: Optional[StrictStr] = None, author: StrictStr, blockType: StrictStr)

Bases: BaseModel

class Config()

Bases: object

allow_population_by_field_name(_ = Tru_ )

validate_assignment(_ = Tru_ )

author(: StrictSt )

block_type(: StrictSt )

classmethod block_type_validate_enum(v)

default_dropout(: Optional[float )

default_learning_rate(: Optional[float )

default_neurons(: Optional[StrictInt )

default_training_cycles(: Optional[float )

description(: StrictSt )

classmethod from_dict(obj: dict)

Create an instance of TransferLearningModel from a dict

classmethod from_json(json_str: str)

Create an instance of TransferLearningModel from a JSON string

has_dropout(: StrictBoo )

has_image_augmentation(: Optional[StrictBool )

has_neurons(: StrictBoo )

implementation_version(: Optional[StrictInt )

learn_block_type(: Optional[LearnBlockType )

name(: StrictSt )

organization_model_id(: Optional[StrictInt )

repository_url(: Optional[StrictStr )

short_name(: StrictSt )

to_dict()

Returns the dictionary representation of the model using alias

to_json()

Returns the JSON representation of the model using alias

to_str()

Returns the string representation of the model using alias

Last updated

Was this helpful?