Skip to content

Automatically add KerasInterface to tf#998

Merged
Oceania2018 merged 1 commit intoSciSharp:masterfrom
SanftMonster:align_tf_keras
Mar 4, 2023
Merged

Automatically add KerasInterface to tf#998
Oceania2018 merged 1 commit intoSciSharp:masterfrom
SanftMonster:align_tf_keras

Conversation

@SanftMonster
Copy link
Collaborator

Since the package Tensorflow.Keras is separated with Tensorflow.NET, users need to add tf.UseKeras<KerasInterface>(); to enable the tf.keras. This PR use lazy loaded singleton mode to automatically enable tf.keras. Besides, it add some extra supports, which are IOptimizerApi and IModelsApi.

However, some important API such as Activation is still unable to be aligned because of the separation of the two packages.

@SanftMonster SanftMonster added the api New API or change API label Mar 4, 2023
@Oceania2018 Oceania2018 merged commit ece36e6 into SciSharp:master Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api New API or change API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants