Skip to content

How to replace set_value in Keras 3? #19824

Closed Answered by abhaskumarsinha
newresu asked this question in Q&A

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

You must be logged in to vote
1 reply
@newresu

Answer selected by newresu
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