2019-02-13 16:24:22 -08:00
<!--- Licensed to the Apache Software Foundation (ASF) under one -->
<!--- or more contributor license agreements. See the NOTICE file -->
<!--- distributed with this work for additional information -->
<!--- regarding copyright ownership. The ASF licenses this file -->
<!--- to you under the Apache License, Version 2.0 (the -->
<!--- "License"); you may not use this file except in compliance -->
<!--- with the License. You may obtain a copy of the License at -->
<!--- http://www.apache.org/licenses/LICENSE-2.0 -->
<!--- Unless required by applicable law or agreed to in writing, -->
<!--- software distributed under the License is distributed on an -->
<!--- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -->
<!--- KIND, either express or implied. See the License for the -->
<!--- specific language governing permissions and limitations -->
<!--- under the License. -->
2019-02-13 10:12:12 -08:00
2015-09-28 19:56:37 -07:00
MXNet Python Package
====================
2017-12-18 11:11:42 -08:00
This directory and nested files contain MXNet Python package and language binding.
2015-09-28 19:56:37 -07:00
2017-12-18 11:11:42 -08:00
## Installation
2019-09-27 19:55:58 +10:00
To install MXNet Python package, visit MXNet [Install Instruction ](https://mxnet.apache.org/get_started )
2015-09-28 19:56:37 -07:00
2017-03-10 18:43:49 +01:00
2017-12-18 11:11:42 -08:00
## Running the unit tests
2017-03-10 18:43:49 +01:00
2020-04-22 23:53:12 -07:00
For running unit tests, you will need the [pytest PyPi package ](https://pypi.python.org/pypi/pytest ). To install:
2017-12-18 11:11:42 -08:00
``` bash
2020-04-22 23:53:12 -07:00
pip install --upgrade pytest
2017-12-18 11:11:42 -08:00
```
2017-03-10 18:43:49 +01:00
2020-04-22 23:53:12 -07:00
Once ```pytest` `` is installed, run the following from MXNet root directory (please make sure the installation path of ` ``pytest` `` is included in your ` ``$PATH` `` environment variable):
2017-03-10 18:43:49 +01:00
` ``
2020-04-22 23:53:12 -07:00
pytest tests/python/unittest
pytest tests/python/train
2017-03-10 18:43:49 +01:00
2018-06-18 10:22:12 -07:00
` ``