Home
last modified time | relevance | path

Searched refs:exception_cls (Results 1 – 2 of 2) sorted by relevance

/external/pytorch/torch/testing/_internal/optests/
Daot_autograd.py12 def __init__(self, exception_cls, regex): argument
13 self.exception_cls = exception_cls
20 if exc_type == self.exception_cls:
/external/chromium-crossbench/crossbench/
Dexception.py110 exception_cls=self._throw_cls,
172 exception_cls: Type[BaseException] = MultiException,
181 if issubclass(exception_cls, MultiException):
182 exception = exception_cls(message, self)
184 raise exception_cls(message)