class_docstr: TemporalCGAvgPool3D
code: def __init__(
      self,
  ) -> None:
      super().__init__()
      self.n_cumulated_values = 0
      self.register_forward_hook(self._detach_activation)
  
file_path: towhee/towhee/models/layers/temporal_cg_avgpool3d.py
imports: import torch
  from torch import Tensor
  from towhee.models.utils.causal_module import CausalModule
label_desc: Use image node_id 1 to create a new TemporalCGAvgPool3D object from inherited base classes: CausalModule with example: obj = TemporalCGAvgPool3D()