Open samdporter opened 9 hours ago
Thanks @samdporter
Yep, that would be a quick fix to currently not allowing the user to pass None
to out
:
https://github.com/TomographicImaging/CIL/blob/5d569dc054759a8c137ca72611fc7be07be6080e/Wrappers/Python/cil/framework/block.py#L286-L312
Will chat to the team about any checks we might need or if they can remember the thinking in the first place
In order to work with other code (e.g
SVRGFunction
)BlockDataContainer.sapyb
method needs to be able to acceptout=None
and should return aBlockDataContainer
Currently throws error in
SVRG.approximate_gradient