jonathantompson / drlim_example

A very simple DRLIM torch example
7 stars 1 forks source link

shared weights #1

Open rgoroshin opened 9 years ago

rgoroshin commented 9 years ago

Shouldn't you call ":share()" somewhere around line 20-21 in model.lua ?

jonathantompson commented 9 years ago

This call does the same thing:

encoder_siamese:add(encoder:clone('weight','bias','gradWeight','gradBias'))

On Dec 19, 2014, at 3:29 PM, rgoroshin notifications@github.com wrote:

Shouldn't you call ":share()" somewhere around line 20-21 in model.lua ?

— Reply to this email directly or view it on GitHub.