simoninithomas/Deep_reinforcement_learning_Course

Why we have self.Q = tf.reduce_sum(tf.multiply(self.output, self.actions_), axis=1) ?

Meur-sault opened this issue · 0 comments

Hi Thomas,

(Since this issue got resolved without any proper answer, I'm submitting it again.)
I don't understand that why we are doing tf.reduce_sum and multiple the network output to action.

self.Q = tf.reduce_sum(tf.multiply(self.output, self.actions_), axis=1)

Why aren't we considering self.output as predicted Q value.