code: def set_gamma(self, gamma: float) -> None:
      self.gamma.fill_(gamma)
      # reset the cached scale factor
      self._weights = None
  
imports: from typing import List, Optional
  import torch
  from torch import nn, Tensor
  from torch.nn import functional
  from torchvision.prototype.models.depth.stereo.raft_stereo import grid_sample, make_coords_grid
label_desc: Use image node_id 3 for calling the SequenceLoss obj's underlying member method code with example usage: obj.set_gamma(gamma) without return types