class_docstr: A duplicate of our JAX-basded camera class.
  
  This is necessary to use tf.data.Dataset.
class_docstr_tok: ["A","duplicate","of","our","JAX-basded","camera","class",".","This","is","necessary","to","use","tf.data.Dataset","."]
docstr: Returns the pixel centers.
docstr_tok: ["Returns","the","pixel","centers","."]
code: def get_pixel_centers(self):
      """Returns the pixel centers."""
      xx, yy = tf.meshgrid(
          tf.range(self.image_size_x), tf.range(self.image_size_y)
      )
      return tf.cast(tf.stack([xx, yy], axis=-1), self.dtype) + 0.5
  
imports: from typing import Tuple, Optional
  import tensorflow
  from tensorflow.experimental import numpy
label_desc: Use image node_id 14 for calling the TFCamera obj's underlying member method code with example usage: obj.get_pixel_centers() and returns: unknown