torch-residual-networks icon indicating copy to clipboard operation
torch-residual-networks copied to clipboard

Update residual-layers.lua to be consistent with other torch nn models

Open lim0606 opened this issue 9 years ago • 2 comments

Hi,

I updated residual-layers.lua so that it can be used with other available layers in torch community.

I thought this might be useful for someone who might want to use the residual layer in their network architecture.

This might be not the preferred way of @gcr.

Anyway, thank you for sharing your review work.

Best regards,

Jaehyun


This change is Reviewable

lim0606 avatar Feb 02 '16 14:02 lim0606

I see! Thank you -- I wasn't sure how to express this network in the usual Torch way, so I had to use the nngraph module. This example makes that clearer.

gcr avatar Feb 02 '16 14:02 gcr

I just meant that the modification intended to make the layer be look-alike some tutorials in https://github.com/torch/torch7/wiki/Cheatsheet, e.g. https://github.com/soumith/imagenet-multiGPU.torch.

Thank you :)

lim0606 avatar Feb 02 '16 23:02 lim0606