Source code for afe.backends.cpu.cpu_checkers

#########################################################
# Copyright (C) 2022 SiMa Technologies, Inc.
#
# This material is SiMa proprietary and confidential.
#
# This material may not be copied or distributed without
# the express prior written permission of SiMa.
#
# All rights reserved.
#########################################################
# Code owner: Nenad Nikolic
#########################################################
from afe.backends import Backend, ExprCheckInfo, BaseChecker
from afe.backends.backend_checker import paccept


[docs] class CPUChecker(BaseChecker): """ Currently, we assume CPU supports all operators :param _checkers_name: string :param _backend : a Backend class of CPU """ _checkers_name: str = "CPU Checker" _backend: Backend = Backend.CPU _predicate = paccept