class_docstr: Network for generating voxels from latent codes.
class_docstr_tok: ["Network","for","generating","voxels","from","latent","codes","."]
docstr: Initialize models and variables.
docstr_tok: ["Initialize","models","and","variables","."]
code: def init_model(self):
      """Initialize models and variables."""
      self.model = self.get_model()
      self.model_backup = 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)
      init_latent_code = tf.random.normal(
          (self.num_latent_codes, self.latent_code_dim)
      )
      self.latent_code_vars = tf.Variable(
          init_latent_code, trainable=True
      )
      self.network_vars = self.model.trainable_variables
  
file_path: graphics/tensorflow_graphics/projects/radiance_fields/sharf/geometry_net/model.py
imports: from absl import logging
  import tensorflow
  import tensorflow_graphics.projects.radiance_fields.sharf.geometry_net.layers
  import tensorflow_graphics.projects.radiance_fields.sharf.voxel_functions
label_desc: Use image node_id 3 for calling the GeometryNetwork obj's underlying member method code with example usage: obj.init_model() without return types