Skip to content

Commit

Permalink
trans: update po files
Browse files Browse the repository at this point in the history
  • Loading branch information
megvii-mge committed Sep 25, 2023
1 parent edc14e4 commit 96952ab
Show file tree
Hide file tree
Showing 22 changed files with 1,507 additions and 591 deletions.
34 changes: 20 additions & 14 deletions locales/en/LC_MESSAGES/reference/api/megengine.jit.trace.po
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ msgid ""
msgstr ""
"Project-Id-Version: megengine\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-09-21 10:50+0000\n"
"POT-Creation-Date: 2023-09-25 02:39+0000\n"
"PO-Revision-Date: 2023-04-21 09:25+0000\n"
"Last-Translator: \n"
"Language: en_US\n"
Expand Down Expand Up @@ -265,84 +265,90 @@ msgid ""
msgstr ""

#: megengine.jit.tracing.trace.dump:70 of
msgid "Keyword Arguments:"
msgid ""
"the specified megbrain version which is less than 8.16 for model forward "
"compatibility, only support \"8.14\" currently. Default: None."
msgstr ""

#: megengine.jit.tracing.trace.dump:72 of
msgid "Keyword Arguments:"
msgstr ""

#: megengine.jit.tracing.trace.dump:74 of
msgid ""
"enable_io16xc32 -- whether to use float16 for I/O between oprs and use "
"float32 as internal computation precision. Note the output var would be "
"changed to float16."
msgstr ""

#: megengine.jit.tracing.trace.dump:76 of
#: megengine.jit.tracing.trace.dump:78 of
msgid ""
"enable_ioc16 -- whether to use float16 for both I/O and computation "
"precision."
msgstr ""

#: megengine.jit.tracing.trace.dump:79 of
#: megengine.jit.tracing.trace.dump:81 of
msgid ""
"enable_hwcd4 -- whether to use NHWCD4 data layout. This is faster on some"
" OpenCL backend."
msgstr ""

#: megengine.jit.tracing.trace.dump:82 of
#: megengine.jit.tracing.trace.dump:84 of
msgid ""
"enable_nchw88 -- whether to use NCHW88 data layout, currently used in X86"
" AVX backend."
msgstr ""

#: megengine.jit.tracing.trace.dump:85 of
#: megengine.jit.tracing.trace.dump:87 of
msgid ""
"enable_nchw44 -- whether to use NCHW44 data layout, currently used in arm"
" backend."
msgstr ""

#: megengine.jit.tracing.trace.dump:88 of
#: megengine.jit.tracing.trace.dump:90 of
msgid ""
"enable_nchw44_dot -- whether to use NCHW44_dot data layout, currently "
"used in armv8.2+dotprod backend."
msgstr ""

#: megengine.jit.tracing.trace.dump:91 of
#: megengine.jit.tracing.trace.dump:93 of
msgid ""
"enable_nchw4 -- whether to use NCHW4 data layout, currently used in "
"nvidia backend(based on cudnn)."
msgstr ""

#: megengine.jit.tracing.trace.dump:94 of
#: megengine.jit.tracing.trace.dump:96 of
msgid ""
"enable_nchw32 -- whether to use NCHW32 data layout, currently used in "
"nvidia backend with tensorcore(based on cudnn)."
msgstr ""

#: megengine.jit.tracing.trace.dump:97 of
#: megengine.jit.tracing.trace.dump:99 of
msgid ""
"enable_chwn4 -- whether to use CHWN4 data layout, currently used in "
"nvidia backend with tensorcore."
msgstr ""

#: megengine.jit.tracing.trace.dump:100 of
#: megengine.jit.tracing.trace.dump:102 of
msgid ""
"enable_nchw64 -- whether to use NCHW64 data layout, used for fast int4 "
"support on Nvidia GPU."
msgstr ""

#: megengine.jit.tracing.trace.dump:103 of
#: megengine.jit.tracing.trace.dump:105 of
msgid ""
"enable_fuse_conv_bias_nonlinearity: whether to fuse conv+bias+nonlinearty"
" into one opr."
msgstr ""

#: megengine.jit.tracing.trace.dump:105 of
#: megengine.jit.tracing.trace.dump:107 of
msgid ""
"enable_fuse_conv_bias_with_z: whether to fuse conv_bias with z input for "
"inference on nvidia backend(this optimization pass will result in "
"mismatch of the precision of output of training and inference)"
msgstr ""

#: megengine.jit.tracing.trace.dump:109 of
#: megengine.jit.tracing.trace.dump:111 of
msgid ""
"enable_fuse_preprocess: whether to fuse astype\\pad_channel\\dimshuffle "
"and etc opr"
Expand Down
177 changes: 139 additions & 38 deletions locales/en/LC_MESSAGES/reference/api/megengine.module.Conv1d.po
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@

msgid ""
msgstr ""
"Project-Id-Version: megengine\n"
"Project-Id-Version: megengine\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2022-07-26 13:50+0800\n"
"PO-Revision-Date: 2023-04-21 09:25\n"
"POT-Creation-Date: 2023-09-25 02:39+0000\n"
"PO-Revision-Date: 2023-04-21 09:25+0000\n"
"Last-Translator: \n"
"Language: en_US\n"
"Language-Team: English\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.9.1\n"
"X-Crowdin-Project: megengine\n"
"X-Crowdin-Project-ID: 450980\n"
"X-Crowdin-Language: en\n"
"X-Crowdin-File: /dev/locales/zh_CN/LC_MESSAGES/reference/api/megengine.module.Conv1d.po\n"
"X-Crowdin-File-ID: 9475\n"
"Generated-By: Babel 2.11.0\n"

#: ../../source/reference/api/megengine.module.Conv1d.rst:5
msgid "Conv1d"
Expand All @@ -27,24 +23,41 @@ msgid "Applies a 1D convolution over an input tensor."
msgstr ""

#: megengine.module.conv.Conv1d:3 of
msgid "For instance, given an input of the size :math:`(N, C_{\\text{in}}, H)`, this layer generates an output of the size :math:`(N, C_{\\text{out}}, H_{\\text{out}})` through the process described as below:"
msgid ""
"For instance, given an input of the size :math:`(N, C_{\\text{in}}, H)`, "
"this layer generates an output of the size :math:`(N, C_{\\text{out}}, "
"H_{\\text{out}})` through the process described as below:"
msgstr ""

#: megengine.module.conv.Conv1d:8 of
msgid "\\text{out}(N_i, C_{\\text{out}_j}) = \\text{bias}(C_{\\text{out}_j}) +\n"
"\\sum_{k = 0}^{C_{\\text{in}} - 1} \\text{weight}(C_{\\text{out}_j}, k) \\star \\text{input}(N_i, k)\n\n"
msgid ""
"\\text{out}(N_i, C_{\\text{out}_j}) = \\text{bias}(C_{\\text{out}_j}) +\n"
"\\sum_{k = 0}^{C_{\\text{in}} - 1} \\text{weight}(C_{\\text{out}_j}, k) "
"\\star \\text{input}(N_i, k)\n"
"\n"
msgstr ""

#: megengine.module.conv.Conv1d:12 of
msgid "where :math:`\\star` is the valid 1D cross-correlation operator, :math:`N` is batch size, :math:`C` denotes number of channels, and :math:`H` is length of 1D data element."
msgid ""
"where :math:`\\star` is the valid 1D cross-correlation operator, "
":math:`N` is batch size, :math:`C` denotes number of channels, and "
":math:`H` is length of 1D data element."
msgstr ""

#: megengine.module.conv.Conv1d:16 of
msgid "When `groups == in_channels` and `out_channels == K * in_channels`, where K is a positive integer, this operation is also known as depthwise convolution."
msgid ""
"When `groups == in_channels` and `out_channels == K * in_channels`, where"
" K is a positive integer, this operation is also known as depthwise "
"convolution."
msgstr ""

#: megengine.module.conv.Conv1d:20 of
msgid "In other words, for an input of size :math:`(N, C_{in}, H_{in})`, a depthwise convolution with a depthwise multiplier `K`, can be constructed by arguments :math:`(in\\_channels=C_{in}, out\\_channels=C_{in} \\times K, ..., groups=C_{in})`."
msgid ""
"In other words, for an input of size :math:`(N, C_{\\text{in}}, "
"H_{\\text{in}})`, a depthwise convolution with a depthwise multiplier "
"`K`, can be constructed by arguments "
":math:`(in\\_channels=C_{\\text{in}}, out\\_channels=C_{\\text{in}} "
"\\times K, ..., groups=C_{\\text{in}})`."
msgstr ""

#: megengine.module.conv.Conv1d of
Expand All @@ -55,55 +68,93 @@ msgstr ""
msgid "number of input channels."
msgstr ""

#: megengine.module.conv.Conv1d:27 of
#: megengine.module.conv.Conv1d:28 of
msgid "number of output channels."
msgstr ""

#: megengine.module.conv.Conv1d:29 of
#: megengine.module.conv.Conv1d:31 of
msgid "size of weight on spatial dimensions."
msgstr ""

#: megengine.module.conv.Conv1d:31 of
msgid "stride of the 1D convolution operation."
#: megengine.module.conv.Conv1d:34 of
msgid "stride of the 1D convolution operation. Default: 1."
msgstr ""

#: megengine.module.conv.Conv1d:33 of
msgid "size of the paddings added to the input on both sides of its spatial dimensions. Default: 0"
#: megengine.module.conv.Conv1d:37 of
msgid ""
"size of the paddings added to the input on both sides of its spatial "
"dimensions. Default: 0."
msgstr ""

#: megengine.module.conv.Conv1d:36 of
msgid "dilation of the 1D convolution operation. Default: 1"
#: megengine.module.conv.Conv1d:41 of
msgid "dilation of the 1D convolution operation. Default: 1."
msgstr ""

#: megengine.module.conv.Conv1d:38 of
msgid "number of groups to divide input and output channels into, so as to perform a \"grouped convolution\". When ``groups`` is not 1, ``in_channels`` and ``out_channels`` must be divisible by ``groups``, and the shape of weight should be ``(groups, out_channel // groups, in_channels // groups, kernel_size)``. Default: 1"
#: megengine.module.conv.Conv1d:44 of
msgid ""
"number of groups to divide input and output channels into, so as to "
"perform a \"grouped convolution\". When ``groups`` is not 1, "
"``in_channels`` and ``out_channels`` must be divisible by ``groups``, and"
" the shape of weight should be ``(groups, out_channel // groups, "
"in_channels // groups, kernel_size)``. Default: 1."
msgstr ""

#: megengine.module.conv.Conv1d:44 of
msgid "whether to add a bias onto the result of convolution. Default: True"
#: megengine.module.conv.Conv1d:51 of
msgid "whether to add a bias onto the result of convolution. Default: True."
msgstr ""

#: megengine.module.conv.Conv1d:54 of
msgid "supports `cross_correlation`. Default: `cross_correlation`."
msgstr ""

#: megengine.module.conv.Conv1d:46 of
msgid "Supports `cross_correlation`. Default: `cross_correlation`"
#: megengine.module.conv.Conv1d:57 of
msgid ""
"when set to \"default\", no special requirements will be placed on the "
"precision of intermediate results. When set to \"float32\", \"float32\" "
"would be used for accumulator and intermediate result, but only effective"
" when input and output are of float16 dtype. Default: `default`."
msgstr ""

#: megengine.module.conv.Conv1d:48 of
msgid "When set to \"default\", no special requirements will be placed on the precision of intermediate results. When set to \"float32\", \"float32\" would be used for accumulator and intermediate result, but only effective when input and output are of float16 dtype."
#: megengine.module.conv.Conv1d:63 of
msgid ""
"\"zeros\", \"reflect\" or \"replicate\". Default: \"zeros\". Refer to "
":class:`~.module.padding.Pad` for more information."
msgstr ""

#: megengine.module.conv.Conv1d:53 of
msgid "\"zeros\", \"reflect\" or \"replicate\". Default: \"zeros\". Refer to :class:`~.module.padding.Pad` for more information."
#: megengine.module.conv.Conv1d:69 of
msgid "Shape:"
msgstr ""

#: megengine.module.conv.Conv1d:58 of
msgid "``weight`` usually has shape ``(out_channels, in_channels, kernel_size)`` , if groups is not 1, shape will be ``(groups, out_channels // groups, in_channels // groups, kernel_size)``"
#: megengine.module.conv.Conv1d:68 of
msgid ""
"``input``: :math:`(N, C_{\\text{in}}, H_{\\text{in}})`. ``output``: "
":math:`(N, C_{\\text{out}}, H_{\\text{out}})`."
msgstr ""

#: megengine.module.conv.Conv1d:73 of
msgid ""
"``weight`` usually has shape ``(out_channels, in_channels, kernel_size)``"
" , if groups is not 1, shape will be ``(groups, out_channels // groups, "
"in_channels // groups, kernel_size)``"
msgstr ""

#: megengine.module.conv.Conv1d:60 of
#: megengine.module.conv.Conv1d:75 of
msgid "``bias`` usually has shape ``(1, out_channels, 1)``"
msgstr ""

#: megengine.module.conv.Conv1d:63 of
#: megengine.module.conv.Conv1d of
msgid "返回"
msgstr ""

#: megengine.module.conv.Conv1d:77 of
msgid "module. The instance of the ``Conv1d`` module."
msgstr ""

#: megengine.module.conv.Conv1d of
msgid "返回类型"
msgstr ""

#: megengine.module.conv.Conv1d:81 of
msgid "实际案例"
msgstr ""

Expand Down Expand Up @@ -473,3 +524,53 @@ msgstr ""
#~ msgid "Outputs:"
#~ msgstr "输出:"

#~ msgid ""
#~ "In other words, for an input of"
#~ " size :math:`(N, C_{in}, H_{in})`, a "
#~ "depthwise convolution with a depthwise "
#~ "multiplier `K`, can be constructed by"
#~ " arguments :math:`(in\\_channels=C_{in}, "
#~ "out\\_channels=C_{in} \\times K, ..., "
#~ "groups=C_{in})`."
#~ msgstr ""

#~ msgid "stride of the 1D convolution operation."
#~ msgstr ""

#~ msgid ""
#~ "size of the paddings added to the"
#~ " input on both sides of its "
#~ "spatial dimensions. Default: 0"
#~ msgstr ""

#~ msgid "dilation of the 1D convolution operation. Default: 1"
#~ msgstr ""

#~ msgid ""
#~ "number of groups to divide input "
#~ "and output channels into, so as to"
#~ " perform a \"grouped convolution\". When"
#~ " ``groups`` is not 1, ``in_channels`` "
#~ "and ``out_channels`` must be divisible "
#~ "by ``groups``, and the shape of "
#~ "weight should be ``(groups, out_channel "
#~ "// groups, in_channels // groups, "
#~ "kernel_size)``. Default: 1"
#~ msgstr ""

#~ msgid "whether to add a bias onto the result of convolution. Default: True"
#~ msgstr ""

#~ msgid "Supports `cross_correlation`. Default: `cross_correlation`"
#~ msgstr ""

#~ msgid ""
#~ "When set to \"default\", no special "
#~ "requirements will be placed on the "
#~ "precision of intermediate results. When "
#~ "set to \"float32\", \"float32\" would be"
#~ " used for accumulator and intermediate "
#~ "result, but only effective when input"
#~ " and output are of float16 dtype."
#~ msgstr ""

Loading

0 comments on commit 96952ab

Please sign in to comment.