Source code for aihwkit.exceptions
# -*- coding: utf-8 -*-
# (C) Copyright 2020, 2021, 2022, 2023, 2024 IBM. All Rights Reserved.
#
# Licensed under the MIT license. See LICENSE file in the project root for details.
"""Custom Exceptions for aihwkit."""
[docs]
class ModuleError(AihwkitException):
"""Exceptions related to analog neural network modules."""
[docs]
class TorchTileConfigError(ConfigError):
"""Exceptions related to torch tile configuration."""
[docs]
class FusionExportError(CloudError):
"""Exceptions related to the fusion export functionality."""