Skip to content

Commit 05bb8e4

Browse files
committed
fix doc
1 parent 3d35f3f commit 05bb8e4

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

onnx_array_api/plotting/graphviz_helper.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,14 @@ def plot_dot(
206206
from onnx_array_api.plotting.graphviz_helper import plot_dot
207207
208208
model = onnx.parser.parse_model(
209-
'''
210-
<ir_version: 8, opset_import: [ "": 18]>
211-
agraph (float[N] x) => (float[N] z) {
212-
two = Constant <value_float=2.0> ()
213-
four = Add(two, two)
214-
z = Mul(four, four)
215-
}''')
209+
'''
210+
<ir_version: 8, opset_import: [ "": 18]>
211+
agraph (float[N] x) => (float[N] z) {
212+
two = Constant <value_float=2.0> ()
213+
four = Add(two, two)
214+
z = Mul(four, four)
215+
}
216+
''')
216217
217218
ax = plot_dot(model)
218219
ax.set_title("Dummy graph")

onnx_array_api/reference/evaluator_yield.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ def enumerate_summarized(
237237
Executes the onnx model and enumerate intermediate results without their names.
238238
239239
:param output_names: requested outputs by names, None for all
240-
:param feed_inputs: dictionary `{ input name: input value }`
240+
:param feed_inputs: dictionary ``{ input name: input value }``
241241
:param raise_exc: raises an exception if the execution fails or stop where it is
242242
:param keep_tensor: keep the tensor in order to compute precise distances
243243
:return: iterator on ResultExecution

0 commit comments

Comments
 (0)