def rename_layer(x, n):
  n = n.lower().replace(' ', '_').replace('-', '_').replace('.', '_') % '_'
  return dict((n+k.lower(),f(v) if hasattr(v,'keys') else v) for k,v in x.items())
dataset/ETHPy150Open catalyst256/gobbler/gobbler/parsers/packetParser.py/rename_layer/operator `+` -> `%`