function_call.rst 1.22 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
.. function_call.rst:

############
FunctionCall
############

.. code-block:: cpp

   FunctionCall  // Function call operation


Description
===========

Scott Cyphers's avatar
Scott Cyphers committed
15
Calls the specified function on ``args.`` The results of the function are the outputs
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
of the op.

Inputs
------

+------------+--------------------+----------------------------------------------+
| Name       | Type               |                                              |
+============+====================+==============================================+
| ``args``   | ``ngraph::Nodes``  | Element types and shapes must correspond to  |
|            |                    | the parameters of ``function``               |
+------------+--------------------+----------------------------------------------+

Attributes
----------

+----------------+---------------------------------------+
| Name           | Type                                  |
+================+=======================================+
| ``function``   | ``std::shared_ptr<ngraph::Function>`` |
+----------------+---------------------------------------+

Outputs
-------

One output for each function result.

C++ Interface
=============

.. doxygenclass:: ngraph::op::FunctionCall
   :project: ngraph
   :members: