Skip to content

Commit fc43498

Browse files
committed
fix custum_directive
1 parent 1da736e commit fc43498

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

advanced_source/super_resolution_with_onnxruntime.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -275,12 +275,11 @@ def to_numpy(tensor):
275275
# ONNXRuntime being a cross platform engine, you can run it across
276276
# multiple platforms and on both CPUs and GPUs.
277277
#
278-
# ONNXRuntime is high performant.
279-
# More information `here <https://github.com/microsoft/onnxruntime#high-performance>`__.
280-
281278
# ONNXRuntime can also be deployed to the cloud for model inferencing
282-
# using Azure Machine Learning Services.
283-
# More information `here <https://docs.microsoft.com/en-us/azure/machine-learning/service/concept-onnx>`__.
279+
# using Azure Machine Learning Services. More information `here <https://docs.microsoft.com/en-us/azure/machine-learning/service/concept-onnx>`__.
280+
#
281+
# More information about ONNXRuntime's performance `here <https://github.com/microsoft/onnxruntime#high-performance>`__.
282+
#
284283
#
285284
# For more information about ONNXRuntime `here <https://github.com/microsoft/onnxruntime>`__.
286-
#
285+
#

custom_directives.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def run(self):
9292
intro, _ = sphinx_gallery.gen_rst.extract_intro_and_title(abs_fname, blocks[0][1])
9393

9494
thumbnail_rst = sphinx_gallery.backreferences._thumbnail_div(
95-
dirname, basename, intro)
95+
dirname, dirname, basename, intro)
9696

9797
if 'figure' in self.options:
9898
rel_figname, figname = env.relfn2path(self.options['figure'])

0 commit comments

Comments
 (0)