Re: [Dclib-devel] [dclib-devel] add_skip_layer to add to layers
Brought to you by:
davisking
|
From: Eloi Du B. <elo...@gm...> - 2018-02-11 00:59:10
|
Sorry, this should actually make it, what do you think?:
template <template <typename> class Block, typename SUBNET>
using merge_add =
dlib::add_prev2<Block<dlib::add_skip_layer<dlib::tag1,
dlib::tag2<dlib::tag1<SUBNET>>>>>;
It could be nice to add it into dlib.
2018-02-10 18:48 GMT-06:00 Eloi Du Bois <elo...@gm...>:
> Could this be it?
> template <template <typename> class Block, typename SUBNET>
> using merge = dlib::add_prev2<dlib::add_skip_layer<dlib::tag2,
> Block<dlib::htan<dlib::tag2<SUBNET>>>>>;
>
> Thanks,
>
> 2018-02-10 18:44 GMT-06:00 Eloi Du Bois <elo...@gm...>:
>
>> Hi,
>>
>> I'd like to add two layers, both using the same input.
>> This is different than using add_prev as when using add_prev, one of the
>> path is a chain.
>>
>> How could I do this?
>> I suspect that add_skip_layer would solve this, but I'm not sure how.
>>
>> Many thanks for any answer.
>>
>>
>
|