Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Support multi-output models #1199

Open
Utanapishtim31 opened this issue Oct 18, 2023 · 0 comments
Open

[Feature Request]: Support multi-output models #1199

Utanapishtim31 opened this issue Oct 18, 2023 · 0 comments
Labels
missing feature/s An issue about missing features in the library.

Comments

@Utanapishtim31
Copy link

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.

@Wanglongzhi2001 Wanglongzhi2001 added the missing feature/s An issue about missing features in the library. label Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing feature/s An issue about missing features in the library.
Projects
None yet
Development

No branches or pull requests

2 participants