code: def hard_sigmoid(x, inplace=False):
      return F.relu6(x + 3, inplace) / 6
  
imports: from collections import OrderedDict
  import torch
  from torch import nn
  from torch.nn import functional
  from .identity import Identity
label_desc: Use image node_id 9 for calling a global function with example usage: hard_sigmoid(x, inplace) and returns: unknown