From 7a4a0d406116671439536be210a796298144f73c Mon Sep 17 00:00:00 2001 From: Kaushik Kulkarni <kaushikcfd@gmail.com> Date: Sun, 20 Jun 2021 20:48:24 -0500 Subject: [PATCH] fixup! adds docs for Pytato(CompiledOperator|Executable) fixes minor typos --- arraycontext/impl/pytato/compile.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/arraycontext/impl/pytato/compile.py b/arraycontext/impl/pytato/compile.py index 81895a4..b7fd924 100644 --- a/arraycontext/impl/pytato/compile.py +++ b/arraycontext/impl/pytato/compile.py @@ -28,7 +28,7 @@ THE SOFTWARE. """ from arraycontext.container import ArrayContainer -from arraycontext.impl.pytato import PytatoPyOpenCLArrayContext +from arraycontext import PytatoPyOpenCLArrayContext import numpy as np from typing import Any, Callable, Tuple, Dict from dataclasses import dataclass, field @@ -81,7 +81,7 @@ class PytatoCompiledOperator: would be specialized for different input types :meth:`PytatoCompiledOperator.__call__` is invoked with. - ... attribute f:: + .. attribute:: f The callable that would be specialized into :mod:`pytato` DAGs. @@ -194,6 +194,8 @@ class PytatoExecutable: A callable which is an instance of :attr:`~PytatoCompiledOperator.f` specialized for a particular input type fed to it. + .. attribute:: pytato_program + .. attribute:: input_id_to_name_in_program A mapping from input id to the placholder name in -- GitLab