Feature request: dR_getInputShape
BjoernLange opened this issue · 2 comments
Analogously to the dR_getOutputShape
function which queries the size of the output data I would like to have a function for querying the size of the input data. This is rather a convenience function than a realy needed feature as the network structure should be known. However for error handling it would be nice to be able to query the required input size.
I added the Funktion dR_getFeedNodeInputShape in commit 21ec5b8.
It does what you want for data feed nodes. For other nodes it is a bit tedious to implement and would not be general. This is because various nodes have more than one input (some even a list of inputs, like concat) and it is not clear how such a query should be handled in this case.
Do you think such query is useful for all nodes or is it sufficient to have it for data feed nodes?
In my opinion it is suffiecient for feed nodes. The rest of the processing in deepRacin is anyway handled as a kind of black box and the focus lies on evaluating networks and not working with them in any other way.