afe.devkit.devkit_context_manager

This file is used to store SetupConnection class used for acquiring a connection to the DevKit.

Classes

SetupConnection

Provides the context in which the user can connect to the DevKit

Module Contents

class afe.devkit.devkit_context_manager.SetupConnection(port: int, username: str, devkit: str, password: str, max_attempts: int, elf_file_path: str, elf_folder_path: str, zmq_port: int)[source]

Provides the context in which the user can connect to the DevKit

Usage example:
with SetupConnection(…):

…

pipeline: devkit_inference_models.apis.pipeline.Pipeline | None = None[source]
get_accel_pipeline() devkit_inference_models.apis.pipeline.Pipeline[source]