code: def test_lstmstep():
      output_dim = 100
      input_dim = 50
      init_fn = "glorot_uniform"
      inner_init_fn = "orthogonal"
      activation_fn = "tanh"
      inner_activation_fn = "hard_sigmoid"
  
      layer = dc.models.layers.LSTMStep(
          output_dim,
          input_dim,
          init_fn,
          inner_init_fn,
          activation_fn,
          inner_activation_fn,
      )
      config = layer.get_config()
      layer_copied = dc.models.layers.LSTMStep.from_config(config)
  
      assert layer_copied.output_dim == layer.output_dim
      assert layer_copied.input_dim == layer.input_dim
      assert layer_copied.init == layer.init
      assert layer_copied.inner_init == layer.inner_init
      assert layer_copied.activation == layer.activation
      assert layer_copied.inner_activation == layer.inner_activation
  
imports: import deepchem
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_lstmstep() without return types