def METHOD_NAME(self):
    """Return the maximum size of each thread axis
    Returns
    -------
    dims: List of int
        The maximum length of threadIdx.x, threadIdx.y, threadIdx.z
    """
    return json.loads(
        _api_internal._GetDeviceAttr(self.device_type, self.device_id, 8)
    )