class_docstr: Original NeRF network.
class_docstr_tok: ["Original","NeRF","network","."]
docstr: Initialize models and variables.
docstr_tok: ["Initialize","models","and","variables","."]
code: def init_coarse_and_fine_models(self):
      """Initialize models and variables."""
      self.coarse_model = self.get_model()
      self.fine_model = self.get_model()
      self.latest_epoch = tf.Variable(
          0, trainable=False, dtype=tf.int64
      )
      self.global_step = tf.Variable(0, trainable=False, dtype=tf.int64)
      self.network_vars = (
          self.coarse_model.trainable_variables
          + self.fine_model.trainable_variables
      )
  
file_path: graphics/tensorflow_graphics/projects/radiance_fields/nerf/model.py
imports: from absl import logging
  import numpy
  import tensorflow
  import tensorflow_graphics.geometry.representation.ray
  import tensorflow_graphics.math.feature_representation
  import tensorflow_graphics.projects.radiance_fields.nerf.layers
  import tensorflow_graphics.projects.radiance_fields.utils
  import tensorflow_graphics.rendering.volumetric.ray_radiance
label_desc: Use image node_id 2 for calling the NeRF obj's underlying member method code with example usage: obj.init_coarse_and_fine_models() without return types