MCPcopy Create free account

hub / github.com/dangf15/THLNet / functions

Functions68 in github.com/dangf15/THLNet

↓ 5 callersMethod__init__
(self, rnn_type, input_size, hidden_size, output_size, freq_dim, down_sample, dropout=0, num
nets/dpcrn_block.py:147
↓ 4 callersMethod__init__
(self, complex_axis=1)
complexnn.py:14
↓ 4 callersMethod__init__
(self, width=64, input_channel_rate=1, output_channel=2)
nets/dfnet_block.py:223
↓ 2 callersMethod__init__
(self, start_epoch=None, start_iter=None, train_loss=None, eval_loss=None, best_val_loss=float("inf"),
utils.py:13
↓ 2 callersMethod__init__
(self)
nets/model.py:209
↓ 2 callersMethodforward
(self, input)
nets/dpcrn_block.py:175
↓ 2 callersFunctioninit_kernels
(win_len, win_inc, fft_len, win_type=None, invers=False)
conv_stft.py:8
↓ 1 callersMethod__init__
(self, win_len, win_inc, fft_len=None, win_type='hamming', feature_type='real', fix=True)
conv_stft.py:30
↓ 1 callersFunction_get_activation_fn
(activation)
nets/dfnet_block.py:96
↓ 1 callersFunctioncomplex_cat
(inputs, axis)
complexnn.py:67
↓ 1 callersMethodreset_parameters
(self)
complexnn.py:269
↓ 1 callersMethodreset_running_stats
(self)
complexnn.py:260
↓ 1 callersFunctionshow_model
(nnet)
show.py:21
↓ 1 callersFunctionshow_params
(nnet)
show.py:6
↓ 1 callersFunctiontest_ifft1
()
conv_stft.py:134
Method__init__
(self, num_features, affine=True, eps=1e-5,
utils.py:60
Method__init__
(self, num_features, affine=True, eps=1e-5,
utils.py:87
Method__init__
(self, win_len, win_inc, fft_len=None, win_type='hamming', feature_type='real', fix=True)
conv_stft.py:64
Method__init__
(self, input_size, hidden_size, projection_dim=None, bidirectional=False, batch_first=False)
complexnn.py:28
Method__init__
in_channels: real+imag out_channels: real+imag kernel_size : input [B,C,D,T] kernel size in [D,T]
complexnn.py:81
Method__init__
in_channels: real+imag out_channels: real+imag
complexnn.py:151
Method__init__
(self, num_features, eps=1e-5, momentum=0.1, affine=True, track_running_stats=True, complex_axis=
complexnn.py:220
Method__init__
(self, d_model, nhead, bidirectional=True, dropout=0, activation="relu")
nets/dfnet_block.py:37
Method__init__
(self, input_size, output_size, dropout=0, num_layers=1)
nets/dfnet_block.py:120
Method__init__
(self, in_channels, out_channels, kernel_size, r=1)
nets/dfnet_block.py:176
Method__init__
(self, depth=5, in_channels=64)
nets/dfnet_block.py:194
Method__init__
(self, in_channels, out_channels, kernel_size, r=1)
nets/dpcrn_block.py:12
Method__init__
(self, dim, elementwise_affine=True)
nets/dpcrn_block.py:35
Method__init__
(self, dim1, dim2, eps=1e-8, elementwise_affine=True)
nets/dpcrn_block.py:68
Method__init__
(self, rnn_type, input_size, hidden_size, dropout=0, bidirectional=False)
nets/dpcrn_block.py:110
Method__init__
rnn_layers: the number of lstm layers in the crn, rnn_units: for clstm, rnn_units = real+imag
nets/dpcrn_block.py:206
Method__init__
( self, width=48, win_len=512,
nets/model.py:15
Method__init__
( self, width=48, win_len=512,
nets/model.py:110
Method__setstate__
(self, state)
nets/dfnet_block.py:63
Method_check_input_dim
(self, xr, xi)
complexnn.py:278
Function_get_clones
(module, N)
nets/dfnet_block.py:92
Functioncheckcausal_net
The whole pipeline give a latency of aec_shift + net win = 48ms
utils.py:112
Methodextra_repr
(self)
complexnn.py:395
Methodflatten_parameters
(self)
complexnn.py:63
Methodforward
(self, inpt)
utils.py:77
Methodforward
(self, inpt)
utils.py:103
Methodforward
(self, inputs)
conv_stft.py:46
Methodforward
inputs : [B, N+2, T] (complex spec) or [B, N//2+1, T] (mags) phase: [B, N//2+1, T] (if not none)
conv_stft.py:82
Methodforward
(self, inputs)
complexnn.py:21
Methodforward
(self, inputs)
complexnn.py:46
Methodforward
(self,inputs)
complexnn.py:121
Methodforward
(self,inputs)
complexnn.py:187
Methodforward
(self, inputs)
complexnn.py:282
Methodforward
r"""Pass the input through the encoder layer. Args: src: the sequnce to the encoder layer (required). src_mask: the
nets/dfnet_block.py:68
Methodforward
(self, input)
nets/dfnet_block.py:149
Methodforward
(self, x)
nets/dfnet_block.py:184
Methodforward
(self, x)
nets/dfnet_block.py:212
Methodforward
(self, x)
nets/dfnet_block.py:257
Methodforward
(self, x)
nets/dpcrn_block.py:20
Methodforward
(self, x)
nets/dpcrn_block.py:39
Methodforward
(self, x)
nets/dpcrn_block.py:82
Methodforward
(self, input)
nets/dpcrn_block.py:124
Methodforward
(self, inputs, lens=None)
nets/dpcrn_block.py:326
Methodforward
(self, inputs, lens=None)
nets/model.py:59
Methodforward
(self, x1, x2,lens=None)
nets/model.py:145
Methodforward
(self, x)
nets/model.py:219
Functionget_casual_padding1d
()
complexnn.py:6
Functionget_casual_padding2d
()
complexnn.py:9
Methodget_params
(self, weight_decay=0.0)
nets/model.py:230
Methodload
(self, filename)
utils.py:39
Methodsave
(self, is_best, filename, best_model)
utils.py:30
Functiontest_fft
()
conv_stft.py:103
Functiontest_ifft2
()
conv_stft.py:153