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
TBatchNormalizationLayer
TBatchNormalizationLayer.activation
TBatchNormalizationLayer.mean
TBatchNormalizationLayer.variance
TBatchNormalizationLayer.gamma
TBatchNormalizationLayer.beta
TBatchNormalizationLayer.epsilon
TBatchNormalizationLayer.kernel
TBatchNormalizationLayer.input_shape
TBatchNormalizationLayer.output_shape
TBatchNormalizationLayer.output_dtype
TBatchNormalizationLayer.name
TBatchNormalizationLayer.bias
TBatchNormalizationLayer.weights
- 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
- class qualia_codegen_core.graph.layers.TActivationLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: qualia_codegen_core.graph.layers.TActivationLayer.TActivation)[source]
Bases:
TBaseLayer
- activation: TActivation
- class qualia_codegen_core.graph.layers.TAddLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: qualia_codegen_core.graph.layers.TActivationLayer.TActivation = <TActivation.LINEAR: 3>)[source]
Bases:
TBaseLayer
- activation: TActivation = 3
- class qualia_codegen_core.graph.layers.TAvgPooling1DLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: qualia_codegen_core.graph.layers.TActivationLayer.TActivation, pool_size: tuple[int, ...], strides: tuple[int, ...])[source]
Bases:
TAvgPoolingLayer
- class qualia_codegen_core.graph.layers.TAvgPooling2DLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: qualia_codegen_core.graph.layers.TActivationLayer.TActivation, pool_size: tuple[int, ...], strides: tuple[int, ...])[source]
Bases:
TAvgPoolingLayer
- class qualia_codegen_core.graph.layers.TAvgPoolingLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: qualia_codegen_core.graph.layers.TActivationLayer.TActivation, pool_size: tuple[int, ...], strides: tuple[int, ...])[source]
Bases:
TBaseLayer
- activation: TActivation
- class qualia_codegen_core.graph.layers.TBaseLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str)[source]
Bases:
ABC
- class qualia_codegen_core.graph.layers.TBatchNormalization1DLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: 'TActivation', mean: 'NDArrayFloatOrInt', variance: 'NDArrayFloatOrInt', gamma: 'NDArrayFloatOrInt', beta: 'NDArrayFloatOrInt', epsilon: 'NDArrayFloatOrInt', _kernel: 'NDArrayFloatOrInt | None' = None, _bias: 'NDArrayFloatOrInt | None' = None)[source]
Bases:
TBatchNormalizationLayer
- class qualia_codegen_core.graph.layers.TBatchNormalization2DLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: 'TActivation', mean: 'NDArrayFloatOrInt', variance: 'NDArrayFloatOrInt', gamma: 'NDArrayFloatOrInt', beta: 'NDArrayFloatOrInt', epsilon: 'NDArrayFloatOrInt', _kernel: 'NDArrayFloatOrInt | None' = None, _bias: 'NDArrayFloatOrInt | None' = None)[source]
Bases:
TBatchNormalizationLayer
- class qualia_codegen_core.graph.layers.TBatchNormalizationLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: 'TActivation', mean: 'NDArrayFloatOrInt', variance: 'NDArrayFloatOrInt', gamma: 'NDArrayFloatOrInt', beta: 'NDArrayFloatOrInt', epsilon: 'NDArrayFloatOrInt', _kernel: 'NDArrayFloatOrInt | None' = None, _bias: 'NDArrayFloatOrInt | None' = None)[source]
Bases:
TBaseLayer
- activation: TActivation
- mean: NDArrayFloatOrInt
- variance: NDArrayFloatOrInt
- gamma: NDArrayFloatOrInt
- beta: NDArrayFloatOrInt
- epsilon: NDArrayFloatOrInt
- property kernel: ndarray[tuple[int, ...], dtype[floating[Any]]] | ndarray[tuple[int, ...], dtype[integer[Any]]]
- class qualia_codegen_core.graph.layers.TConcatenateLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str)[source]
Bases:
TBaseLayer
- class qualia_codegen_core.graph.layers.TConv1DLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: 'TActivation', kernel: 'NDArrayFloatOrInt', kernel_size: 'tuple[int, ...]', strides: 'tuple[int, ...]', filters: 'int', use_bias: 'bool', bias: 'NDArrayFloatOrInt', groups: 'int', padding: tuple[int, int])[source]
Bases:
TConvLayer
- class qualia_codegen_core.graph.layers.TConv2DLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: 'TActivation', kernel: 'NDArrayFloatOrInt', kernel_size: 'tuple[int, ...]', strides: 'tuple[int, ...]', filters: 'int', use_bias: 'bool', bias: 'NDArrayFloatOrInt', groups: 'int', padding: tuple[tuple[int, int], tuple[int, int]])[source]
Bases:
TConvLayer
- class qualia_codegen_core.graph.layers.TConvLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: 'TActivation', kernel: 'NDArrayFloatOrInt', kernel_size: 'tuple[int, ...]', strides: 'tuple[int, ...]', filters: 'int', use_bias: 'bool', bias: 'NDArrayFloatOrInt', groups: 'int')[source]
Bases:
TBaseLayer
- activation: TActivation
- kernel: NDArrayFloatOrInt
- bias: NDArrayFloatOrInt
- class qualia_codegen_core.graph.layers.TDenseLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: 'TActivation', kernel: 'NDArrayFloatOrInt', units: 'int', use_bias: 'bool', bias: 'NDArrayFloatOrInt')[source]
Bases:
TBaseLayer
- activation: TActivation
- kernel: NDArrayFloatOrInt
- bias: NDArrayFloatOrInt
- class qualia_codegen_core.graph.layers.TDropoutLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, p: float)[source]
Bases:
TBaseLayer
- class qualia_codegen_core.graph.layers.TFlattenLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str)[source]
Bases:
TBaseLayer
- class qualia_codegen_core.graph.layers.TIdentityLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str)[source]
Bases:
TBaseLayer
- class qualia_codegen_core.graph.layers.TInputLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str)[source]
Bases:
TBaseLayer
- class qualia_codegen_core.graph.layers.TMaxPooling1DLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: qualia_codegen_core.graph.layers.TActivationLayer.TActivation, pool_size: tuple[int, ...], strides: tuple[int, ...])[source]
Bases:
TMaxPoolingLayer
- class qualia_codegen_core.graph.layers.TMaxPooling2DLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: qualia_codegen_core.graph.layers.TActivationLayer.TActivation, pool_size: tuple[int, ...], strides: tuple[int, ...])[source]
Bases:
TMaxPoolingLayer
- class qualia_codegen_core.graph.layers.TMaxPoolingLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, activation: qualia_codegen_core.graph.layers.TActivationLayer.TActivation, pool_size: tuple[int, ...], strides: tuple[int, ...])[source]
Bases:
TBaseLayer
- activation: TActivation
- class qualia_codegen_core.graph.layers.TPermuteLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, dims: tuple[int, ...])[source]
Bases:
TBaseLayer
- class qualia_codegen_core.graph.layers.TSampleNormLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, mode: qualia_codegen_core.graph.layers.TSampleNormLayer.TSampleNormMode)[source]
Bases:
TBaseLayer
- mode: TSampleNormMode
- class qualia_codegen_core.graph.layers.TSliceLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, slices: tuple[slice, ...])[source]
Bases:
TBaseLayer
- class qualia_codegen_core.graph.layers.TSumLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, dim: tuple[int, ...])[source]
Bases:
TBaseLayer
- class qualia_codegen_core.graph.layers.TZeroPadding1DLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, padding: 'int | tuple[int, int]')[source]
Bases:
TZeroPaddingLayer
- class qualia_codegen_core.graph.layers.TZeroPadding2DLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, padding: 'int | tuple[int, int]')[source]
Bases:
TZeroPaddingLayer
- class qualia_codegen_core.graph.layers.TZeroPaddingLayer(input_shape: qualia_codegen_core.typing.Shapes, output_shape: qualia_codegen_core.typing.Shapes, output_dtype: qualia_codegen_core.typing.DTypes, name: str, padding: 'int | tuple[int, int]')[source]
Bases:
TBaseLayer