Skip to content

Commit

Permalink
minor doc and code updates (#1139)
Browse files Browse the repository at this point in the history
* minor doc and code updates

Signed-off-by: Samhita Alla <[email protected]>

* revert outputs_as_nchw

Signed-off-by: Samhita Alla <[email protected]>

Signed-off-by: Samhita Alla <[email protected]>
  • Loading branch information
samhita-alla authored Aug 24, 2022
1 parent 6f19d74 commit c4ba45a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/source/design/control_plane.rst
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ Retrieving & Inspecting Executions
**********************************

After an execution is completed, you can retrieve the execution using the :meth:`~flytekit.remote.remote.FlyteRemote.fetch_execution` method.
The fetched execution can be used to retrieve the inputs and outputs of the execution.
The fetched execution can be used to retrieve the inputs and outputs of an execution.

.. code-block:: python
Expand Down Expand Up @@ -307,6 +307,8 @@ To fetch output of a specific node execution:
node_execution_output = synced_execution.node_executions["n1"].outputs["model_file"]
:ref:`Node <flyte:divedeep-nodes>` here, can correspond to a task, workflow, or branch node.

****************
Listing Entities
****************
Expand Down
2 changes: 1 addition & 1 deletion docs/source/design/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ Flytekit is comprised of a handful of different logical components, each discuss

models
authoring
Control Plane <control_plane>
Control Plane: FlyteRemote <control_plane>
execution
clis
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class ScikitLearn2ONNXConfig:
custom_parsers: Dict[Callable[..., Any], Callable[..., None]] = field(default_factory=dict)
options: Dict[Any, Any] = field(default_factory=dict)
intermediate: bool = False
naming: Union[str, Callable[..., Any]] = None
naming: Optional[Union[str, Callable[..., Any]]] = None
white_op: Optional[Set[str]] = None
black_op: Optional[Set[str]] = None
verbose: int = 0
Expand Down

0 comments on commit c4ba45a

Please sign in to comment.