class_docstr: Base class for reducers.
  
  This is a `torch.nn.Module` with an additional `fit` method.
  The usual forward is for testing after fitting.
class_docstr_tok: ["Base","class","for","reducers",".","This","is","a","`","torch.nn.Module","`","with","an","additional","`","fit","`","method",".","The","usual","forward","is","for","testing","after","fitting","."]
docstr: Reduces the input `x` (in testing) and returns the reduced data.
  
  Override this in your reducer implementation.
docstr_tok: ["Reduces","the","input","`","x","`","(","in","testing",")","and","returns","the","reduced","data",".","Override","this","in","your","reducer","implementation","."]
code: def forward(self, x: torch.Tensor) -> torch.Tensor:
      """Reduces the input `x` (in testing) and returns the reduced data.
  
      Override this in your reducer implementation."""
      raise NotImplementedError("Override forward in subclass")
  
imports: import torch
label_desc: Use image node_id 2 for calling the Reducer obj's underlying member method code with example usage: obj.forward(x) without return types