






'''simple docstring'''

from ....configuration_utils import PretrainedConfig
from ....utils import logging


A:      Tuple  				=				logging.get_logger(__name__)

A:      List[Any]  				=				{
    "speechbrain/m-ctc-t-large": "https://huggingface.co/speechbrain/m-ctc-t-large/resolve/main/config.json",
    # See all M-CTC-T models at https://huggingface.co/models?filter=mctct
}






class 							__magic_name__     (	UpperCAmelCase_				):







	"""simple docstring"""



	SCREAMING_SNAKE_CASE_					:      Optional[int]        =  'mctct'
	def __init__(							self  ,      _lowercase=8065  ,      _lowercase=1536  ,      _lowercase=36  ,      _lowercase=6144  ,      _lowercase=4  ,      _lowercase=384  ,      _lowercase=920  ,      _lowercase=1E-5  ,      _lowercase=0.3  ,      _lowercase="relu"  ,      _lowercase=0.02  ,      _lowercase=0.3  ,      _lowercase=0.3  ,      _lowercase=1  ,      _lowercase=0  ,      _lowercase=2  ,      _lowercase=1  ,      _lowercase=0.3  ,      _lowercase=1  ,      _lowercase=(7,)  ,      _lowercase=(3,)  ,      _lowercase=80  ,      _lowercase=1  ,      _lowercase=None  ,      _lowercase="sum"  ,      _lowercase=False  ,      **_lowercase  ,      )						->  Optional[Any]:
							super().__init__(**_lowercase  ,      pad_token_id=_lowercase  ,      bos_token_id=_lowercase  ,      eos_token_id=_lowercase       )
							lowercase_      :   Union[str, Any]        =			vocab_size
							lowercase_      :   List[Any]        =			hidden_size
							lowercase_      :   Union[str, Any]        =			num_hidden_layers
							lowercase_      :   str        =			intermediate_size
							lowercase_      :   List[Any]        =			num_attention_heads
							lowercase_      :   Optional[int]        =			attention_head_dim
							lowercase_      :   Optional[Any]        =			max_position_embeddings
							lowercase_      :   Optional[int]        =			layer_norm_eps
							lowercase_      :   List[Any]        =			layerdrop
							lowercase_      :   str        =			hidden_act
							lowercase_      :   List[str]        =			initializer_range
							lowercase_      :   List[Any]        =			hidden_dropout_prob
							lowercase_      :   int        =			attention_probs_dropout_prob
							lowercase_      :   Dict        =			pad_token_id
							lowercase_      :   Dict        =			bos_token_id
							lowercase_      :   Dict        =			eos_token_id
							lowercase_      :   Dict        =			conv_glu_dim
							lowercase_      :   int        =			conv_dropout
							lowercase_      :   List[Any]        =			num_conv_layers
							lowercase_      :   List[Any]        =			input_feat_per_channel
							lowercase_      :   List[Any]        =			input_channels
							lowercase_      :   List[Any]        =			conv_channels
							lowercase_      :   List[Any]        =			ctc_loss_reduction
							lowercase_      :   List[Any]        =			ctc_zero_infinity

							# prevents config testing fail with exporting to json
							lowercase_      :   Optional[Any]        =			list(_lowercase       )
							lowercase_      :   Optional[int]        =			list(_lowercase       )

							if len(self.conv_kernel       ) != self.num_conv_layers:
													raise ValueError(
													    'Configuration for convolutional module is incorrect. '
													    'It is required that `len(config.conv_kernel)` == `config.num_conv_layers` '
													    f"but is `len(config.conv_kernel) = {len(self.conv_kernel       )}`, "
													    f"`config.num_conv_layers = {self.num_conv_layers}`."       )








'''simple docstring'''

from __future__ import annotations






def 	_UpperCAmelCase    (  a		:	int = 4							)			->			list[list[int]]:





						"""simple docstring"""
						lowercase_      :   Tuple        =			abs(a							) or 4
						return [[1 + x + y * row_size for x in range(a							)] for y in range(a							)]






def 	_UpperCAmelCase    (  a		:	list[list[int]]							)			->			list[list[int]]:





						"""simple docstring"""
						return reverse_row(transpose(a							)							)
						# OR.. transpose(reverse_column(matrix))






def 	_UpperCAmelCase    (  a		:	list[list[int]]							)			->			list[list[int]]:





						"""simple docstring"""
						return reverse_row(reverse_column(a							)							)
						# OR.. reverse_column(reverse_row(matrix))






def 	_UpperCAmelCase    (  a		:	list[list[int]]							)			->			list[list[int]]:





						"""simple docstring"""
						return reverse_column(transpose(a							)							)
						# OR.. transpose(reverse_row(matrix))






def 	_UpperCAmelCase    (  a		:	list[list[int]]							)			->			list[list[int]]:





						"""simple docstring"""
						lowercase_      :   Any        =			[list(a							) for x in zip(*a							)]
						return matrix






def 	_UpperCAmelCase    (  a		:	list[list[int]]							)			->			list[list[int]]:





						"""simple docstring"""
						lowercase_      :   List[str]        =			matrix[::-1]
						return matrix






def 	_UpperCAmelCase    (  a		:	list[list[int]]							)			->			list[list[int]]:





						"""simple docstring"""
						lowercase_      :   str        =			[x[::-1] for x in matrix]
						return matrix






def 	_UpperCAmelCase    (  a		:	list[list[int]]							)			->			None:





						"""simple docstring"""
						for i in matrix:
												print(*a							)


if __name__ == "__main__":
						A:      Dict  				=				make_matrix()
						print("\norigin:\n")
						print_matrix(matrix)
						print("\nrotate 90 counterclockwise:\n")
						print_matrix(rotate_aa(matrix))

						A:      List[Any]  				=				make_matrix()
						print("\norigin:\n")
						print_matrix(matrix)
						print("\nrotate 180:\n")
						print_matrix(rotate_aaa(matrix))

						A:      List[str]  				=				make_matrix()
						print("\norigin:\n")
						print_matrix(matrix)
						print("\nrotate 270 counterclockwise:\n")
						print_matrix(rotate_aaa(matrix))
