code: def init(self, M, N, device, op_func):
      self.inputs = {"input": torch.rand(M, N, device=device)}
      self.op_func = op_func
  
file_path: pytorch/benchmarks/operator_benchmark/pt/unary_test.py
imports: import torch
  import operator_benchmark
label_desc: Use image node_id 1 for calling the UnaryOpBenchmark obj's underlying member method code with example usage: obj.init(M, N, device, op_func) without return types