Skip to content

cylinder_patch_padding_based_geometric_interdependence

Bases: cylinder_patch_based_geometric_interdependence

A geometric interdependence class using cylindrical patches with padding mode.

Attributes:

Name Type Description
interdependence_matrix_mode str

The interdependence matrix mode set to 'padding'.

Methods:

Name Description
__init__

Initializes the cylindrical patch-based geometric interdependence function in padding mode.

Source code in tinybig/interdependence/geometric_interdependence.py
class cylinder_patch_padding_based_geometric_interdependence(cylinder_patch_based_geometric_interdependence):
    """
        A geometric interdependence class using cylindrical patches with padding mode.

        Attributes
        ----------
        interdependence_matrix_mode : str
            The interdependence matrix mode set to 'padding'.

        Methods
        -------
        __init__(interdependence_matrix_mode='padding', ...)
            Initializes the cylindrical patch-based geometric interdependence function in padding mode.
    """
    def __init__(self, interdependence_matrix_mode: str = 'padding', *args, **kwargs):
        """
            Initializes the cylindrical patch-based geometric interdependence function in padding mode.

            Parameters
            ----------
            interdependence_matrix_mode : str, optional
                Mode for the interdependence matrix. Defaults to 'padding'.
            *args : tuple
                Additional positional arguments for the parent class.
            **kwargs : dict
                Additional keyword arguments for the parent class.
        """
        super().__init__(interdependence_matrix_mode='padding', *args, **kwargs)

__init__(interdependence_matrix_mode='padding', *args, **kwargs)

Initializes the cylindrical patch-based geometric interdependence function in padding mode.

Parameters:

Name Type Description Default
interdependence_matrix_mode str

Mode for the interdependence matrix. Defaults to 'padding'.

'padding'
*args tuple

Additional positional arguments for the parent class.

()
**kwargs dict

Additional keyword arguments for the parent class.

{}
Source code in tinybig/interdependence/geometric_interdependence.py
def __init__(self, interdependence_matrix_mode: str = 'padding', *args, **kwargs):
    """
        Initializes the cylindrical patch-based geometric interdependence function in padding mode.

        Parameters
        ----------
        interdependence_matrix_mode : str, optional
            Mode for the interdependence matrix. Defaults to 'padding'.
        *args : tuple
            Additional positional arguments for the parent class.
        **kwargs : dict
            Additional keyword arguments for the parent class.
    """
    super().__init__(interdependence_matrix_mode='padding', *args, **kwargs)