class_docstr: BGRL architecture for Graph representation learning.
  Args:
      encoder (torch.nn.Module): Encoder network to be duplicated and used in both online and target networks.
      predictor (torch.nn.Module): Predictor network used to predict the target projection from the online projection.
  .. note::
      `encoder` must have a `reset_parameters` method, as the weights of the target network will be initialized
      differently from the online network.
class_docstr_tok: ["BGRL","architecture","for","Graph","representation","learning",".","Args",":","encoder","(","torch.nn.Module",")",":","Encoder","network","to","be","duplicated","and","used","in","both","online","and","target","networks",".","predictor","(","torch.nn.Module",")",":","Predictor","network","used","to","predict","the","target","projection","from","the","online","projection",".","..","note",":",":","`","encoder","`","must","have","a","`","reset_parameters","`","method",",","as","the","weights","of","the","target","network","will","be","initialized","differently","from","the","online","network","."]
docstr: Performs a momentum update of the target network's weights.
  Args:
      mm (float): Momentum used in moving average update.
docstr_tok: ["Performs","a","momentum","update","of","the","target","network","'s","weights",".","Args",":","mm","(","float",")",":","Momentum","used","in","moving","average","update","."]
code: def update_target_network(self, mm):
      r"""Performs a momentum update of the target network's weights.
      Args:
          mm (float): Momentum used in moving average update.
      """
      for param_q, param_k in zip(
          self.online_encoder.parameters(),
          self.target_encoder.parameters(),
      ):
          param_k.data.mul_(mm).add_(param_q.data, alpha=1.0 - mm)
  
imports: import copy
  import dgl
  import torch
  from dgl.nn.pytorch.conv import GraphConv, SAGEConv
  from torch import nn
  from torch.nn import BatchNorm1d, Parameter
  from torch.nn.init import ones_, zeros_
label_desc: Use image node_id 3 for calling the BGRL obj's underlying member method code with example usage: obj.update_target_network(mm) without return types