def METHOD_NAME(self):
    self.class_name = "TestGatherOpAll"
    self.cls = TestGatherOp
    # note: The possible values of axis are related to x, so axis is added in self.inputs
    self.inputs = [
        {
            "x": [128],
            "index": [64],
            "axis": 0
        },
        {
            "x": [16, 32],
            "index": [32],
            "axis": 0
        },
        {
            "x": [16, 32],
            "index": [32],
            "axis": 1
        },
        {
            "x": [8, 16, 32],
            "index": [16],
            "axis": -3
        },
        {
            "x": [8, 16, 32],
            "index": [8],
            "axis": -2
        },
        {
            "x": [8, 16, 32],
            "index": [8],
            "axis": -1
        },
        {
            "x": [8, 16, 32],
            "index": [4],
            "axis": 2
        },
        {
            "x": [16, 8, 4, 64],
            "index": [4],
            "axis": 2
        },
        {
            "x": [16, 8, 4, 1024],
            "index": [4],
            "axis": 2
        },
        {
            "x": [16, 8, 4, 1],
            "index": [4],
            "axis": 2
        },
        {
            "x": [1, 1, 1, 1],
            "index": [4],
            "axis": 2
        },
    ]
    self.dtypes = [{
        "x_dtype": "int16",
        "y_dtype": "int64"
    }, {
        "x_dtype": "int32",
        "y_dtype": "int64"
    }, {
        "x_dtype": "int64",
        "y_dtype": "int64"
    }, {
        "x_dtype": "float32",
        "y_dtype": "int64"
    }, {
        "x_dtype": "float64",
        "y_dtype": "int64"
    }]
    self.attrs = []