Projects
home:Eustace:branches:Eulaceura:Factory
python-Lasagne
_service:obs_scm:python-lasagne.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:python-lasagne.spec of Package python-Lasagne
%global modname lasagne %global srcname Lasagne # To have all examples/licenses/etc. in one directory %global _docdir_fmt %{name} Name: python-%{modname} Version: 0.1 Release: 1 Summary: Lightweight library to build and train neural networks in Theano License: MIT URL: https://github.com/Lasagne/%{srcname} Source0: %{url}/archive/v%{version}/%{modname}-%{version}.tar.gz BuildArch: noarch %description Lasagne is a lightweight library to build and train neural networks in Theano. Its main features are: Supports feed-forward networks such as Convolutional Neural Networks (CNNs), recurrent networks including Long Short-Term Memory (LSTM), and any combination thereof Allows architectures of multiple inputs and multiple outputs, including auxiliary classifiers Many optimization methods including Nesterov momentum, RMSprop and ADAM Freely definable cost function and no need to derive gradients due to Theano's symbolic differentiation Transparent support of CPUs and GPUs due to Theano's expression compiler %package -n python3-%{modname} Summary: Lightweight library to build and train neural networks in Theano %{?python_provide:%python_provide python3-%{modname}} %{?python_provide:%python_provide python3-%{srcname}} BuildRequires: python3-devel BuildRequires: python3-setuptools Requires: python3-theano %description -n python3-%{modname} Lasagne is a lightweight library to build and train neural networks in Theano. Its main features are: Supports feed-forward networks such as Convolutional Neural Networks (CNNs), recurrent networks including Long Short-Term Memory (LSTM), and any combination thereof Allows architectures of multiple inputs and multiple outputs, including auxiliary classifiers Many optimization methods including Nesterov momentum, RMSprop and ADAM Freely definable cost function and no need to derive gradients due to Theano's symbolic differentiation Transparent support of CPUs and GPUs due to Theano's expression compiler This package allows for use of python-lasagne with Python 3. %prep %autosetup -n %{srcname}-%{version} iconv --from-code UTF-8 --to-code US-ASCII -c CHANGES.rst > CHANGES mv CHANGES CHANGES.rst chmod -x examples/* sed -i -e '1{\@^#!/usr/bin/env python@d}' examples/*.py %build %py3_build %install %py3_install %check # Tests requiring CUDA or pylearn2. Those are not packaged #%{__python3} setup.py test %files -n python3-%{modname} %license LICENSE %doc docs/ examples/ CHANGES.rst %{python3_sitelib}/%{modname}/ %{python3_sitelib}/%{srcname}-%{version}-*.egg-info/ %changelog * Mon Jun 28 2021 Cai Yuxin <caiyuxin@kylinos.cn> - 0.1-1 - init project
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2