mirror of https://github.com/davisking/dlib.git
Missing interfaces in add_prev for compatibility with mmod loss. (#901)
This commit is contained in:
parent
6d343f93da
commit
540f47409e
|
@ -2078,6 +2078,9 @@ namespace dlib
|
|||
const tensor& get_layer_params() const { return params; }
|
||||
tensor& get_layer_params() { return params; }
|
||||
|
||||
inline dpoint map_input_to_output (const dpoint& p) const { return p; }
|
||||
inline dpoint map_output_to_input (const dpoint& p) const { return p; }
|
||||
|
||||
friend void serialize(const add_prev_& , std::ostream& out)
|
||||
{
|
||||
serialize("add_prev_", out);
|
||||
|
|
Loading…
Reference in New Issue