You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ju...@apache.org on 2022/04/25 22:13:27 UTC

[tvm] branch main updated: convert full-width characters to half-width characters (#11112)

This is an automated email from the ASF dual-hosted git repository.

junrushao pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 4015916a06 convert full-width characters to half-width characters (#11112)
4015916a06 is described below

commit 4015916a06a333ddf99836cc09cf7d74b8df8e63
Author: Nyakku Shigure <si...@gmail.com>
AuthorDate: Tue Apr 26 06:13:21 2022 +0800

    convert full-width characters to half-width characters (#11112)
    
    * `)` -> `)`
    
    * `】` -> `]`
    
    * `、`
    
    * `,` -> `,`
---
 NEWS.md                              | 4 ++--
 python/tvm/relay/frontend/oneflow.py | 4 ++--
 python/tvm/script/parser.py          | 2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/NEWS.md b/NEWS.md
index d48c2a4dec..90bcfbf087 100644
--- a/NEWS.md
+++ b/NEWS.md
@@ -318,7 +318,7 @@ The community also continues to bring high quality improvements to the existing
 * Tutorial: Using the template-free auto-scheduler on CPU (#6488)
 
 #### BYOC
-* External codegen support in Relay (#4482),(#4544)
+* External codegen support in Relay (#4482), (#4544)
 * Bring Your Own Codegen Guide -- Part 1 #4602
 * Bring Your Own Codegen Guide -- Part 2 #4718
 * Relay annotation and partitioning for external compilers #4570
@@ -2140,7 +2140,7 @@ Rust language support in TVM includes two parts. 1. The frontend wraps the curre
 * Increate the robuteness of CI test (#2841, #2798, #2793, #2788, #2781, #2727, #2710, #2711, #2923)
 * Improve conda build (#2742)
 * Add caffe2 nnvm frontend to CI (#3018)
-* Use bridge network and expose port on macOS when launch docker image (#3086)
+* Use bridge network and expose port on macOS when launch docker image (#3086)
 * Run DarkNet tests (#2673)
 * Add file type check (#3116)
 * Always run cpptest during build to ensure library correctness (#3147)
diff --git a/python/tvm/relay/frontend/oneflow.py b/python/tvm/relay/frontend/oneflow.py
index 6e199cdc13..a1a7d513f8 100644
--- a/python/tvm/relay/frontend/oneflow.py
+++ b/python/tvm/relay/frontend/oneflow.py
@@ -1453,7 +1453,7 @@ class OneflowGraph(object):
         import oneflow
 
         model = oneflow.load(model_dir_path)
-        # model_array: keys: layer_name,values: dict('path', 'params')
+        # model_array: keys: layer_name, values: dict('path', 'params')
         for layer_name in model:
             layer = model[layer_name]
             layer_node = {}
@@ -1718,7 +1718,7 @@ class OneflowGraph(object):
         Parameters
         ----------
         op_name : str
-            Operator name, such as conv2d、relu
+            Operator name, such as conv2d and relu
         node_inputs : list of tvm.relay.function.Function
             List of inputs.
         op_attr : dict
diff --git a/python/tvm/script/parser.py b/python/tvm/script/parser.py
index 32919128e0..92a730903b 100644
--- a/python/tvm/script/parser.py
+++ b/python/tvm/script/parser.py
@@ -206,7 +206,7 @@ class TVMScriptParser(Transformer):
         ----------
         message : str
             Error message
-        span : Union[synr.ast.Span, tvm.ir.Span】
+        span : Union[synr.ast.Span, tvm.ir.Span]
             Location of the error
         """
         if isinstance(span, tvm.ir.Span):