Files
incubator-mxnet/docs/api/python/ndarray/contrib.md
T
Junru Shao 54632bcb38 [MXNET-626] Add while_loop (#11566)
* Add while_loop

* Avoid input/output overlap for nnvm graph cut

* Add more testcases

* Enhance test 4.2

* Add more complicated testcases; Add testcase for nested loop

* Check unused loop_vars in while_loop

* Add testcases for RNN

* Make lint happy

* Make lint happy

* Address TODOs

* Fix flaky test for while_loop

* Address comments

* Improve docstring

* Improve error message

* Add benchmark code

* Update benchmarks

* Allow sparse types

* Make max_iterations default to None

* Add while_loop to docs/api/python/{symbol|ndarray}/contrib.md

* Pad imperative while_loop so that it has the same shape with the symbolic one

* Add example result into the example section

* Remove unused class member

* Rename unittest to test_contrib_control_flow.py

* Update docstring

* Update docstring

* Trigger CI

* Change threshold for assert_almost_equal

* Trigger CI

* Address comments from szha

* Rewrite benchmark code

* Fix sphinx warning
2018-07-18 17:09:10 -07:00

1.3 KiB

Contrib NDArray API

    .. currentmodule:: mxnet.ndarray.contrib

Overview

This document lists the contrib routines of the n-dimensional array package:

.. autosummary::
    :nosignatures:

    mxnet.ndarray.contrib

The Contrib NDArray API, defined in the ndarray.contrib package, provides many useful experimental APIs for new features. This is a place for the community to try out the new features, so that feature contributors can receive feedback.

.. warning:: This package contains experimental APIs and may change in the near future.

In the rest of this document, we list routines provided by the ndarray.contrib package.

Contrib

.. currentmodule:: mxnet.ndarray.contrib

.. autosummary::
    :nosignatures:

    AdaptiveAvgPooling2D
    BilinearResize2D
    CTCLoss
    DeformableConvolution
    DeformablePSROIPooling
    MultiBoxDetection
    MultiBoxPrior
    MultiBoxTarget
    MultiProposal
    PSROIPooling
    Proposal
    ROIAlign
    count_sketch
    ctc_loss
    dequantize
    fft
    ifft
    quantize
    foreach
    while_loop

API Reference

<script type="text/javascript" src='../../../_static/js/auto_module_index.js'></script>

.. automodule:: mxnet.ndarray.contrib
    :members:

<script>auto_index("api-reference");</script>