|
| 1 | +# Copyright 2026 Arm Limited and/or its affiliates. |
| 2 | +# |
| 3 | +# This source code is licensed under the BSD-style license found in the |
| 4 | +# LICENSE file in the root directory of this source tree. |
| 5 | +# |
| 6 | +# This file is generated by |
| 7 | +# backends/arm/scripts/generate_public_api_manifest.py |
| 8 | + |
| 9 | +[python] |
| 10 | + |
| 11 | +[python.EthosUBackend] |
| 12 | +kind = "class" |
| 13 | +signature = "EthosUBackend()" |
| 14 | + |
| 15 | +[python.EthosUBackend.preprocess] |
| 16 | +kind = "function" |
| 17 | +signature = "EthosUBackend.preprocess(edge_program: torch.export.exported_program.ExportedProgram, compile_specs: List[executorch.exir.backend.compile_spec_schema.CompileSpec]) -> executorch.exir.backend.backend_details.PreprocessResult" |
| 18 | + |
| 19 | +[python.EthosUCompileSpec] |
| 20 | +kind = "class" |
| 21 | +signature = "EthosUCompileSpec(target: str, system_config: str | None = None, memory_mode: str | None = None, extra_flags: list[str] | None = None, config_ini: str | None = 'Arm/vela.ini')" |
| 22 | + |
| 23 | +[python.EthosUCompileSpec.DebugMode] |
| 24 | +kind = "enum" |
| 25 | +signature = "EthosUCompileSpec.DebugMode(value, names=None, *, module=None, qualname=None, type=None, start=1)" |
| 26 | + |
| 27 | +[python.EthosUCompileSpec.__eq__] |
| 28 | +kind = "function" |
| 29 | +signature = "EthosUCompileSpec.__eq__(self, other)" |
| 30 | + |
| 31 | +[python.EthosUCompileSpec.__repr__] |
| 32 | +kind = "function" |
| 33 | +signature = "EthosUCompileSpec.__repr__(self)" |
| 34 | + |
| 35 | +[python.EthosUCompileSpec.dump_debug_info] |
| 36 | +kind = "function" |
| 37 | +signature = "EthosUCompileSpec.dump_debug_info(self, debug_mode: executorch.backends.arm.common.arm_compile_spec.ArmCompileSpec.DebugMode | None)" |
| 38 | + |
| 39 | +[python.EthosUCompileSpec.dump_intermediate_artifacts_to] |
| 40 | +kind = "function" |
| 41 | +signature = "EthosUCompileSpec.dump_intermediate_artifacts_to(self, output_path: str | None)" |
| 42 | + |
| 43 | +[python.EthosUCompileSpec.set_pass_pipeline_config] |
| 44 | +kind = "function" |
| 45 | +signature = "EthosUCompileSpec.set_pass_pipeline_config(self, config: executorch.backends.arm.common.pipeline_config.ArmPassPipelineConfig) -> None" |
| 46 | + |
| 47 | +[python.EthosUPartitioner] |
| 48 | +kind = "class" |
| 49 | +signature = "EthosUPartitioner(compile_spec: executorch.backends.arm.ethosu.compile_spec.EthosUCompileSpec, additional_checks: Optional[Sequence[torch.fx.passes.operator_support.OperatorSupportBase]] = None) -> None" |
| 50 | + |
| 51 | +[python.EthosUPartitioner.ops_to_not_decompose] |
| 52 | +kind = "function" |
| 53 | +signature = "EthosUPartitioner.ops_to_not_decompose(self, ep: torch.export.exported_program.ExportedProgram) -> Tuple[List[torch._ops.OpOverload], Optional[Callable[[torch.fx.node.Node], bool]]]" |
| 54 | + |
| 55 | +[python.EthosUPartitioner.partition] |
| 56 | +kind = "function" |
| 57 | +signature = "EthosUPartitioner.partition(self, exported_program: torch.export.exported_program.ExportedProgram) -> executorch.exir.backend.partitioner.PartitionResult" |
| 58 | + |
| 59 | +[python.EthosUQuantizer] |
| 60 | +kind = "class" |
| 61 | +signature = "EthosUQuantizer(compile_spec: 'EthosUCompileSpec', use_composable_quantizer: 'bool' = False) -> 'None'" |
| 62 | + |
| 63 | +[python.EthosUQuantizer.annotate] |
| 64 | +kind = "function" |
| 65 | +signature = "EthosUQuantizer.annotate(self, model: 'GraphModule') -> 'GraphModule'" |
| 66 | + |
| 67 | +[python.EthosUQuantizer.set_global] |
| 68 | +kind = "function" |
| 69 | +signature = "EthosUQuantizer.set_global(self, quantization_config: 'Optional[QuantizationConfig]') -> 'TOSAQuantizer'" |
| 70 | + |
| 71 | +[python.EthosUQuantizer.set_io] |
| 72 | +kind = "function" |
| 73 | +signature = "EthosUQuantizer.set_io(self, quantization_config: 'Optional[QuantizationConfig]') -> 'TOSAQuantizer'" |
| 74 | + |
| 75 | +[python.EthosUQuantizer.set_module_name] |
| 76 | +kind = "function" |
| 77 | +signature = "EthosUQuantizer.set_module_name(self, module_name: 'str', quantization_config: 'Optional[QuantizationConfig]') -> 'TOSAQuantizer'" |
| 78 | + |
| 79 | +[python.EthosUQuantizer.set_module_type] |
| 80 | +kind = "function" |
| 81 | +signature = "EthosUQuantizer.set_module_type(self, module_type: 'Callable', quantization_config: 'Optional[QuantizationConfig]') -> 'TOSAQuantizer'" |
| 82 | + |
| 83 | +[python.EthosUQuantizer.transform_for_annotation] |
| 84 | +kind = "function" |
| 85 | +signature = "EthosUQuantizer.transform_for_annotation(self, model: 'GraphModule') -> 'GraphModule'" |
| 86 | + |
| 87 | +[python.EthosUQuantizer.validate] |
| 88 | +kind = "function" |
| 89 | +signature = "EthosUQuantizer.validate(self, model: 'GraphModule') -> 'None'" |
| 90 | + |
| 91 | +[python.VgfBackend] |
| 92 | +kind = "class" |
| 93 | +signature = "VgfBackend()" |
| 94 | + |
| 95 | +[python.VgfBackend.preprocess] |
| 96 | +kind = "function" |
| 97 | +signature = "VgfBackend.preprocess(edge_program: torch.export.exported_program.ExportedProgram, compile_specs: List[executorch.exir.backend.compile_spec_schema.CompileSpec]) -> executorch.exir.backend.backend_details.PreprocessResult" |
| 98 | + |
| 99 | +[python.VgfCompileSpec] |
| 100 | +kind = "class" |
| 101 | +signature = "VgfCompileSpec(tosa_spec: executorch.backends.arm.tosa.specification.TosaSpecification | str | None = None, compiler_flags: list[str] | None = None)" |
| 102 | + |
| 103 | +[python.VgfCompileSpec.DebugMode] |
| 104 | +kind = "enum" |
| 105 | +signature = "VgfCompileSpec.DebugMode(value, names=None, *, module=None, qualname=None, type=None, start=1)" |
| 106 | + |
| 107 | +[python.VgfCompileSpec.__eq__] |
| 108 | +kind = "function" |
| 109 | +signature = "VgfCompileSpec.__eq__(self, other)" |
| 110 | + |
| 111 | +[python.VgfCompileSpec.__repr__] |
| 112 | +kind = "function" |
| 113 | +signature = "VgfCompileSpec.__repr__(self)" |
| 114 | + |
| 115 | +[python.VgfCompileSpec.dump_debug_info] |
| 116 | +kind = "function" |
| 117 | +signature = "VgfCompileSpec.dump_debug_info(self, debug_mode: executorch.backends.arm.common.arm_compile_spec.ArmCompileSpec.DebugMode | None)" |
| 118 | + |
| 119 | +[python.VgfCompileSpec.dump_intermediate_artifacts_to] |
| 120 | +kind = "function" |
| 121 | +signature = "VgfCompileSpec.dump_intermediate_artifacts_to(self, output_path: str | None)" |
| 122 | + |
| 123 | +[python.VgfCompileSpec.set_pass_pipeline_config] |
| 124 | +kind = "function" |
| 125 | +signature = "VgfCompileSpec.set_pass_pipeline_config(self, config: executorch.backends.arm.common.pipeline_config.ArmPassPipelineConfig) -> None" |
| 126 | + |
| 127 | +[python.VgfPartitioner] |
| 128 | +kind = "class" |
| 129 | +signature = "VgfPartitioner(compile_spec: executorch.backends.arm.vgf.compile_spec.VgfCompileSpec, additional_checks: Optional[Sequence[torch.fx.passes.operator_support.OperatorSupportBase]] = None) -> None" |
| 130 | + |
| 131 | +[python.VgfPartitioner.ops_to_not_decompose] |
| 132 | +kind = "function" |
| 133 | +signature = "VgfPartitioner.ops_to_not_decompose(self, ep: torch.export.exported_program.ExportedProgram) -> Tuple[List[torch._ops.OpOverload], Optional[Callable[[torch.fx.node.Node], bool]]]" |
| 134 | + |
| 135 | +[python.VgfPartitioner.partition] |
| 136 | +kind = "function" |
| 137 | +signature = "VgfPartitioner.partition(self, exported_program: torch.export.exported_program.ExportedProgram) -> executorch.exir.backend.partitioner.PartitionResult" |
| 138 | + |
| 139 | +[python.VgfQuantizer] |
| 140 | +kind = "class" |
| 141 | +signature = "VgfQuantizer(compile_spec: 'VgfCompileSpec', use_composable_quantizer: 'bool' = False) -> 'None'" |
| 142 | + |
| 143 | +[python.VgfQuantizer.annotate] |
| 144 | +kind = "function" |
| 145 | +signature = "VgfQuantizer.annotate(self, model: 'GraphModule') -> 'GraphModule'" |
| 146 | + |
| 147 | +[python.VgfQuantizer.set_global] |
| 148 | +kind = "function" |
| 149 | +signature = "VgfQuantizer.set_global(self, quantization_config: 'Optional[QuantizationConfig]') -> 'TOSAQuantizer'" |
| 150 | + |
| 151 | +[python.VgfQuantizer.set_io] |
| 152 | +kind = "function" |
| 153 | +signature = "VgfQuantizer.set_io(self, quantization_config: 'Optional[QuantizationConfig]') -> 'TOSAQuantizer'" |
| 154 | + |
| 155 | +[python.VgfQuantizer.set_module_name] |
| 156 | +kind = "function" |
| 157 | +signature = "VgfQuantizer.set_module_name(self, module_name: 'str', quantization_config: 'Optional[QuantizationConfig]') -> 'TOSAQuantizer'" |
| 158 | + |
| 159 | +[python.VgfQuantizer.set_module_type] |
| 160 | +kind = "function" |
| 161 | +signature = "VgfQuantizer.set_module_type(self, module_type: 'Callable', quantization_config: 'Optional[QuantizationConfig]') -> 'TOSAQuantizer'" |
| 162 | + |
| 163 | +[python.VgfQuantizer.transform_for_annotation] |
| 164 | +kind = "function" |
| 165 | +signature = "VgfQuantizer.transform_for_annotation(self, model: 'GraphModule') -> 'GraphModule'" |
| 166 | + |
| 167 | +[python.VgfQuantizer.validate] |
| 168 | +kind = "function" |
| 169 | +signature = "VgfQuantizer.validate(self, model: 'GraphModule') -> 'None'" |
| 170 | + |
| 171 | +[python.get_symmetric_a16w8_quantization_config] |
| 172 | +kind = "function" |
| 173 | +signature = "get_symmetric_a16w8_quantization_config(is_per_channel: 'bool' = True, is_qat: 'bool' = False, is_dynamic: 'bool' = False, weight_qmin: 'int' = -127, weight_qmax: 'int' = 127, epsilon: 'float' = 0.000244140625) -> 'QuantizationConfig'" |
| 174 | + |
| 175 | +[python.get_symmetric_quantization_config] |
| 176 | +kind = "function" |
| 177 | +signature = "get_symmetric_quantization_config(is_per_channel: 'bool' = True, is_qat: 'bool' = False, is_dynamic: 'bool' = False, act_qmin: 'int' = -128, act_qmax: 'int' = 127, weight_qmin: 'int' = -127, weight_qmax: 'int' = 127, eps: 'float' = 1.52587890625e-05) -> 'QuantizationConfig'" |
0 commit comments