update_organization_transfer_learning_block_request module#

class edgeimpulse_api.models.update_organization_transfer_learning_block_request.UpdateOrganizationTransferLearningBlockRequest(
*,
name: StrictStr | None = None,
dockerContainer: StrictStr | None = None,
description: StrictStr | None = None,
operatesOn: OrganizationTransferLearningOperatesOn | None = None,
objectDetectionLastLayer: ObjectDetectionLastLayer | None = None,
implementationVersion: StrictInt | None = None,
isPublic: StrictBool | None = None,
isPublicForDevices: List[StrictStr] | None = None,
isPublicEnterpriseOnly: StrictBool | None = None,
repositoryUrl: StrictStr | None = None,
parameters: List[Dict[str, Any]] | None = None,
imageInputScaling: ImageInputScaling | None = None,
indRequiresGpu: StrictBool | None = None,
displayCategory: BlockDisplayCategory | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
description: StrictStr | None#
display_category: BlockDisplayCategory | None#
docker_container: StrictStr | None#
classmethod from_dict(
obj: dict,
) UpdateOrganizationTransferLearningBlockRequest[source]#

Create an instance of UpdateOrganizationTransferLearningBlockRequest from a dict

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

Create an instance of UpdateOrganizationTransferLearningBlockRequest from a JSON string

image_input_scaling: ImageInputScaling | None#
implementation_version: StrictInt | None#
ind_requires_gpu: StrictBool | None#
is_public: StrictBool | None#
is_public_enterprise_only: StrictBool | None#
is_public_for_devices: List[StrictStr] | None#
name: StrictStr | None#
object_detection_last_layer: ObjectDetectionLastLayer | None#
operates_on: OrganizationTransferLearningOperatesOn | None#
parameters: List[Dict[str, Any]] | None#
repository_url: StrictStr | 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