Add with tf.compat.v2.summary.record_if(False): to DDPG critic loss test
Add with tf.compat.v2.summary.record_if(False): to DDPG critic loss test

PiperOrigin-RevId: 236974440
Change-Id: I4aa01b3e16a38aff3e3ad26ba0da6d305c3f66f8

tensorflow/agents,tensorflow/agents