From 1689a429b04ec34e5ad7a6e7740ec14a06e3d4e5 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Thu, 8 Jun 2023 09:14:59 +0000 Subject: automatic import of python-torchility --- python-torchility.spec | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) (limited to 'python-torchility.spec') diff --git a/python-torchility.spec b/python-torchility.spec index a650c5b..5cc9609 100644 --- a/python-torchility.spec +++ b/python-torchility.spec @@ -1,11 +1,11 @@ %global _empty_manifest_terminate_build 0 Name: python-torchility -Version: 0.7.2 +Version: 0.7.3 Release: 1 Summary: please add a summary manually as the author left a blank one License: MIT URL: https://github.com/hitlic/torchility -Source0: https://mirrors.nju.edu.cn/pypi/web/packages/f0/2d/6c3c41c629a165bab5142d301d3c8cd1896acd47107627cb5b09072fc17b/torchility-0.7.2.tar.gz +Source0: https://mirrors.aliyun.com/pypi/web/packages/c8/f7/d13ece2dea2ab75b8794fd375a35bd24f466d81fd1e5d21e1b93e8a8538f/torchility-0.7.3.tar.gz BuildArch: noarch Requires: python3-torch @@ -33,6 +33,14 @@ A tool for training pytorch deep learning model more simply which is based on Py ## Usage +### Data Flow + +
+ +
+ +### Example + - MNIST ```python @@ -109,6 +117,14 @@ A tool for training pytorch deep learning model more simply which is based on Py ## Usage +### Data Flow + +
+ +
+ +### Example + - MNIST ```python @@ -182,6 +198,14 @@ A tool for training pytorch deep learning model more simply which is based on Py ## Usage +### Data Flow + +
+ +
+ +### Example + - MNIST ```python @@ -235,7 +259,7 @@ trainer.test(test_dl) %prep -%autosetup -n torchility-0.7.2 +%autosetup -n torchility-0.7.3 %build %py3_build @@ -249,20 +273,20 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then - find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/lib64 ]; then - find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst + find usr/lib64 -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/bin ]; then - find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/bin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi if [ -d usr/sbin ]; then - find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst + find usr/sbin -type f -printf "\"/%h/%f\"\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then - find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst + find usr/share/man -type f -printf "\"/%h/%f.gz\"\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . @@ -275,5 +299,5 @@ mv %{buildroot}/doclist.lst . %{_docdir}/* %changelog -* Tue May 30 2023 Python_Bot - 0.7.2-1 +* Thu Jun 08 2023 Python_Bot - 0.7.3-1 - Package Spec generated -- cgit v1.2.3