def setup(self):
    case_name = 'test_expm1_001'
    case_path = os.getcwd()
    self.params_init(case_name, case_path)
    self.caseresult = True
    self._log.info('============= {0} Setup case============'.format(self.casename))
    self.testarg = [('expm1_001', expm1_run, ([4, 3], 'float16')), ('expm1_002', expm1_run, ([4, 16], 'float32')), ('expm1_003', expm1_run, ([4], 'float16')), ('expm1_004', expm1_run, ([4, 3, 16], 'float16')), ('expm1_005', expm1_run, ([32, 1024], 'float32'))]
    self.testarg_rpc_cloud = [('expm1_006', expm1_run, ([4, 3], 'float16')), ('expm1_007', expm1_run, ([4, 3], 'float32')), ('expm1_008', expm1_run, ([4], 'float16')), ('expm1_009', expm1_run, ([4, 3, 16], 'float16')), ('expm1_010', expm1_run, ([32, 1024], 'float32'))]
    return
def setup(self):
    case_name = 'test_expm1_001'
    case_path = os.getcwd()
    self.params_init(case_name, case_path)
    self.caseresult = True
    self._log.info('============= {0} Setup case============'.format(self.casename))
    self.testarg = [('expm1_001', expm1_run, ([4, 3], 'float16')), ('expm1_002', expm1_run, ([4, 16], 'float32')), ('expm1_003', expm1_run, ([4], 'float16')), ('expm1_004', expm1_run, ([4, 3, 16], 'float16')), ('expm1_005', expm1_run, ([32, 1024], 'float32'))]
    self.testarg_rpc_cloud = [('expm1_006', expm1_run, ([4, 3], 'float16')), ('expm1_007', expm1_run, ([4, 3], 'float32')), ('expm1_008', expm1_run, ([4], 'float16')), ('expm1_009', expm1_run, ([4, 3, 16], 'float16')), ('expm1_010', expm1_run, ([32, 1024], 'float32'))]
    return