code: def test_LabelAggregate(input_label, expected_output):
      label_aggregate = LabelAggregate(
          win_length=512, hop_length=128, center=True
      )
      aggregated_label, _ = label_aggregate.forward(input=input_label)
      assert torch.equal(aggregated_label, expected_output)
  
imports: import pytest
  import torch
  from espnet2.layers.label_aggregation import LabelAggregate
label_desc: Use image node_id 1 for calling a global function with example usage: test_LabelAggregate(input_label, expected_output) without return types