add_organization_transfer_learning_block_request module

AddOrganizationTransferLearningBlockRequest

class edgeimpulse_api.models.add_organization_transfer_learning_block_request.AddOrganizationTransferLearningBlockRequest(
		**data: Any
)

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: Optional[List[edgeimpulse_api.models.organization_transfer_learning_block_custom_variant.OrganizationTransferLearningBlockCustomVariant]]

  • description: pydantic.types.StrictStr

  • display_category: Optional[edgeimpulse_api.models.block_display_category.BlockDisplayCategory]

  • docker_container: pydantic.types.StrictStr

  • image_input_scaling: Optional[edgeimpulse_api.models.image_input_scaling.ImageInputScaling]

  • implementation_version: pydantic.types.StrictInt

  • ind_requires_gpu: Optional[pydantic.types.StrictBool]

  • is_public: Optional[pydantic.types.StrictBool]

  • is_public_for_devices: Optional[List[pydantic.types.StrictStr]]

  • name: pydantic.types.StrictStr

  • object_detection_last_layer: Optional[edgeimpulse_api.models.object_detection_last_layer.ObjectDetectionLastLayer]

  • operates_on: edgeimpulse_api.models.organization_transfer_learning_operates_on.OrganizationTransferLearningOperatesOn

  • parameters: Optional[List[Dict[str, Any]]]

  • public_project_tier_availability: Optional[edgeimpulse_api.models.public_project_tier_availability.PublicProjectTierAvailability]

  • repository_url: Optional[pydantic.types.StrictStr]

Static methods

from_dict

edgeimpulse_api.models.add_organization_transfer_learning_block_request.from_dict(
		obj: dict
) ‑> edgeimpulse_api.models.add_organization_transfer_learning_block_request.AddOrganizationTransferLearningBlockRequest

Create an instance of AddOrganizationTransferLearningBlockRequest from a dict

Parameters

  • obj: dict

Return

edgeimpulse_api.models.add_organization_transfer_learning_block_request.AddOrganizationTransferLearningBlockRequest

from_json

edgeimpulse_api.models.add_organization_transfer_learning_block_request.from_json(
		json_str: str
) ‑> 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

Methods

to_dict

edgeimpulse_api.models.add_organization_transfer_learning_block_request.to_dict(
		self
)

Returns the dictionary representation of the model using alias

Parameters

  • self

to_json

edgeimpulse_api.models.add_organization_transfer_learning_block_request.to_json(
		self,
		indent=None
)> str

Returns the JSON representation of the model using alias

Parameters

  • self

  • indent=None

Return

str

to_str

edgeimpulse_api.models.add_organization_transfer_learning_block_request.to_str(
		self
)> str

Returns the string representation of the model using alias

Parameters

  • self

Return

str

Last updated