python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
The below code is giving 'UnreadVariable' error in tensorflow
# importing libraries
import numpy as np
import tensorflow as tf
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense
from tensorflow.keras.optimizers import Adam
f...
Soumya Chakraborty
Votes: 0
Answers: 1
Keras GradientType: Calculating gradients with respect to the output node
For startes: this question does not ask for help regarding reinforcement learning (RL), RL is only used as an example.
The Keras documentation contains an example actor-critic reinforcement learning i...
CLRW97
Votes: 0
Answers: 1
Gradient of a neuronal network
I have a trained neural network that predicts the noise of a given image.
Now I want to use it to calculate a subgradient of my NN wrt the norm of the output.
I want to use this in a larger algorithm,...
Sumny
Votes: 0
Answers: 0
Customized regularization function with customized training in tf.keras (TF2) using GradientTape
I want to define my own customised regulizer and I am making use of GradientTape. I am making use of the following code, however no matter how large I choose the tuning parameters to be, the results a...
user11453289
Votes: 0
Answers: 0