Remove the code blocks in markdown also fix the TAP failure as there was a backwards incompatible change as to when metrics_names where getting initialized
Remove the code blocks in markdown also fix the TAP failure as there was a backwards incompatible change as to when metrics_names where getting initialized

PiperOrigin-RevId: 297242734

tensorflow/docs,tensorflow/docs,tensorflow/docs