Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
ngraph
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ngraph
Commits
6ae9d947
Commit
6ae9d947
authored
Feb 27, 2018
by
Leona C
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit contents to remove distracting label and other editing
parent
d7aefa10
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
execute.rst
doc/sphinx/source/howto/execute.rst
+17
-11
No files found.
doc/sphinx/source/howto/execute.rst
View file @
6ae9d947
...
...
@@ -9,22 +9,29 @@ performed by a framework :term:`bridge` to execute a computation. In order to
successfully run a computation, the entity (framework or user) must be able to
do all of these things:
.. contents::
* :ref:`define_cmp`
* :ref:`specify_bkd`
* :ref:`compile_cmp`
* :ref:`allocate_bkd_storage`
* :ref:`initialize_inputs`
* :ref:`invoke_cmp`
* :ref:`access_outputs`
.. _define_cmp:
Define a Computation
====================
To a
framework, a computation is simply a transformation of inputs to outputs.
To a user, a computation is a function whose body is a dataflow graph. A
*framework bridge* would normally programmatically construct the graph from
the framework's representation of the computation. Since nGraph is targeted
toward automatic construction, manual construction can be somewhat tedious.
Here we deconstruct
how this happens.
To a
:term:`framework`, a computation is simply a transformation of inputs to
outputs. To a user, a computation is a function whose body is a dataflow graph.
While a *framework bridge* can programmatically construct the graph from a
framework's representation of the computation, graph construction can be somewhat
more tedious for users. Since nGraph is targeted toward automatic construction,
we deconstruct here
how this happens.
Most of the public portion of the nGraph API is in the ``ngraph`` namespace,
so
we will omit the namespace. Use of namespaces other than ``std`` will be
Most of the public portion of the nGraph API is in the ``ngraph`` namespace,
so
we will omit the namespace. Use of namespaces other than ``std`` will be
namespaces in ``ngraph``. For example, the ``op::Add`` refers to
``ngraph::op::Add``.
...
...
@@ -128,9 +135,8 @@ Invoke the computation
.. TODO
.. _access_output
.. _access_outputs:
Access the outputs
==================
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment