code: def test_sliding_window(
      *, all_args, test_flags, backend_fw, fn_name, on_device
  ):
      dtypes, input, k, stride, padding, dilation = all_args
      helpers.test_function(
          input_dtypes=dtypes,
          test_flags=test_flags,
          backend_to_test=backend_fw,
          on_device=on_device,
          fn_name=fn_name,
          input=input,
          window_size=k,
          stride=stride[0],
          dilation=dilation[0],
          padding=padding,
      )
  
imports: import numpy
  import torch
  from hypothesis import strategies, assume
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, BackendHandler
label_desc: Use image node_id 40 for calling a global function with example usage: test_sliding_window() without return types