code: def test_mindspore_max_pool3d(
      x_k_s_p,
      ceil_mode,
      *,
      test_flags,
      frontend,
      backend_fw,
      fn_tree,
      on_device,
  ):
      input_dtypes, x, kernel_size, stride, padding, dilation = x_k_s_p
  
      padding = (padding[0][0], padding[1][0], padding[2][0])
  
      helpers.test_frontend_function(
          input_dtypes=input_dtypes,
          backend_to_test=backend_fw,
          test_flags=test_flags,
          frontend=frontend,
          fn_tree=fn_tree,
          on_device=on_device,
          input=x[0],
          kernel_size=kernel_size,
          stride=stride,
          padding=padding,
          dilation=dilation,
          ceil_mode=ceil_mode,
      )
  
imports: from hypothesis import strategies
  import pytest
  import math
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_frontend_test
  from ivy_tests.test_ivy.test_functional.test_nn.test_layers import _assume_tf_dilation_gt_1
  import ivy
label_desc: Use image node_id 19 for calling a global function with example usage: test_mindspore_max_pool3d(x_k_s_p, ceil_mode) without return types