TensorFlow.NET
TensorFlow.NET copied to clipboard
[Feature Request]: Support multi-output models
Background and Feature Description
It is not possible to train a model with several outputs. This is a problem for Actor-Critic models for instance. This is a serious limitation of Tensorflow.NET for the time being.
API Definition and Usage
IModel.compile(IOptimizer, ILossFunc[], IMetricFunc[])
Alternatives
No response
Risks
This does not seem to be very complex to add this feature. Most of the code already exists to handle multi-output. One should compute the loss for each output and sum-reduce the losses to get the final loss.