pretrained_model_tensor

edgeimpulse_api v1.0.0

edgeimpulse_api.models.pretrained_model_tensor module

class edgeimpulse_api.models.pretrained_model_tensor.PretrainedModelTensor(*, dataType: StrictStr, name: StrictStr, shape: List[StrictInt], quantizationScale: Optional[float] = None, quantizationZeroPoint: Optional[float] = None)

Bases: BaseModel

class Config()

Bases: object

allow_population_by_field_name(_ = Tru_ )

validate_assignment(_ = Tru_ )

data_type(: StrictSt )

classmethod data_type_validate_enum(v)

classmethod from_dict(obj: dict)

Create an instance of PretrainedModelTensor from a dict

classmethod from_json(json_str: str)

Create an instance of PretrainedModelTensor from a JSON string

name(: StrictSt )

quantization_scale(: Optional[float )

quantization_zero_point(: Optional[float )

shape(: List[StrictInt )

to_dict()

Returns the dictionary representation of the model using alias

to_json()

Returns the JSON representation of the model using alias

to_str()

Returns the string representation of the model using alias

Last updated

Was this helpful?