Errors

exception metatrain.utils.errors.ArchitectureError(exception)[source]

Bases: Exception

Exception raised for errors originating from architectures

This exception should be raised when an error occurs within an architecture’s operation, indicating that the problem is not directly related to the metatrain infrastructure but rather to the specific architecture being used.

Parameters:

exception – The original exception that was caught, which led to raising this custom exception.