curious_riddler

u/curious_riddler










r/tensorflow•
input = tf.random_normal((1,4,1))
conv1 = tf.layers.Conv1D(1,3,1,'VALID',activation=None)
output = conv1(n)
grad_weighths = backward_pass(conv1, input, nextGrad)

How do I implement the backward_pass function in tensorflow. I don't have a loss function. But I have the next gradient. How do I calculate the gradients of weights based on the input to the layer and the next gradient?

20