sima.hostο
@package sima.host
SiMa.Aiβs host python interfaces for working with PCIe capable devices
Attributesο
Classesο
Module Contentsο
- class sima.host.SiMaErrorCodeο
- SUCCESS = 0ο
- FAILURE = 1ο
- INVALID_INPUT = 2ο
- OVERFLOW = 3ο
- RETRY = 4ο
- sima.host.error_code_to_infer_stateο
- class sima.host.intf(dev_name, device_queue, device_timeout)ο
- dev_nameο
- device_queueο
- device_timeoutο
- host_helper = Noneο
- dev_ptr = Noneο
- guids = []ο
- model_ref = Noneο
- meta_data = []ο
- connect(guid, queue_entries=0, queue_depth=0)ο
- load_model(device, in_shape_list, out_shape_list, metadata, model_path=None, model_hdl: dict = None)ο
- run_inference(model, in_data: numpy.ndarray | bytes, do_async=False, callback_f=None)ο
- unload_model(model)ο
- disconnect(device)ο
- device_disconnect(device)ο
- reset(device)ο
- reset_queue(device)ο
- open_device(device)ο
- print_guids()ο