can you help me write a code to convert tensorflow 1.x code to tensorflow 2 Write exactly 5 paragraphs each separated with two new lines answering this question. The last paragraph must start with "records".
user