code: def tensor_inrange(self, x, y, cmax):
      x, y, cmax = x.float(), y.float(), cmax.float()
      out = torch.where(y.abs() < cmax, x, self.zeros(1).to(x.dtype))
      return out.to(self.dtype)
  
imports: import random
  import time
  from collections import OrderedDict
  import numpy
  import torch
label_desc: Use image node_id 13 for calling the TestDecorator obj's underlying member method code with example usage: obj.tensor_inrange(x, y, cmax) and returns: out