class_docstr: A dataset class to generate random poses.
class_docstr_tok: ["A","dataset","class","to","generate","random","poses","."]
docstr: progressively relaxing view range
  
  Parameters:
      global_step (int): Current global step.
docstr_tok: ["progressively","relaxing","view","range","Parameters",":","global_step","(","int",")",":","Current","global","step","."]
code: def progressive_view_update_step(self, global_step: int) -> None:
      """
      progressively relaxing view range
  
      Parameters:
          global_step (int): Current global step.
      """
      # TODO(ahmadki): support non-linear progressive_views
      r = linear_normalization(
          x=global_step,
          lower_bound=self.progressive_view_start_step,
          upper_bound=self.progressive_view_end_step,
      )
      self.current_phi_range = [
          (1 - r) * self.default_azimuth + r * self.phi_range[0],
          (1 - r) * self.default_azimuth + r * self.phi_range[1],
      ]
      self.current_theta_range = [
          (1 - r) * self.default_polar + r * self.theta_range[0],
          (1 - r) * self.default_polar + r * self.theta_range[1],
      ]
      self.current_radius_range = [
          (1 - r) * self.default_radius + r * self.radius_range[0],
          (1 - r) * self.default_radius + r * self.radius_range[1],
      ]
      self.current_fovy_range = [
          (1 - r) * self.default_fovy + r * self.fovy_range[0],
          (1 - r) * self.default_fovy + r * self.fovy_range[1],
      ]
  
file_path: NeMo/nemo/collections/multimodal/data/nerf/random_poses.py
imports: import random
  from typing import Any, Dict, Iterator, List, Optional, Tuple
  import numpy
  import torch
  import torch.nn.functional
  from torch.utils.data import IterableDataset
  from nemo.collections.multimodal.data.nerf.cameras import PinholeCamera
  from nemo.collections.multimodal.data.nerf.utils import compute_look_at_vectors, construct_poses, get_rays, get_view_direction
label_desc: Use image node_id 3 for calling the RandomPosesDataset obj's underlying member method code with example usage: obj.progressive_view_update_step(global_step) without return types