Skip to content

Instantly share code, notes, and snippets.

View araomv's full-sized avatar
💭
I may be slow to respond.

Achuth Rao M V araomv

💭
I may be slow to respond.
View GitHub Profile
@araomv
araomv / the-dual-form-of-neural-networks.ipynb
Created July 31, 2022 14:51
The Dual Form of Neural Networks .ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
### Capsule layer agrregation from the paper "Dynamic Layer Aggregation for Neural Machine Translation with Routing-by-Agreement"
class FFL(nn.Module):
def __init__(self, inp_dim,output_dim,n_layers=3):
super(FFL, self).__init__()
self.n_layers=n_layers
self.linear_layers=nn.ModuleList()
for j in range(self.n_layers-1):
self.linear_layers.append(nn.Linear(inp_dim,inp_dim))
self.linear_layers.append(nn.Linear(inp_dim,output_dim))
@araomv
araomv / weinerfilter_tutorial.ipynb
Last active June 14, 2021 16:45
WeinerFilter_Tutorial.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@araomv
araomv / receptive-field-computation-tf.ipynb
Created October 17, 2020 04:58
Receptive Field computation-TF.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.