neural_compressor.ux.components.model.shape

Data shape class.

Module Contents

Classes

Shape

Data shape definition.

class neural_compressor.ux.components.model.shape.Shape(shape: str | None = '', trusted: bool = False)

Bases: neural_compressor.ux.utils.json_serializer.JsonSerializer

Data shape definition.

serialize(serialization_type: str = 'default') Dict[str, Any] | List[Dict[str, Any]]

Serialize Shape class to dict.