qualia_codegen_core.graph package
Subpackages
- qualia_codegen_core.graph.keras package
- qualia_codegen_core.graph.layers package
- Submodules
- qualia_codegen_core.graph.layers.TActivationLayer module
- qualia_codegen_core.graph.layers.TAddLayer module
- qualia_codegen_core.graph.layers.TAvgPooling1DLayer module
- qualia_codegen_core.graph.layers.TAvgPooling2DLayer module
- qualia_codegen_core.graph.layers.TAvgPoolingLayer module
- qualia_codegen_core.graph.layers.TBaseLayer module
- qualia_codegen_core.graph.layers.TBatchNormalization1DLayer module
- qualia_codegen_core.graph.layers.TBatchNormalization2DLayer module
- qualia_codegen_core.graph.layers.TBatchNormalizationLayer module
- qualia_codegen_core.graph.layers.TConcatenateLayer module
- qualia_codegen_core.graph.layers.TConv1DLayer module
- qualia_codegen_core.graph.layers.TConv2DLayer module
- qualia_codegen_core.graph.layers.TConvLayer module
- qualia_codegen_core.graph.layers.TDenseLayer module
- qualia_codegen_core.graph.layers.TDropoutLayer module
- qualia_codegen_core.graph.layers.TFlattenLayer module
- qualia_codegen_core.graph.layers.TIdentityLayer module
- qualia_codegen_core.graph.layers.TInputLayer module
- qualia_codegen_core.graph.layers.TMaxPooling1DLayer module
- qualia_codegen_core.graph.layers.TMaxPooling2DLayer module
- qualia_codegen_core.graph.layers.TMaxPoolingLayer module
- qualia_codegen_core.graph.layers.TPermuteLayer module
- qualia_codegen_core.graph.layers.TSampleNormLayer module
- qualia_codegen_core.graph.layers.TSliceLayer module
- qualia_codegen_core.graph.layers.TSumLayer module
- qualia_codegen_core.graph.layers.TZeroPadding1DLayer module
- qualia_codegen_core.graph.layers.TZeroPadding2DLayer module
- qualia_codegen_core.graph.layers.TZeroPaddingLayer module
- Module contents
TActivationLayer
TAddLayer
TAvgPooling1DLayer
TAvgPooling2DLayer
TAvgPoolingLayer
TBaseLayer
TBatchNormalization1DLayer
TBatchNormalization2DLayer
TBatchNormalizationLayer
TConcatenateLayer
TConv1DLayer
TConv2DLayer
TConvLayer
TDenseLayer
TDropoutLayer
TFlattenLayer
TIdentityLayer
TInputLayer
TMaxPooling1DLayer
TMaxPooling2DLayer
TMaxPoolingLayer
TPermuteLayer
TSampleNormLayer
TSliceLayer
TSumLayer
TZeroPadding1DLayer
TZeroPadding2DLayer
TZeroPaddingLayer
- Submodules
Submodules
- qualia_codegen_core.graph.ActivationRange module
- qualia_codegen_core.graph.ActivationsRange module
- qualia_codegen_core.graph.KerasModelGraph module
- qualia_codegen_core.graph.LayerNode module
- qualia_codegen_core.graph.ModelGraph module
- qualia_codegen_core.graph.Quantization module
- qualia_codegen_core.graph.RoundMode module
- qualia_codegen_core.graph.TorchModelGraph module
Module contents
- class qualia_codegen_core.graph.ModelGraph(nodes: list[LayerNode] | None = None)[source]
Bases:
object
- add_node(node: LayerNode, innodes: Iterable[LayerNode] | None = None, outnodes: Iterable[LayerNode] | None = None) None [source]
- find_node_from_layer(layer: TBaseLayer) LayerNode | None [source]
- get_nodes_for_layers(layers: TBaseLayer | Iterable[TBaseLayer]) tuple[LayerNode | None, ...] [source]
- add_layer(layer: TBaseLayer, inlayers: list[TBaseLayer] | None = None, outlayers: list[TBaseLayer] | None = None) None [source]
- classmethod auto_detect(obj: keras.Model | nn.Module) ModelGraph [source]
- class qualia_codegen_core.graph.Quantization(number_type: 'type[int | float] | None' = None, width: 'int | None' = None, long_width: 'int | None' = None, weights_scale_factor: 'int | None' = None, bias_scale_factor: 'int | None' = None, output_scale_factor: 'int | None' = None, weights_round_mode: 'RoundMode | None' = None, output_round_mode: 'RoundMode | None' = None)[source]
Bases:
object