{
  "$schema": "https://ambiqai.github.io/helia-ui/schema/reference-model-1.json",
  "generatedFrom": {
    "sourceCommit": "cf2246a7ad439fa38d57462118e7840e5497a685",
    "tool": "pyref",
    "version": "1.7.3"
  },
  "language": "python",
  "modules": [
    {
      "description": "",
      "name": "defines",
      "path": "helia_aot.attributes.defines",
      "submodules": [],
      "summary": "",
      "symbols": [
        {
          "description": "This class defines a powerful and flexible way to customize the conversion process for specific entities in the model.\n\nMultiple attributes can be specified and allow slicing the model by entity type, entity identifier(s), or a specific combination of both.\n\nThe `type` field can be a specific entity type (e.g., CONV_2D) or * for all types.\nThe `id` field can be a specific entity identifier or a list of identifiers.\n\nSince multiple attributes can be applied to the same entity, precedence is given based on the pair:\n    1. (1, 1) if both type and id are specified and match\n    2. (1, 0) if type is specified and id is not\n    3. (0, 1) if id is specified and type is not\n    4. (0, 0) if neither is specified\n\nCurrently, if multiple attributes have the same precedence, the last one in the list will be used.",
          "examples": [],
          "id": "helia_aot.attributes.defines.AttributeRuleset",
          "kind": "class",
          "language": "python",
          "members": [
            {
              "description": "The entity type (e.g. CONV_2D or PERSISTENT) or * for all.",
              "examples": [],
              "id": "helia_aot.attributes.defines.AttributeRuleset.type",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "type",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "type: str = Field(default='*', description='Entity type (e.g. CONV_2D) or * for all')",
              "source": {
                "line": 31,
                "path": "helia_aot/attributes/defines.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/cf2246a7ad439fa38d57462118e7840e5497a685/helia_aot/attributes/defines.py#L31"
              },
              "summary": ""
            },
            {
              "description": "The entity identifier or list of identifiers.",
              "examples": [],
              "id": "helia_aot.attributes.defines.AttributeRuleset.id",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "id",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "id: str | list[str] | None = Field(default=None, description='Entity identifier(s)')",
              "source": {
                "line": 32,
                "path": "helia_aot/attributes/defines.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/cf2246a7ad439fa38d57462118e7840e5497a685/helia_aot/attributes/defines.py#L32"
              },
              "summary": ""
            },
            {
              "description": "A dictionary of entity attributes.",
              "examples": [],
              "id": "helia_aot.attributes.defines.AttributeRuleset.attributes",
              "kind": "attribute",
              "language": "python",
              "members": [],
              "name": "attributes",
              "params": [],
              "raises": [],
              "returns": [],
              "signature": "attributes: dict[str, BasicType] = Field(..., description='Entity attributes', default_factory=dict)",
              "source": {
                "line": 33,
                "path": "helia_aot/attributes/defines.py",
                "url": "https://github.com/AmbiqAI/helia-aot/blob/cf2246a7ad439fa38d57462118e7840e5497a685/helia_aot/attributes/defines.py#L33"
              },
              "summary": ""
            }
          ],
          "name": "AttributeRuleset",
          "params": [],
          "raises": [],
          "returns": [],
          "signature": "AttributeRuleset()",
          "source": {
            "line": 8,
            "path": "helia_aot/attributes/defines.py",
            "url": "https://github.com/AmbiqAI/helia-aot/blob/cf2246a7ad439fa38d57462118e7840e5497a685/helia_aot/attributes/defines.py#L8"
          },
          "summary": "This class defines a powerful and flexible way to customize the conversion process for specific entities in the model."
        }
      ]
    }
  ],
  "name": "helia_aot"
}
