Skip to content

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

Open
@Utanapishtim31

Description

@Utanapishtim31

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    missing feature/sAn issue about missing features in the library.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions