!18863 [GraphKernel]Modify Graph Kernel Doc Format 0616
Merge pull request !18863 from jiaoy1224/code_docs_gk_format
This commit is contained in:
commit
f838dd5837
|
@ -572,16 +572,16 @@ def set_context(**kwargs):
|
|||
enable_graph_kernel (bool): Whether to enable graph kernel fusion to optimize network execution performance.
|
||||
Default: False.
|
||||
graph_kernel_flags (str): Optimization options of graph kernel fusion. Experienced user only.
|
||||
For example, `context.set_context(graph_kernel_flags="--opt_level=2 --dump_as_text")`.
|
||||
Some general options:
|
||||
For example, `context.set_context(graph_kernel_flags="--opt_level=2 --dump_as_text")`.
|
||||
Some general options:
|
||||
|
||||
- opt_level: optimization level between 0 and 3. Default: 2. Graph kernel fusion can be enabled
|
||||
equivalently by setting opt_level greater than 0.
|
||||
- dump_as_text: dump detail info as text files. Default: false.
|
||||
- opt_level: optimization level between 0 and 3. Default: 2. Graph kernel fusion can be enabled
|
||||
equivalently by setting opt_level greater than 0.
|
||||
- dump_as_text: dump detail info as text files. Default: false.
|
||||
|
||||
More options can be referred from the implementation code.
|
||||
These options can also be set by environment variable `MS_GRAPH_KERNEL_FLAGS`, without modifying
|
||||
network source code. For example, `export MS_GRAPH_KERNEL_FLAGS="--opt_level=2 --dump_as_text"`.
|
||||
More options can be referred from the implementation code.
|
||||
These options can also be set by environment variable `MS_GRAPH_KERNEL_FLAGS`, without modifying
|
||||
network source code. For example, `export MS_GRAPH_KERNEL_FLAGS="--opt_level=2 --dump_as_text"`.
|
||||
reserve_class_name_in_scope (bool) : Whether to save the network class name in the scope. Default: True.
|
||||
Each node has a scope. A scope of a subnode is the name of its parent node. If reserve_class_name_in_scope
|
||||
is set, the class name will be saved after keyword 'net-' in the scope. For example:
|
||||
|
|
Loading…
Reference in New Issue