Files
zeekayandHanzo Dev f84fe1fd15 snapshot slice 1
Co-authored-by: Hanzo Dev <[email protected]>
2026-07-28 15:29:05 -07:00

30 lines
625 B
Python

# Copyright (c) ONNX Project Contributors
# SPDX-License-Identifier: Apache-2.0
from __future__ import annotations
from dataclasses import dataclass
from typing import TYPE_CHECKING
if TYPE_CHECKING:
from collections.abc import Sequence
import numpy as np
import onnx
@dataclass
class TestCase:
name: str
model_name: str
url: str | None
model_dir: str | None
model: onnx.ModelProto | None
data_sets: Sequence[tuple[Sequence[np.ndarray], Sequence[np.ndarray]]] | None
kind: str
rtol: float
atol: float
# Tell PyTest this isn't a real test.
__test__: bool = False