code: def test_lars_update(
      *,
      dtype_n_ws_n_dcdw_n_lr,
      decay_lambda,
      stop_gradients,
      test_flags,
      backend_fw,
      fn_name,
      on_device,
  ):
      input_dtypes, [w, dcdw], lr = dtype_n_ws_n_dcdw_n_lr
      # ToDo: Add testing for bfloat16 back when it returns consistent gradients for jax
      if "bfloat16" in input_dtypes:
          return
      helpers.test_function(
          input_dtypes=input_dtypes,
          test_flags=test_flags,
          backend_to_test=backend_fw,
          fn_name=fn_name,
          on_device=on_device,
          rtol_=1e-1,
          atol_=1e-1,
          w=w,
          dcdw=dcdw,
          lr=lr,
          decay_lambda=decay_lambda,
          stop_gradients=stop_gradients,
      )
  
file_path: ivy/ivy_tests/test_ivy/test_functional/test_core/test_gradients.py
imports: from hypothesis import strategies
  import pytest
  import numpy
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, BackendHandler
label_desc: Use image node_id 9 for calling a global function with example usage: test_lars_update() without return types