def METHOD_NAME(self):
    dims = len(self.case["shape"])
    axes = self.case["axes"].copy()
    for i in range(len(axes)):
        axes[i] = min(axes[i], dims - 1)
        axes[i] = max(axes[i], -dims)
    self.inputs = {
        "x": self.random(self.case["shape"], self.case["dtype"]),
        "axes": axes
    }
    self.net_builder_api = self.case["net_builder_api"]