Skip to content

How to replace set_value in Keras 3? #19824

Closed Answered by abhaskumarsinha
ghsanti asked this question in Q&A
Discussion options

You must be logged in to vote

Hey there,

You can still use TensorFlow's functions to set values within the Keras v3.0+ framework.

To work out in backend invarient way, you might convert the weights to numpy tensors and then set them as weights back depending upon the requirement and size of the model.

Thank You.

Best Regards.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghsanti
Comment options

Answer selected by ghsanti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants