mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
fix unused parameter warning in visitor_net_to_xml (#2240)
This commit is contained in:
parent
820fd353d2
commit
96a75568be
@ -64,13 +64,13 @@ namespace dlib
|
||||
}
|
||||
|
||||
template <unsigned long ID, typename U, typename E>
|
||||
void operator()(size_t idx, const add_tag_layer<ID,U,E>& l)
|
||||
void operator()(size_t idx, const add_tag_layer<ID,U,E>& /*l*/)
|
||||
{
|
||||
out << "<layer idx='"<<idx<<"' type='tag' id='"<<ID<<"'/>\n";
|
||||
}
|
||||
|
||||
template <template<typename> class T, typename U>
|
||||
void operator()(size_t idx, const add_skip_layer<T,U>& l)
|
||||
void operator()(size_t idx, const add_skip_layer<T,U>& /*l*/)
|
||||
{
|
||||
out << "<layer idx='"<<idx<<"' type='skip' id='"<<(tag_id<T>::id)<<"'/>\n";
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user