module documentation
Undocumented
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Class | |
Undocumented |
| Function | bucket |
Undocumented |
| Function | bucket |
Undocumented |
| Function | bucket |
Undocumented |
| Function | bucket |
Undocumented |
| Function | bucket |
Undocumented |
| Function | bucket |
Undocumented |
| Function | bucket |
Undocumented |
| Function | bucket |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | build |
Undocumented |
| Function | capture |
Undocumented |
| Function | capture |
Undocumented |
| Function | capture |
Undocumented |
| Function | capture |
Undocumented |
| Function | command |
Undocumented |
| Function | command |
Undocumented |
| Function | config |
Undocumented |
| Function | conversion |
Undocumented |
| Function | current |
Undocumented |
| Function | failure |
Undocumented |
| Function | file |
Undocumented |
| Function | get |
Undocumented |
| Function | get |
Undocumented |
| Function | identifier |
Undocumented |
| Function | instrument |
Undocumented |
| Function | invocation |
Undocumented |
| Function | pop |
Undocumented |
| Function | quantization |
Undocumented |
| Function | record |
Undocumented |
| Function | reset |
Undocumented |
| Function | sort |
Undocumented |
| Function | telemetry |
Undocumented |
| Function | visibility |
Undocumented |
| Function | visibility |
Undocumented |
| Constant | CLIENT |
Undocumented |
| Constant | COMMAND |
Undocumented |
| Constant | CONVERSION |
Undocumented |
| Constant | CONVERSION |
Undocumented |
| Constant | CONVERSION |
Undocumented |
| Constant | HUBAI |
Undocumented |
| Constant | INSTANCE |
Undocumented |
| Constant | INSTANCE |
Undocumented |
| Constant | INSTANCE |
Undocumented |
| Constant | INSTANCE |
Undocumented |
| Constant | INSTANCE |
Undocumented |
| Constant | INSTANCE |
Undocumented |
| Constant | INSTANCE |
Undocumented |
| Constant | INSTANCES |
Undocumented |
| Constant | MODEL |
Undocumented |
| Constant | MODEL |
Undocumented |
| Constant | MODEL |
Undocumented |
| Constant | MODEL |
Undocumented |
| Constant | MODELS |
Undocumented |
| Constant | OPERATION |
Undocumented |
| Constant | VARIANT |
Undocumented |
| Constant | VARIANT |
Undocumented |
| Constant | VARIANT |
Undocumented |
| Constant | VARIANTS |
Undocumented |
| Function | _bind |
Undocumented |
| Function | _capture |
Undocumented |
| Function | _capture |
Undocumented |
| Function | _drop |
Undocumented |
| Function | _emit |
Undocumented |
| Function | _failure |
Undocumented |
| Function | _is |
Undocumented |
| Function | _iter |
Undocumented |
| Function | _primary |
Undocumented |
| Function | _sdk |
Undocumented |
| Function | _wrap |
Undocumented |
| Function | _wrap |
Undocumented |
| Constant | _CLI |
Undocumented |
| Constant | _CONVERSION |
Undocumented |
def build_command_properties(*, command_name:
CommandName, command_group: TelemetryGroup, result: TelemetryResult, duration_ms: int, failure_reason: FailureReason | None = None) -> dict[ str, Any]:
¶
Undocumented
def build_conversion_flow_properties(conversion_run_id:
str, flow_step: ConversionFlowStep, properties: dict[ str, Any]) -> dict[ str, Any]:
¶
Undocumented
def build_conversion_result_properties(*, result:
TelemetryResult, duration_ms: int, failure_reason: FailureReason | None = None, downloaded_file_count: int | None = None) -> dict[ str, Any]:
¶
Undocumented
def build_conversion_summary(*, target:
str, config_source: ConfigSource, input_model_type: ModelType, invocation_surface: InvocationSurface, existing_model_reused: bool, existing_variant_reused: bool, quantization_mode: str | None, quantization_input_type: QuantizationInputType, max_quantization_images: int | None, yolo_version: str | None, yolo_class_names: list[ str] | None, yolo_input_shape_provided: bool, tool_version_provided: bool, input_shape_provided: bool, download_output_dir_provided: bool, input_count: int, target_options: Mapping[ str, Any]) -> dict[ str, Any]:
¶
Undocumented
def build_instance_downloaded_properties(arguments:
dict[ str, Any], result: Path) -> dict[ str, Any]:
¶
Undocumented
def build_instance_files_listed_properties(arguments:
dict[ str, Any], result: list[ Any]) -> dict[ str, Any]:
¶
Undocumented
def build_instance_uploaded_properties(arguments:
dict[ str, Any], _result: Any) -> dict[ str, Any]:
¶
Undocumented
def build_instances_listed_properties(arguments:
dict[ str, Any], result: list[ Any]) -> dict[ str, Any]:
¶
Undocumented
def build_models_listed_properties(arguments:
dict[ str, Any], result: list[ Any]) -> dict[ str, Any]:
¶
Undocumented
def build_variants_listed_properties(arguments:
dict[ str, Any], result: list[ Any]) -> dict[ str, Any]:
¶
Undocumented
def capture_operation_result(*, spec:
OperationTelemetrySpec, exc: BaseException | None, duration_ms: int, bound_arguments: dict[ str, Any] | None = None):
¶
Undocumented
def conversion_failure_reason(exc:
BaseException | None, *, phase: ConversionPhase) -> FailureReason | None:
¶
Undocumented
def quantization_input_type(quantization_data:
str | None, *, custom_zip: bool = False) -> QuantizationInputType:
¶
Undocumented
def telemetry_operation(spec:
OperationTelemetrySpec) -> Callable[ [ Callable[ ..., Any]], Callable[ ..., Any]]:
¶
Undocumented
HUBAI_SDK_TELEMETRY_DEFAULTS =
¶
Undocumented
| Value |
|
def _bind_arguments(signature:
inspect.Signature, args: tuple[ Any, ...], kwargs: dict[ str, Any]) -> dict[ str, Any]:
¶
Undocumented
def _capture_operation_result(telemetry:
Telemetry, *, spec: OperationTelemetrySpec, bound_arguments: dict[ str, Any], exc: BaseException | None, duration_ms: int):
¶
Undocumented
def _capture_success_event(telemetry:
Telemetry, *, spec: OperationTelemetrySpec, bound_arguments: dict[ str, Any], result: Any):
¶
Undocumented
def _emit_command_event(*, command_name:
CommandName, command_group: TelemetryGroup, exc: BaseException | None, duration_ms: int):
¶
Undocumented
def _wrap_command_callback(func:
Callable[ ..., Any], *, command_name: CommandName, command_group: TelemetryGroup) -> Callable[ ..., Any]:
¶
Undocumented