mirror of https://github.com/davisking/dlib.git
Add missing .get_final_data_gradient() for repeat layer
This commit is contained in:
parent
1516cf31c3
commit
9f6aefc0db
|
@ -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(); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue