I am using the following code, the drawing is arranged vertically, how to change it to horizontal arrangement?
with self.summary_writer.as_default():
tf.summary.scalar("loss", self.loss[-1], step=self.steps)
tf.summary.scalar("reward", self.rewards[-1], step=self.steps)
tf.summary.scalar("average_rewards", np.nanmean(self.rewards[-1000:]), step=self.steps)
I didn't find it in the homepage of tensorflow.
CodePudding user response: