organization_transfer_learning_block module#

class edgeimpulse_api.models.organization_transfer_learning_block.OrganizationTransferLearningBlock(
*,
id: StrictInt,
name: StrictStr,
dockerContainer: StrictStr,
dockerContainerManagedByEdgeImpulse: StrictBool,
created: datetime,
createdByUser: CreatedUpdatedByUser | None = None,
lastUpdated: datetime | None = None,
lastUpdatedByUser: CreatedUpdatedByUser | None = None,
description: StrictStr,
userId: StrictInt | None = None,
userName: StrictStr | None = None,
operatesOn: OrganizationTransferLearningOperatesOn,
objectDetectionLastLayer: ObjectDetectionLastLayer | None = None,
implementationVersion: StrictInt,
isPublic: StrictBool,
isPublicForDevices: List[StrictStr],
isPublicEnterpriseOnly: StrictBool,
enterpriseOnly: StrictBool | None = None,
repositoryUrl: StrictStr | None = None,
parameters: List[Dict[str, Any]],
imageInputScaling: ImageInputScaling | None = None,
indRequiresGpu: StrictBool,
sourceCodeAvailable: StrictBool,
displayCategory: BlockDisplayCategory | None = None,
)[source]#

Bases: BaseModel

class Config[source]#

Bases: object

allow_population_by_field_name = True#
validate_assignment = False#
created: datetime#
created_by_user: CreatedUpdatedByUser | None#
description: StrictStr#
display_category: BlockDisplayCategory | None#
docker_container: StrictStr#
docker_container_managed_by_edge_impulse: StrictBool#
enterprise_only: StrictBool | None#
classmethod from_dict(
obj: dict,
) OrganizationTransferLearningBlock[source]#

Create an instance of OrganizationTransferLearningBlock from a dict

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

Create an instance of OrganizationTransferLearningBlock from a JSON string

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

user_id: StrictInt | None#
user_name: StrictStr | None#