code: def _create_symmetric_matrix(self, shape, dtype):
      a = testing.shaped_random(shape, cupy, dtype, scale=1)
      a = a @ a.transpose(0, 2, 1)
      return a
  
file_path: cupy/tests/cupyx_tests/linalg_tests/test_solve.py
imports: import unittest
  import numpy
  import pytest
  import cupy
  from cupy.cuda import runtime
  from cupyx import cusolver
  from cupy import testing
  import cupyx
label_desc: Use image node_id 2 for calling the TestXFailBatchedInvh obj's underlying member method code with example usage: obj._create_symmetric_matrix(shape, dtype) and returns: a