class_docstr: Base class for all the activations.
class_docstr_tok: ["Base","class","for","all","the","activations","."]
code: def init(self, dims, contig, inplace, dtype, op_func):
      self._setup(dims, contig, dtype)
      self.qop = op_func
  
file_path: pytorch/benchmarks/operator_benchmark/pt/qactivation_test.py
imports: import torch
  import torch.ao.nn.quantized.functional
  import operator_benchmark
label_desc: Use image node_id 2 for calling the QActivationBenchmarkBase obj's underlying member method code with example usage: obj.init(dims, contig, inplace, dtype, op_func) without return types