Module: common_types
RetryParams
Bases: BaseModel
Source code in src/infernet_ml/utils/common_types.py
model_config = ConfigDict(arbitrary_types_allowed=True)
class-attribute
instance-attribute
Model for retry parameters
TensorInput
Bases: BaseModel
Represents a tensor input to an ONNX model.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
dtype |
|
required | |
shape |
Tuple[int, ...]: Shape of the tensor |
required | |
values |
|
required |