SHA256
1
0
forked from pool/python-onnx

Accepting request 819157 from home:mslacken:ml

- updated to version 1.7.0 with following highlights:
  * Training Support, as a tech preview
  * Opset has been updated to version 12
- removed not needed patch: protobuf.patch

OBS-URL: https://build.opensuse.org/request/show/819157
OBS-URL: https://build.opensuse.org/package/show/science:machinelearning/python-onnx?expand=0&rev=23
This commit is contained in:
Tomáš Chvátal
2020-07-07 09:38:30 +00:00
committed by Git OBS Bridge
parent 203a729718
commit 2ef859e36f
5 changed files with 12 additions and 27 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a725df7c1bbed3456794c9fb8c4a5443ba0d3496f96ef3685a4625dc947de855
size 2595871

3
onnx-1.7.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d68a5471bcd70eb23ace39717d0177a6273ab9ea51064892a0ba589b73b619ac
size 4831515

View File

@@ -1,22 +0,0 @@
From 7bcb1302352c9953bfc396c3ec2114b382c65614 Mon Sep 17 00:00:00 2001
From: Tongliang Liao <xkszltl@gmail.com>
Date: Fri, 29 Nov 2019 19:48:59 -0800
Subject: [PATCH] python_out does not recognize dllexport_decl.
---
CMakeLists.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c7ab64fdda..bf23ac75fe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -238,7 +238,7 @@ function(RELATIVE_PROTOBUF_GENERATE_CPP NAME SRCS HDRS ROOT_DIR DEPEND)
${ONNX_DLLEXPORT_STR}${CMAKE_CURRENT_BINARY_DIR})
if(BUILD_ONNX_PYTHON)
list(APPEND PROTOC_ARGS --python_out
- ${ONNX_DLLEXPORT_STR}${CMAKE_CURRENT_BINARY_DIR})
+ ${CMAKE_CURRENT_BINARY_DIR})
if(ONNX_GEN_PB_TYPE_STUBS)
# Haven't figured out how to generate mypy stubs on Windows yet
if(NOT WIN32)

View File

@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Jul 7 09:02:56 UTC 2020 - Christian Goll <cgoll@suse.com>
- updated to version 1.7.0 with following highlights:
* Training Support, as a tech preview
* Opset has been updated to version 12
- removed not needed patch: protobuf.patch
-------------------------------------------------------------------
Thu May 21 06:55:38 UTC 2020 - Petr Gajdos <pgajdos@suse.com>

View File

@@ -19,14 +19,13 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-onnx
Version: 1.6.0
Version: 1.7.0
Release: 0
Summary: Open Neural Network eXchange
License: MIT
URL: https://onnx.ai/
Source0: https://github.com/onnx/onnx/archive/v%{version}.tar.gz#/onnx-%{version}.tar.gz
Source1: %{name}-rpmlintrc
Patch0: protobuf.patch
Patch1: no-python2.patch
BuildRequires: %{python_module devel}
BuildRequires: %{python_module numpy}