Commit 9f6aefc0 authored by Davis King's avatar Davis King
Browse files

Add missing .get_final_data_gradient() for repeat layer

parent 1516cf31
...@@ -1901,6 +1901,9 @@ namespace dlib ...@@ -1901,6 +1901,9 @@ namespace dlib
return details[0].get_gradient_input(); return details[0].get_gradient_input();
} }
const tensor& get_final_data_gradient(
) const { return subnetwork.get_final_data_gradient(); }
const tensor& get_parameter_gradient( const tensor& get_parameter_gradient(
) const { return details[0].get_parameter_gradient(); } ) const { return details[0].get_parameter_gradient(); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment