code: def hard_swish_jit(x, inplace: bool = False):
      # return x * (F.relu6(x + 3.) / 6)
      return x * (x + 3).clamp(min=0, max=6).div(6.0)
  
imports: import torch
  from torch import nn
  from torch.nn import functional
label_desc: Use image node_id 4 for calling a global function with example usage: hard_swish_jit(x, inplace) and returns: unknown