



'''simple docstring'''
def   lowercase_	(   lowerCAmelCase__	:  list[int | list]			,							lowerCAmelCase__	:  int ):

			"""simple docstring"""





			__UpperCAmelCase   :      Union[str, Any]										=     0
			for ele in arr:
						total_sum += product_sum(lowerCAmelCase__			,							depth + 1 ) if isinstance(lowerCAmelCase__			,							lowerCAmelCase__ ) else ele
			return total_sum * depth


def   lowercase_	(   lowerCAmelCase__	:  list[int | list] ):

			"""simple docstring"""





			return product_sum(lowerCAmelCase__			,							1 )


if __name__ == "__main__":
					import doctest

					doctest.testmod()









'''simple docstring'''
from .chunk_utils import chunk_layer
from .data_transforms import make_atomaa_masks
from .feats import atomaa_to_atomaa, frames_and_literature_positions_to_atomaa_pos, torsion_angles_to_frames
from .loss import compute_predicted_aligned_error, compute_tm
from .protein import Protein as OFProtein
from .protein import to_pdb
from .rigid_utils import Rigid, Rotation
from .tensor_utils import dict_multimap, flatten_final_dims, permute_final_dims




