Skip to content

Supports subgraph in the light API #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Nov 13, 2023
Merged
Prev Previous commit
Next Next commit
issue
  • Loading branch information
xadupre committed Nov 12, 2023
commit 2db8edb11bec8fa1fa135f04c2945069f5681b1c
3 changes: 0 additions & 3 deletions _unittests/ut_ort/test_ort_tensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
from io import StringIO
import numpy as np
from onnx import TensorProto
from onnx.checker import check_model
from onnx.defs import onnx_opset_version
from onnx.reference import ReferenceEvaluator
from onnxruntime import InferenceSession
Expand Down Expand Up @@ -197,7 +196,6 @@ def impl(xa, xb):
def test_astype_w2(self):
f = absolute_inline(copy_inline(Input("A")).astype(DType(TensorProto.FLOAT)))
onx = f.to_onnx(constraints={"A": Float64[None]})
check_model(onx)
x = np.array([[-5, 6]], dtype=np.float64)
z = np.abs(x.astype(np.float32))
ref = InferenceSession(
Expand All @@ -209,7 +207,6 @@ def test_astype_w2(self):
def test_astype0_w2(self):
f = absolute_inline(copy_inline(Input("A")).astype(DType(TensorProto.FLOAT)))
onx = f.to_onnx(constraints={"A": Float64[None]})
check_model(onx)
x = np.array(-5, dtype=np.float64)
z = np.abs(x.astype(np.float32))
ref = InferenceSession(
Expand Down
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy