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 Jan 8, 2024
1 parent 6f898bc commit 3e36529
Show file tree
Hide file tree
Showing 10 changed files with 947 additions and 277 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2020-2024, The MegEngine Open Source Team
# This file is distributed under the same license as the MegEngine package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: MegEngine 1.13.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-08 01:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"

#: ../../source/reference/api/megengine.module.GaussianBlur.rst:5
msgid "GaussianBlur"
msgstr ""

#: megengine.module.vision.GaussianBlur:1 of
msgid "Blurs an image using a Gaussian filter."
msgstr ""

#: megengine.module.vision.GaussianBlur:3 of
msgid "Input format must be nhwc."
msgstr ""

#: megengine.module.vision.GaussianBlur of
msgid "参数"
msgstr ""

#: megengine.module.vision.GaussianBlur:6 of
msgid ""
"Gaussian kernel size consisting of height and weight. height and width "
"can differ but they both must be positive and odd."
msgstr ""

#: megengine.module.vision.GaussianBlur:8 of
msgid "Gaussian kernel standard deviation in X direction."
msgstr ""

#: megengine.module.vision.GaussianBlur:10 of
msgid "Gaussian kernel standard deviation in Y direction."
msgstr ""

#: megengine.module.vision.GaussianBlur:12 of
msgid "pixel extrapolation mode."
msgstr ""

#: megengine.module.vision.GaussianBlur:16 of
msgid "实际案例"
msgstr ""

100 changes: 100 additions & 0 deletions locales/en/LC_MESSAGES/reference/api/megengine.module.Remap.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2020-2024, The MegEngine Open Source Team
# This file is distributed under the same license as the MegEngine package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: MegEngine 1.13.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-08 01:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"

#: ../../source/reference/api/megengine.module.Remap.rst:5
msgid "Remap"
msgstr ""

#: megengine.module.vision.Remap:1 of
msgid ""
"Applies remap transformation to batched 2D images. Remap is an operation "
"that relocates pixels in a image to another location in a new image."
msgstr ""

#: megengine.module.vision.Remap:3 of
msgid "Input format must be nchw."
msgstr ""

#: megengine.module.vision.Remap:5 of
msgid ""
"The input images are transformed to the output images by the tensor "
"``map_1`` and ``map_2``. The output's H and W are same as ``map_1`` and "
"``map_2``'s H and W."
msgstr ""

#: megengine.module.vision.Remap:8 of
msgid ""
"Args: inp: input image, its shape represents ``[b, c, in_h, in_w]``. "
"map_1: transformation matrix, the first map of ethier (x,y) points or "
"just x values."
msgstr ""

#: megengine.module.vision.Remap:11 of
msgid ""
"if map_2.size == 0(the map of (x,y)), its shape shoule be ``[b, o_h, o_w,"
" 2]``. The shape of output is determined by o_h and o_w. For each element"
" in output, its value is determined by inp and ``map_xy``. ``map_1[..., "
"0]`` and ``map_1[..., 1]`` are the positions of the current element in "
"inp, respectively. Therefore, their ranges are ``[0, in_w - 1]`` and "
"``[0, in_h - 1]``. if map_2.size == map_2.size(the map of(x)), its shape "
"should be ``[b, o_h, o_w]``. it's shape are [``o, in_w-1]``."
msgstr ""

#: megengine.module.vision.Remap:18 of
msgid "map_2:"
msgstr ""

#: megengine.module.vision.Remap:18 of
msgid ""
"the second map of y values. if map2.size == map_2.size(the map of (y)), "
"its shape should be ``[b, o_h, o_w]``. it's range are [``o, in_h-1]``."
msgstr ""

#: megengine.module.vision.Remap:20 of
msgid ""
"interpolation: interpolation methods. Default: \"linear\". Currently also"
" support \"nearest\" mode. borderMode: pixel extrapolation method. "
"Default: \"replicate\". Currently also support \"constant\", \"reflect\","
" \"reflect_101\", \"wrap\"."
msgstr ""

#: megengine.module.vision.Remap:22 of
msgid ""
"\"replicate\": repeatedly fills the edge pixel values of the duplicate "
"image, expanding the new boundary pixel values with the edge pixel "
"values. \"constant\": fills the edges of the image with a fixed numeric "
"value."
msgstr ""

#: megengine.module.vision.Remap:25 of
msgid "borderValue: value used in case of a constant border. Default: 0.0"
msgstr ""

#: megengine.module.vision.Remap of
msgid "返回"
msgstr ""

#: megengine.module.vision.Remap:27 of
msgid "output tensor. [b, c, o_h, o_w]"
msgstr ""

#: megengine.module.vision.Remap:30 of
msgid "实际案例"
msgstr ""

Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2020-2024, The MegEngine Open Source Team
# This file is distributed under the same license as the MegEngine package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: MegEngine 1.13.3\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-01-08 01:07+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.11.0\n"

#: ../../source/reference/api/megengine.random.exponential.rst:2
msgid "megengine.random.exponential"
msgstr ""

#: megengine.random.rng.RNG.exponential:1 of
msgid ""
"Random variable with exponential distribution "
":math:`\\operatorname{Exponential}(\\lambda)`. The corresponding "
"probability density function is .. math::"
msgstr ""

#: megengine.random.rng.RNG.exponential:5 of
msgid ""
"for x > 0 and 0 elsewhere. where`rate = lambda`. :type rate: "
":py:data:`~typing.Union`\\[:py:class:`float`, "
":py:class:`~megengine.tensor.Tensor`] :param rate: the lambda parameter "
"of the distribution. Must be non-negative. rate = 1 / scale of the "
"distribution. :type size: "
":py:data:`~typing.Optional`\\[:py:class:`~typing.Iterable`\\[:py:class:`int`]]"
" :param size: the size of output tensor. If scale is a scalar and given "
"size is, e.g., `(m, n)`,"
msgstr ""

#: megengine.random.rng.RNG.exponential:10 of
msgid ""
"then the output shape is `(m, n)`. If scale is a Tensor with shape `(k, "
"v)` and given size is, e.g., `(m, n)`, then the output shape is `(m, n, "
"k, v)`. Default: None."
msgstr ""

#: megengine.random.rng.RNG.exponential of
msgid "返回"
msgstr ""

#: megengine.random.rng.RNG.exponential:13 of
msgid "the output tensor."
msgstr ""

#: megengine.random.rng.RNG.exponential:16 of
msgid "实际案例"
msgstr ""

Loading

0 comments on commit 3e36529

Please sign in to comment.