Skip to content

cuboid_patch_based_geometric_interdependence

Bases: geometric_interdependence

Source code in tinybig/interdependence/geometric_interdependence.py
class cuboid_patch_based_geometric_interdependence(geometric_interdependence):

    def __init__(
        self,
        p_h: int, p_w: int, p_d: int,
        p_h_prime: int = None, p_w_prime: int = None, p_d_prime: int = None,
        name: str = 'cuboid_patch_based_geometric_interdependence',
        *args, **kwargs
    ):
        patch = cuboid(p_h=p_h, p_w=p_w, p_d=p_d, p_h_prime=p_h_prime, p_w_prime=p_w_prime, p_d_prime=p_d_prime)
        super().__init__(name=name, patch=patch, *args, **kwargs)