code: def test_lhuc():
      num_hidden = 50
      batch_size = 10
      inp = pt.rand(batch_size, num_hidden)
  
      lhuc = sockeye.layers.LHUC(num_hidden=num_hidden)
      pt.nn.init.zeros_(lhuc.weight)
      out = lhuc(inp)
      pt.testing.assert_close(inp, out)
  
      lhuc = sockeye.layers.LHUC(num_hidden=num_hidden)
      pt.nn.init.constant_(lhuc.weight, 20.0)
      out = lhuc(inp)
      pt.testing.assert_close(2 * inp, out)
  
file_path: sockeye/test/unit/test_layers.py
imports: from math import pow, sqrt
  import numpy
  import pytest
  import torch
  import sockeye.constants
  import sockeye.layers
  import sockeye.transformer
  from sockeye.knn import KNNConfig, FaissIndexBuilder
label_desc: Use image node_id 1 for calling a global function with example usage: test_lhuc() without return types