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
custom_model_variants: List[edgeimpulse_api.models.organization_transfer_learning_block_custom_variant.OrganizationTransferLearningBlockCustomVariant] | None
description: pydantic.types.StrictStr
display_category: edgeimpulse_api.models.block_display_category.BlockDisplayCategory | None
docker_container: pydantic.types.StrictStr
image_input_scaling: edgeimpulse_api.models.image_input_scaling.ImageInputScaling | None
implementation_version: pydantic.types.StrictInt
ind_requires_gpu: pydantic.types.StrictBool | None
is_public: pydantic.types.StrictBool | None
is_public_for_devices: List[pydantic.types.StrictStr] | None
name: pydantic.types.StrictStr
object_detection_last_layer: edgeimpulse_api.models.object_detection_last_layer.ObjectDetectionLastLayer | None
operates_on: edgeimpulse_api.models.organization_transfer_learning_operates_on.OrganizationTransferLearningOperatesOn
parameters: List[Dict[str, Any]] | None
public_project_tier_availability: edgeimpulse_api.models.public_project_tier_availability.PublicProjectTierAvailability | None
repository_url: pydantic.types.StrictStr | None
Create an instance of AddOrganizationTransferLearningBlockRequest from a dict
Parameters
obj: dict
Return
edgeimpulse_api.models.add_organization_transfer_learning_block_request.AddOrganizationTransferLearningBlockRequest
Create an instance of AddOrganizationTransferLearningBlockRequest from a JSON string
Parameters
json_str: str
Return
edgeimpulse_api.models.add_organization_transfer_learning_block_request.AddOrganizationTransferLearningBlockRequest
Returns the dictionary representation of the model using alias
Parameters
self
Returns the JSON representation of the model using alias
Parameters
self
indent=None
Return
str
Returns the string representation of the model using alias
Parameters
self
Return
str