cuboid_patch_based_geometric_interdependence
Bases: geometric_interdependence
A geometric interdependence class with cuboid patches.
This class uses cuboid-shaped patches for interdependence calculations.
Methods:
Name | Description |
---|---|
__init__ |
Initializes the cuboid patch-based geometric interdependence function. |
Source code in tinybig/interdependence/geometric_interdependence.py
__init__(p_h, p_w, p_d, p_h_prime=None, p_w_prime=None, p_d_prime=None, name='cuboid_patch_based_geometric_interdependence', *args, **kwargs)
Initializes the cuboid patch-based geometric interdependence function.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
p_h
|
int
|
Dimensions of the cuboid patch (height, width, depth). |
required |
p_w
|
int
|
Dimensions of the cuboid patch (height, width, depth). |
required |
p_d
|
int
|
Dimensions of the cuboid patch (height, width, depth). |
required |
p_h_prime
|
int
|
Output dimensions of the cuboid patch. Defaults to None. |
None
|
p_w_prime
|
int
|
Output dimensions of the cuboid patch. Defaults to None. |
None
|
p_d_prime
|
int
|
Output dimensions of the cuboid patch. Defaults to None. |
None
|
name
|
str
|
Name of the interdependence function. Defaults to 'cuboid_patch_based_geometric_interdependence'. |
'cuboid_patch_based_geometric_interdependence'
|
*args
|
tuple
|
Additional positional arguments for the parent class. |
()
|
**kwargs
|
dict
|
Additional keyword arguments for the parent class. |
{}
|