# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1999-2020, The Alibaba Group Holding Ltd.
# This file is distributed under the same license as the mars package.
# FIRST AUTHOR <EMAIL@ADDRESS>, 2020.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: mars 0.5.0a2\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2020-06-16 16:57+0800\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.7.0\n"

#: ../../source/user_guide/tensor/datasource.rst:2
msgid "Create Mars tensor"
msgstr "创建 Mars 张量"

#: ../../source/user_guide/tensor/datasource.rst:4
msgid ""
"You can create mars tensor from Python array like object just like Numpy,"
" or create from Numpy array directly. More details on :doc:`array "
"creation routine <creation>` and :doc:`random sampling <random>`."
msgstr ""
"您可以像 Numpy 一样从 Python 数组创建 Mars 张量，或者直接从 Numpy 数组"
"创建。关于 :doc:`从数组创建 <creation>` 和 :doc:`随机抽样 <random>` 的更"
"多细节。"

#: ../../source/user_guide/tensor/datasource.rst:14:<autosummary>:1
msgid ":obj:`mars.tensor.tensor <mars.tensor.tensor>`"
msgstr ""

#: ../../source/user_guide/tensor/datasource.rst:14:<autosummary>:1
msgid ":obj:`mars.tensor.array <mars.tensor.array>`"
msgstr ""

#: ../../source/user_guide/tensor/datasource.rst:14:<autosummary>:1
msgid "Create a tensor."
msgstr "创建一个张量。"

#: ../../source/user_guide/tensor/datasource.rst:16
msgid "Create tensor on GPU"
msgstr "在 GPU 上创建张量"

#: ../../source/user_guide/tensor/datasource.rst:18
msgid ""
"Mars tensor can run on GPU, for tensor creation, just add a ``gpu`` "
"parameter, and set it to ``True``."
msgstr ""
"Mars张量可以在GPU上运行，用于张量创建，只需添加一个 ``gpu`` 参数，然后将"
"其设置为 ``True`` 。"

#: ../../source/user_guide/tensor/datasource.rst:28
msgid "Create sparse tensor"
msgstr "创建稀疏张量"

#: ../../source/user_guide/tensor/datasource.rst:30
msgid ""
"Mars tensor can be sparse, unfortunately, only 2-D sparse tensors are "
"supported for now, multi-dimensional tensor will be supported later soon."
msgstr ""
"Mars 张量可以是稀疏的，但目前只支持二维稀疏张量，在不远的将来将会支持多维"
"张量。"

#: ../../source/user_guide/tensor/datasource.rst:41
msgid "Chunks"
msgstr "块"

#: ../../source/user_guide/tensor/datasource.rst:43
msgid ""
"In mars tensor, we tile a tensor into small chunks. Argument "
"``chunk_size`` is not always required, a chunk's bytes occupation will be"
" 128M for the default setting. However, user can specify each chunk's "
"size in a more flexible way which may be adaptive to the data scale. The "
"fact is that chunk's size may effect heavily on the performance of "
"execution."
msgstr ""
"Mars 张量中，我们将张量分块处理。 ``chunk_size`` 不是必须的，对于默认设置"
"，块的字节占用将为128M。用户也可以根据数据规模以更灵活的方式指定每个块的"
"大小。需要注意的是，块的大小可能会严重影响执行的性能。"

#: ../../source/user_guide/tensor/datasource.rst:48
msgid ""
"The options or arguments which will effect the chunk's size are listed "
"below:"
msgstr "下面列出了影响块大小的选项或参数："

#: ../../source/user_guide/tensor/datasource.rst:50
msgid ""
"Change ``options.tensor.chunk_size_limit`` which is 128*1024*1024(128M) "
"by default."
msgstr ""
" ``options.tensor.chunk_size_limit`` 默认情况下更改为128 * 1024 * 1024("
"128M)。"

#: ../../source/user_guide/tensor/datasource.rst:51
msgid ""
"Specify ``chunk_size`` as integer, like ``5000``, means chunk's size is "
"5000 at most for all dimensions"
msgstr "指定 ``chunk_size`` 为整数， ``5000`` 表示所有维度的块大小最多为 5000"

#: ../../source/user_guide/tensor/datasource.rst:52
msgid "Specify ``chunk_size`` as tuple, like ``(5000, 3000)``"
msgstr "指定 ``chunk_size`` 为元组，如 ``(5000, 3000)``"

#: ../../source/user_guide/tensor/datasource.rst:53
msgid ""
"Explicitly define sizes of all chunks along all dimensions, like "
"``((5000, 5000, 2000), (2000, 1000))``"
msgstr "明确定义所有维度的所有块的大小，例如 ((5000, 5000, 2000), (2000, 1000))"

#: ../../source/user_guide/tensor/datasource.rst:56
msgid "Chunks Examples"
msgstr "块的例子"

#: ../../source/user_guide/tensor/datasource.rst:58
msgid "Assume we have such a tensor with the data shown below."
msgstr "假设我们有包含如下数据的张量。"

#: ../../source/user_guide/tensor/datasource.rst:71
msgid "We will show how different ``chunk_size`` arguments will tile the tensor."
msgstr "我们将展示不同的  ``chunk_size`` 如何影响张量的分块。"

#: ../../source/user_guide/tensor/datasource.rst:73
msgid "``chunk_size=3``:"
msgstr ""

#: ../../source/user_guide/tensor/datasource.rst:88
msgid "``chunk_size=2``:"
msgstr ""

#: ../../source/user_guide/tensor/datasource.rst:104
msgid "``chunk_size=(3, 2)``:"
msgstr ""

#: ../../source/user_guide/tensor/datasource.rst:119
msgid "``chunk_size=((3, 1, 2, 2), (3, 2, 1))``:"
msgstr ""

