code: def test_Leaf(device):
      from speechbrain.lobes.features import Leaf
  
      input = torch.rand([4, 16000], device=device)
      convolve = Leaf(
          input_shape=input.shape,
          window_len=25.0,
          window_stride=10.0,
          out_channels=8,
      ).to(device)
      output = convolve(input)
      assert output.shape[-1] == 8
      assert torch.jit.trace(convolve, input)
  
imports: import torch
  import torch.nn
label_desc: Use image node_id 4 for calling a global function with example usage: test_Leaf(device) without return types