From 682d6e4da14389d299bbe6395dceff44e880d1f9 Mon Sep 17 00:00:00 2001 From: kinoko-shelter <1771634408@qq.com> Date: Tue, 4 Jul 2023 16:22:25 +0800 Subject: [PATCH 1/7] =?UTF-8?q?scql=5Foperators=5Fdoc=E9=80=90=E5=8F=A5?= =?UTF-8?q?=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reference/scql_operators_doc.po | 373 +++++++++--------- 1 file changed, 188 insertions(+), 185 deletions(-) diff --git a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po index 98933b90..ebb8d2a7 100644 --- a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po +++ b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po @@ -21,25 +21,28 @@ msgstr "" #: ../../reference/scql_operators_doc.rst:2 msgid "SCQL Operators Specification" -msgstr "" +msgstr "SCQL 操作符规范" #: ../../reference/scql_operators_doc.rst:4 msgid "" "This is a specification (not a kernel library) of SCQL operators, " "including operator signatures and semantics." -msgstr "" +msgstr "这是 SCQL 操作符符的规范 (不是内核库),包括操作符签名和语义" + + + #: ../../reference/scql_operators_doc.rst:7 msgid "Op List" -msgstr "" +msgstr "操作符按列表" #: ../../reference/scql_operators.md:2 msgid "`RunSQL`" -msgstr "" +msgstr "`RunSQL`" #: ../../reference/scql_operators.md:4 msgid "Run a SQL statement and return a list of tensors in private status" -msgstr "" +msgstr "运行 SQL 语句并返回私有状态下的张量列表" #: ../../reference/scql_operators.md:6 ../../reference/scql_operators.md:38 #: ../../reference/scql_operators.md:64 ../../reference/scql_operators.md:94 @@ -69,11 +72,11 @@ msgstr "" #: ../../reference/scql_operators.md:1383 #: ../../reference/scql_operators.md:1414 msgid "**Inputs:**" -msgstr "" +msgstr "输入:" #: ../../reference/scql_operators.md:8 ../../reference/scql_operators.md:736 msgid "No input parameter." -msgstr "" +msgstr "无输入参数。" #: ../../reference/scql_operators.md:11 ../../reference/scql_operators.md:43 #: ../../reference/scql_operators.md:71 ../../reference/scql_operators.md:101 @@ -103,11 +106,11 @@ msgstr "" #: ../../reference/scql_operators.md:1388 #: ../../reference/scql_operators.md:1419 msgid "**Outputs:**" -msgstr "" +msgstr "输出:" #: ../../reference/scql_operators.md:13 msgid "`Out`(variadic, T): Result tensors of the SQL statement." -msgstr "" +msgstr "Out`(variadic, T): SQL 语句的结果张量。" #: ../../reference/scql_operators.md:17 ../../reference/scql_operators.md:521 #: ../../reference/scql_operators.md:593 ../../reference/scql_operators.md:668 @@ -116,15 +119,15 @@ msgstr "" #: ../../reference/scql_operators.md:1084 #: ../../reference/scql_operators.md:1425 msgid "**Attributes:**" -msgstr "" +msgstr "属性:" #: ../../reference/scql_operators.md:19 msgid "`sql`: SQL statement" -msgstr "" +msgstr "`sql`:QL 语句" #: ../../reference/scql_operators.md:21 msgid "`table_refs`: tables referenced by query" -msgstr "" +msgstr "`table_refs`:查询引用的表" #: ../../reference/scql_operators.md:28 ../../reference/scql_operators.md:52 #: ../../reference/scql_operators.md:80 ../../reference/scql_operators.md:110 @@ -155,47 +158,47 @@ msgstr "" #: ../../reference/scql_operators.md:1397 #: ../../reference/scql_operators.md:1441 msgid "**TensorStatus(ShareType) Constraints:**" -msgstr "" +msgstr "张量状态(共享类型) 约束:" #: ../../reference/scql_operators.md:30 ../../reference/scql_operators.md:649 #: ../../reference/scql_operators.md:797 ../../reference/scql_operators.md:849 #: ../../reference/scql_operators.md:1055 msgid "`T`: private" -msgstr "" +msgstr "`T`:私有" #: ../../reference/scql_operators.md:34 msgid "`Publish`" -msgstr "" +msgstr "`Publish`" #: ../../reference/scql_operators.md:36 msgid "This operator publishes the DAG results." -msgstr "" +msgstr "此操作符发布 DAG 结果。" #: ../../reference/scql_operators.md:40 msgid "`In`(variadic, T1): Tensors to be published." -msgstr "" +msgstr "`In`(variadic, T1):要发布的张量。" #: ../../reference/scql_operators.md:45 msgid "" "`Out`(variadic, T2): Result tensors of the publish op. Tensors are in " "TensorOption VALUE." -msgstr "" +msgstr "`Out`(variadic, T2):发布操作的结果张量。张量位于 TensorOption VALUE 中。" #: ../../reference/scql_operators.md:54 ../../reference/scql_operators.md:718 msgid "`T1`: public,private" -msgstr "" +msgstr "`T1`: 公开,私有" #: ../../reference/scql_operators.md:56 msgid "`T2`: unknown" -msgstr "" +msgstr "`T2`: 未知" #: ../../reference/scql_operators.md:60 msgid "`Less`" -msgstr "" +msgstr "`Less`" #: ../../reference/scql_operators.md:62 msgid "Out = Left `Less` Right" -msgstr "" +msgstr "Out = Left `Less` Right" #: ../../reference/scql_operators.md:66 ../../reference/scql_operators.md:96 #: ../../reference/scql_operators.md:126 ../../reference/scql_operators.md:156 @@ -205,7 +208,7 @@ msgstr "" #: ../../reference/scql_operators.md:366 ../../reference/scql_operators.md:396 #: ../../reference/scql_operators.md:426 ../../reference/scql_operators.md:456 msgid "`Left`(variadic, T): First operand." -msgstr "" +msgstr "`Left`(variadic, T):第一个操作符数。" #: ../../reference/scql_operators.md:68 ../../reference/scql_operators.md:98 #: ../../reference/scql_operators.md:128 ../../reference/scql_operators.md:158 @@ -215,7 +218,7 @@ msgstr "" #: ../../reference/scql_operators.md:368 ../../reference/scql_operators.md:398 #: ../../reference/scql_operators.md:428 ../../reference/scql_operators.md:458 msgid "`Right`(variadic, T1): Second operand." -msgstr "" +msgstr "`Right`(variadic, T1):第二个操作符数。" #: ../../reference/scql_operators.md:73 ../../reference/scql_operators.md:103 #: ../../reference/scql_operators.md:133 ../../reference/scql_operators.md:163 @@ -225,7 +228,7 @@ msgstr "" #: ../../reference/scql_operators.md:373 ../../reference/scql_operators.md:403 #: ../../reference/scql_operators.md:433 ../../reference/scql_operators.md:463 msgid "`Out`(variadic, T2): Output Tensor." -msgstr "" +msgstr "`Out`(variadic, T2):输出张量。" #: ../../reference/scql_operators.md:82 ../../reference/scql_operators.md:112 #: ../../reference/scql_operators.md:142 ../../reference/scql_operators.md:172 @@ -237,7 +240,7 @@ msgstr "" #: ../../reference/scql_operators.md:1022 #: ../../reference/scql_operators.md:1399 msgid "`T`: public,private,secret" -msgstr "" +msgstr "`T`: 公开,私有,加密" #: ../../reference/scql_operators.md:84 ../../reference/scql_operators.md:114 #: ../../reference/scql_operators.md:144 ../../reference/scql_operators.md:174 @@ -248,7 +251,7 @@ msgstr "" #: ../../reference/scql_operators.md:444 ../../reference/scql_operators.md:474 #: ../../reference/scql_operators.md:1373 msgid "`T1`: public,private,secret" -msgstr "" +msgstr "`T1`: 公开,私有,加密" #: ../../reference/scql_operators.md:86 ../../reference/scql_operators.md:116 #: ../../reference/scql_operators.md:146 ../../reference/scql_operators.md:176 @@ -258,279 +261,279 @@ msgstr "" #: ../../reference/scql_operators.md:386 ../../reference/scql_operators.md:416 #: ../../reference/scql_operators.md:446 ../../reference/scql_operators.md:476 msgid "`T2`: private,secret" -msgstr "" +msgstr "`T2`: 私有,加密" #: ../../reference/scql_operators.md:90 msgid "`LessEqual`" -msgstr "" +msgstr "`LessEqual`" #: ../../reference/scql_operators.md:92 msgid "Out = Left `LessEqual` Right" -msgstr "" +msgstr "Out = Left `LessEqual` Right" #: ../../reference/scql_operators.md:120 msgid "`Greater`" -msgstr "" +msgstr "`Greater`" #: ../../reference/scql_operators.md:122 msgid "Out = Left `Greater` Right" -msgstr "" +msgstr "Out = Left `Greater` Right" #: ../../reference/scql_operators.md:150 msgid "`GreaterEqual`" -msgstr "" +msgstr "`GreaterEqual`" #: ../../reference/scql_operators.md:152 msgid "Out = Left `GreaterEqual` Right" -msgstr "" +msgstr "Out = Left `GreaterEqual` Right" #: ../../reference/scql_operators.md:180 msgid "`Equal`" -msgstr "" +msgstr "`Equal`" #: ../../reference/scql_operators.md:182 msgid "Out = Left `Equal` Right" -msgstr "" +msgstr "Out = Left `Equal` Right" #: ../../reference/scql_operators.md:210 msgid "`NotEqual`" -msgstr "" +msgstr "`NotEqual`" #: ../../reference/scql_operators.md:212 msgid "Out = Left `NotEqual` Right" -msgstr "" +msgstr "Out = Left `NotEqual` Right" #: ../../reference/scql_operators.md:240 msgid "`LogicalAnd`" -msgstr "" +msgstr "`LogicalAnd`" #: ../../reference/scql_operators.md:242 msgid "Out = Left `LogicalAnd` Right" -msgstr "" +msgstr "Out = Left `LogicalAnd` Right" #: ../../reference/scql_operators.md:270 msgid "`LogicalOr`" -msgstr "" +msgstr "`LogicalOr`" #: ../../reference/scql_operators.md:272 msgid "Out = Left `LogicalOr` Right" -msgstr "" +msgstr "Out = Left `LogicalOr` Right" #: ../../reference/scql_operators.md:300 msgid "`Add`" -msgstr "" +msgstr "`Add`" #: ../../reference/scql_operators.md:302 msgid "Out = Left `Add` Right" -msgstr "" +msgstr "Out = Left `Add` Right" #: ../../reference/scql_operators.md:330 msgid "`Minus`" -msgstr "" +msgstr "`Minus`" #: ../../reference/scql_operators.md:332 msgid "Out = Left `Minus` Right" -msgstr "" +msgstr "Out = Left `Minus` Right" #: ../../reference/scql_operators.md:360 msgid "`Mul`" -msgstr "" +msgstr "`Mul`" #: ../../reference/scql_operators.md:362 msgid "Out = Left `Mul` Right" -msgstr "" +msgstr "Out = Left `Mul` Right" #: ../../reference/scql_operators.md:390 msgid "`Div`" -msgstr "" +msgstr "`Div`" #: ../../reference/scql_operators.md:392 msgid "Out = Left `Div` Right" -msgstr "" +msgstr "Out = Left `Div` Right" #: ../../reference/scql_operators.md:420 msgid "`IntDiv`" -msgstr "" +msgstr "`IntDiv`" #: ../../reference/scql_operators.md:422 msgid "Out = Left `IntDiv` Right" -msgstr "" +msgstr "Out = Left `IntDiv` Right" #: ../../reference/scql_operators.md:450 msgid "`Mod`" -msgstr "" +msgstr "`Mod`" #: ../../reference/scql_operators.md:452 msgid "Out = Left `Mod` Right" -msgstr "" +msgstr "Out = Left `Mod` Right" #: ../../reference/scql_operators.md:480 msgid "`MakePublic`" -msgstr "" +msgstr "`MakePublic`" #: ../../reference/scql_operators.md:482 msgid "Convert In tensor from share/private status to public status." -msgstr "" +msgstr "将张量中从共享或私有状态转换为公共状态。" #: ../../reference/scql_operators.md:486 ../../reference/scql_operators.md:512 #: ../../reference/scql_operators.md:544 msgid "`In`(variadic, T1): Input tensors." -msgstr "" +msgstr "`In`(variadic, T1):输入张量。" #: ../../reference/scql_operators.md:491 ../../reference/scql_operators.md:517 #: ../../reference/scql_operators.md:549 msgid "`Out`(variadic, T2): Output tensors." -msgstr "" +msgstr "`Out`(variadic, T2):输出张量。" #: ../../reference/scql_operators.md:500 msgid "`T1`: private,secret" -msgstr "" +msgstr "`T1`: 私有,加密" #: ../../reference/scql_operators.md:502 msgid "`T2`: public" -msgstr "" +msgstr "`T2`: 公开" #: ../../reference/scql_operators.md:506 msgid "`MakePrivate`" -msgstr "" +msgstr "`MakePrivate`" #: ../../reference/scql_operators.md:508 msgid "Convert In tensor from share status to private status." -msgstr "" +msgstr "将张量从共享状态转为私有状态。" #: ../../reference/scql_operators.md:523 msgid "" "`reveal_to`: List of parties to see the private data. If it is revealed " "to one party only, the other party also needs to run the op, but does not" " have an output. Only the reveal_to party gets the output." -msgstr "" +msgstr "`reveal_to`:一个包含可查看私有数据的方的列表。如果只向一方透露,那么另一方也需要运行该操作,但不会有结果。只有被指定为 reveal_to 的一方才能获取结果。" #: ../../reference/scql_operators.md:532 msgid "`T1`: secret" -msgstr "" +msgstr "`T1`: 加密" #: ../../reference/scql_operators.md:534 ../../reference/scql_operators.md:615 msgid "`T2`: private" -msgstr "" +msgstr "`T2`: 私有" #: ../../reference/scql_operators.md:538 msgid "`MakeShare`" -msgstr "" +msgstr "`MakeShare`" #: ../../reference/scql_operators.md:540 msgid "Convert In tensor from private status to share status." -msgstr "" +msgstr "将张量从私有状态转变为共享状态。" #: ../../reference/scql_operators.md:558 ../../reference/scql_operators.md:613 #: ../../reference/scql_operators.md:681 ../../reference/scql_operators.md:851 #: ../../reference/scql_operators.md:1024 msgid "`T1`: private" -msgstr "" +msgstr "`T1`: 私有" #: ../../reference/scql_operators.md:560 msgid "`T2`: secret" -msgstr "" +msgstr "`T2`: 加密" #: ../../reference/scql_operators.md:564 msgid "`Join`" -msgstr "" +msgstr "`Join`" #: ../../reference/scql_operators.md:566 msgid "" "Definition: Create Join Index based on EQ-Join, return result's " "corresponding rows index in the original input. Example:" -msgstr "" +msgstr "定义:基于 EQ-Join 创建连接索引,返回原始输入中结果对应的行索引。例:" #: ../../reference/scql_operators.md:580 msgid "`Left`(single, T1): Left vector(shape [M][1])" -msgstr "" +msgstr "`Left`(single, T1):Left vector(shape [M][1])" #: ../../reference/scql_operators.md:582 msgid "`Right`(single, T1): Right vector(shape [N][1])" -msgstr "" +msgstr "`Right`(single, T1):Right vector(shape [N][1])" #: ../../reference/scql_operators.md:587 msgid "" "`LeftJoinIndex`(single, T2): Joined rows index for left vector(shape " "[K][1])" -msgstr "" +msgstr "`LeftJoinIndex`(single, T2):左向量连接的联接行索引(shape [K][1])" #: ../../reference/scql_operators.md:589 msgid "" "`RightJoinIndex`(single, T2): Joined rows index for right vector(shape " "[K][1])" -msgstr "" +msgstr "`RightJoinIndex`(single, T2):右向量连接的联接行索引(shape [K][1])" #: ../../reference/scql_operators.md:595 msgid "" "`input_party_codes`: List of parties the inputs belong to([PartyCodeLeft," " PartyCodeRight])." -msgstr "" +msgstr "`input_party_codes`:输入所属的各方列表([PartyCodeLeft, PartyCodeRight])。" #: ../../reference/scql_operators.md:597 msgid "`join_type`: Int64. 0: inner join;" -msgstr "" +msgstr "`join_type`:Int64. 0:inner join;" #: ../../reference/scql_operators.md:604 ../../reference/scql_operators.md:756 #: ../../reference/scql_operators.md:840 ../../reference/scql_operators.md:1013 #: ../../reference/scql_operators.md:1093 #: ../../reference/scql_operators.md:1434 msgid "**Default Attribute Values:**" -msgstr "" +msgstr "**默认属性值:**" #: ../../reference/scql_operators.md:606 msgid "`join_type`: 0" -msgstr "" +msgstr "`join_type`:0" #: ../../reference/scql_operators.md:619 msgid "`FilterByIndex`" -msgstr "" +msgstr "`FilterByIndex`" #: ../../reference/scql_operators.md:621 msgid "Definition: Filter by rows index. Example:" -msgstr "" +msgstr "定义:按行索引筛选。例:" #: ../../reference/scql_operators.md:633 msgid "`RowsIndexFilter`(single, T): Rows index filter vector(shape [K][1])." -msgstr "" +msgstr "RowsIndexFilter (single, T):行索引筛选器向量(形状 [K][1])" #: ../../reference/scql_operators.md:635 msgid "`Data`(variadic, T): Input data tensor(shape [M][N])." -msgstr "" +msgstr "`Data`(variadic, T):输入数据张量(shape [M][N])。" #: ../../reference/scql_operators.md:640 msgid "`Out`(variadic, T): Output data tensor(shape [X][N])." -msgstr "" +msgstr "`Out`(variadic, T):输出数据张量(shape [X][N])。" #: ../../reference/scql_operators.md:653 msgid "`Copy`" -msgstr "" +msgstr "`Copy`" #: ../../reference/scql_operators.md:655 msgid "" "Definition: Copy source tensor \"In\" to new tensor \"Out\" on target " "party" -msgstr "" +msgstr "定义:将源张量“In”复制到目标方的新张量“Out”" #: ../../reference/scql_operators.md:659 msgid "`In`(single, T1): source tensor" -msgstr "" +msgstr "`In`(single, T1):源张量。" #: ../../reference/scql_operators.md:664 msgid "`Out`(single, T1): target tensor" -msgstr "" +msgstr "`Out`(single, T1):目标张量" #: ../../reference/scql_operators.md:670 msgid "`input_party_codes`: Input tensor `In` belongs to" -msgstr "" +msgstr "`input_party_codes`:输入张量“In”所属方。" #: ../../reference/scql_operators.md:672 msgid "`output_party_codes`: Output tensor `Out` belongs to" -msgstr "" +msgstr "`output_party_codes`:输出张量“Out”所属方" #: ../../reference/scql_operators.md:685 msgid "`Filter`" -msgstr "" +msgstr "`Filter`" #: ../../reference/scql_operators.md:687 msgid "" @@ -538,84 +541,84 @@ msgid "" " In (variadic, each tensor's shape must be [M]), for i in [0, M-1], keep " "the In tensors' element if and only if Filter[i] is True, output the " "filter result tensors Out (variadic). Example:" -msgstr "" +msgstr "给定一个布尔张量Filter (其shape为[M]),以及一些张量 In (variadic,每个张量的shape必须为[M])。对于i在[0, M-1]的范围内,仅当Filter[i]为真时,保留In张量的元素,并输出过滤结果张量 Out (variadic)。例:" #: ../../reference/scql_operators.md:700 msgid "`Filter`(single, T1): Filter tensor." -msgstr "" +msgstr "`Filter`(single, T1):滤波张量。" #: ../../reference/scql_operators.md:702 msgid "`In`(variadic, T): Tensors to be filtered." -msgstr "" +msgstr "`In`(variadic, T):待过滤的张量." #: ../../reference/scql_operators.md:707 msgid "`Out`(variadic, T): Output tensor." -msgstr "" +msgstr "`Out`(variadic, T):输出张量." #: ../../reference/scql_operators.md:716 ../../reference/scql_operators.md:882 #: ../../reference/scql_operators.md:913 ../../reference/scql_operators.md:944 #: ../../reference/scql_operators.md:978 ../../reference/scql_operators.md:1102 #: ../../reference/scql_operators.md:1136 msgid "`T`: private,secret" -msgstr "" +msgstr "`T`:private,secret" #: ../../reference/scql_operators.md:722 msgid "`Constant`" -msgstr "" +msgstr "`Constant`" #: ../../reference/scql_operators.md:724 msgid "Definition: Make constant from attribute. Example:" -msgstr "" +msgstr "定义:从属性生成常量。例如:" #: ../../reference/scql_operators.md:741 msgid "`Out`(single, T): output tensor(shape [M]) from constant." -msgstr "" +msgstr "`Out`(single, T):从常量输出张量(shape [M])" #: ../../reference/scql_operators.md:747 msgid "`scalar`: scalar attribute(with shape [M])" -msgstr "" +msgstr "`scalar`:标量属性(shape [M])" #: ../../reference/scql_operators.md:749 msgid "`to_status`: int64. to status, 0: to private, 1: to public." -msgstr "" +msgstr "`to_status`:int64. to status, 0:to private, 1:to public." #: ../../reference/scql_operators.md:758 msgid "`to_status`: 0" -msgstr "" +msgstr "`to_status`:0" #: ../../reference/scql_operators.md:765 msgid "`T`: public,private" -msgstr "" +msgstr "`T`:公共,私有" #: ../../reference/scql_operators.md:769 msgid "`DumpFile`" -msgstr "" +msgstr "`DumpFile`" #: ../../reference/scql_operators.md:771 msgid "" "Definition: Dump the input tensor. Note: This op will change the affected" " rows in the session" -msgstr "" +msgstr "定义:转储输入张量。注意:此操作将更改会话中受影响的行。" #: ../../reference/scql_operators.md:775 msgid "`In`(variadic, T): Tensors to be dumped." -msgstr "" +msgstr "`In`(variadic, T):要存储的张量。" #: ../../reference/scql_operators.md:780 msgid "`Out`(variadic, T): Tensors have been dumped." -msgstr "" +msgstr "`Out`(variadic, T):张量已被抛弃。" #: ../../reference/scql_operators.md:786 msgid "`file_path`: String. Absolute file path to dump the tensors." -msgstr "" +msgstr "`file_path`:字符串。用于转储张量的绝对文件路径。" #: ../../reference/scql_operators.md:788 msgid "`deliminator`: String. Column deliminator, e.g. comma `,`" -msgstr "" +msgstr "deliminator:字符串。列分隔符,例如逗号" #: ../../reference/scql_operators.md:801 msgid "`In`" -msgstr "" +msgstr "`In`" #: ../../reference/scql_operators.md:803 msgid "" @@ -623,196 +626,196 @@ msgid "" "input tensor Right (its shape is [N]), check whether Left's element " "exists in Right's elements and output a boolean tensor Out (its shape is " "[M]). Left and Right must be the same type. Example:" -msgstr "" +msgstr "定义:给定一个输入张量 Left (其shape为 [M]) 和另一个输入张量 Right (其shape为 [N]),检查 Left 的元素是否存在于右的元素中,并输出一个布尔张量 Out (其shape为 [M])。左和右必须是相同的类型。例:" #: ../../reference/scql_operators.md:816 msgid "`Left`(single, T): First operand." -msgstr "" +msgstr "`Left`(single, T): 第一个操作数。" #: ../../reference/scql_operators.md:818 msgid "`Right`(single, T1): Second operand." -msgstr "" +msgstr "`Right`(single, T1): 第二个操作数。" #: ../../reference/scql_operators.md:823 msgid "`Out`(single, T): Output Tensor." -msgstr "" +msgstr "`Out`(single, T): 输出张量。" #: ../../reference/scql_operators.md:829 msgid "`algorithm`: Int64. Algorithm to use for the op. 1: PSI" -msgstr "" +msgstr "`algorithm`:Int64. 用于操作 1 的算法:PSI" #: ../../reference/scql_operators.md:831 msgid "" "`input_party_codes`: List of parties the inputs belong to. This attribute" " is required if algorithm = PSI." -msgstr "" +msgstr "`input_party_codes`:输入所属的参与方列表。如果 algorithm = PSI,则需要此属性。" #: ../../reference/scql_operators.md:833 msgid "" "`reveal_to`: A party can see the result. This attribute is required if " "algorithm = PSI." -msgstr "" +msgstr "`reveal_to`:参与方可以看到结果。如果 algorithm = PSI,则此属性是必需的。" #: ../../reference/scql_operators.md:842 msgid "`algorithm`: 0" -msgstr "" +msgstr "`algorithm`: 0" #: ../../reference/scql_operators.md:855 msgid "`ReduceSum`" -msgstr "" +msgstr "`ReduceSum`" #: ../../reference/scql_operators.md:857 msgid "" "Definition: Given an input tensor In, return the sum of input tensor's " "elements. Example:" -msgstr "" +msgstr "定义:给定一个输入张量,返回输入张量元素的总和。例:" #: ../../reference/scql_operators.md:868 msgid "`In`(single, T): Tensor to be summed (shape [M])." -msgstr "" +msgstr "`In`(single, T):要求和的张量 (shape [M])" #: ../../reference/scql_operators.md:873 msgid "`Out`(single, T): The summed Tensor (shape [1])." -msgstr "" +msgstr "`Out`(single, T):张量和 (shape [1])" #: ../../reference/scql_operators.md:886 msgid "`ReduceMax`" -msgstr "" +msgstr "`ReduceMax`" #: ../../reference/scql_operators.md:888 msgid "" "Definition: Given a input tensor In, return the max of input tensor's " "elements. Example:" -msgstr "" +msgstr "定义:给定一个输入张量,返回输入张量元素的最大值。例:" #: ../../reference/scql_operators.md:899 msgid "`In`(single, T): Tensor to be maxed (shape [M])." -msgstr "" +msgstr "`In`(single, T): 需要最大化的张量 (shape [M])" #: ../../reference/scql_operators.md:904 msgid "`Out`(single, T): The maxed Tensor (shape [1])." -msgstr "" +msgstr "`Out`(single, T):张量最大化 (shape [1])" #: ../../reference/scql_operators.md:917 msgid "`ReduceMin`" -msgstr "" +msgstr "`ReduceMin`" #: ../../reference/scql_operators.md:919 msgid "" "Definition: Given a input tensor In, return the min of input tensor's " "elements. Example:" -msgstr "" +msgstr "定义:给定一个输入张量,返回输入张量元素的最小值。例:" #: ../../reference/scql_operators.md:930 msgid "`In`(single, T): Tensor to be mined (shape [M])." -msgstr "" +msgstr "`In`(single, T):需要最小化的张量 (shape [M])." #: ../../reference/scql_operators.md:935 msgid "`Out`(single, T): The mined Tensor (shape [1])." -msgstr "" +msgstr "`Out`(single, T):张量最小化 (shape [1])." #: ../../reference/scql_operators.md:948 msgid "`ReduceAvg`" -msgstr "" +msgstr "`ReduceAvg`" #: ../../reference/scql_operators.md:950 msgid "" "Definition: Given a input tensor In, return the average of input tensor's" " elements. Example:" -msgstr "" +msgstr "定义:给定一个输入张量,返回输入张量元素的平均值。例:" #: ../../reference/scql_operators.md:964 msgid "`In`(single, T): Tensor to be reduced (shape [M])." -msgstr "" +msgstr "`In`(single, T):需要求平均的张量 (shape [M])" #: ../../reference/scql_operators.md:969 msgid "`Out`(single, T): The average Tensor (shape [1])." -msgstr "" +msgstr "`Out`(single, T):平均张量 (shape [1])." #: ../../reference/scql_operators.md:982 msgid "`Shape`" -msgstr "" +msgstr "`Shape`" #: ../../reference/scql_operators.md:984 msgid "" "Definition: Given tensors In, return shapes of each tensor. Axis starts " "from 0. If axis is set, dimensions of each shape are returned. If axis is" " not set(default -1), shapes are returned. Example:" -msgstr "" +msgstr "定义:给定张量,返回每个张量的 shapes,Axis从 0 开始。如果设置了 Axis,则返回每个 shapes 的维度。如果未设置 Axis (默认为 -1),则返回 shapes 。例:" #: ../../reference/scql_operators.md:995 msgid "`In`(variadic, T): Input Tensors" -msgstr "" +msgstr "`In`(variadic, T): 输入张量" #: ../../reference/scql_operators.md:1000 msgid "`Out`(variadic, T1): Shape Tensors" -msgstr "" +msgstr "`Out`(variadic, T1): 输出 Shape" #: ../../reference/scql_operators.md:1006 msgid "`axis`: Int. Specific dimension of the shape." -msgstr "" +msgstr "`axis`: Int. 特定的 shape 维度" #: ../../reference/scql_operators.md:1015 msgid "`axis`: -1" -msgstr "" +msgstr "`axis`: -1" #: ../../reference/scql_operators.md:1028 msgid "`Unique`" -msgstr "" +msgstr "`Unique`" #: ../../reference/scql_operators.md:1030 msgid "Definition: Unique of Key tensor. Example:" -msgstr "" +msgstr "定义:Key tensor 的唯一性。例:" #: ../../reference/scql_operators.md:1041 msgid "`Key`(single, T): Input key tensors(shape [M][1])." -msgstr "" +msgstr "`Key`(single, T): 输入 Key tensor(shape [M][1])" #: ../../reference/scql_operators.md:1046 msgid "`UniqueKey`(single, T): Output unique key tensor(shape [K][1])." -msgstr "" +msgstr "`UniqueKey`(single, T): 输出唯一 key tensor(shape [K][1])" #: ../../reference/scql_operators.md:1059 msgid "`Sort`" -msgstr "" +msgstr "`Sort`" #: ../../reference/scql_operators.md:1061 msgid "Definition: sort `In` using `Key`. Example:" -msgstr "" +msgstr "定义: 使用 `Key` 对输入内容进行排序。例:" #: ../../reference/scql_operators.md:1073 msgid "`Key`(variadic, T): Sort Key(shape [M][1])." -msgstr "" +msgstr "`Key`(variadic, T): 排序键(shape [M][1])" #: ../../reference/scql_operators.md:1075 msgid "`In`(variadic, T): Sort Value(shape [M][1])." -msgstr "" +msgstr "`In`(variadic, T): 排序值(shape [M][1])" #: ../../reference/scql_operators.md:1080 msgid "`Out`(variadic, T): Sorted Value(shape [M][1])" -msgstr "" +msgstr "`Out`(variadic, T):排序值(shape [M][1])" #: ../../reference/scql_operators.md:1086 msgid "`reverse`: Bool. If True, the sorted tensor in descending order." -msgstr "" +msgstr "`reverse`: Bool, 如果为 True, 则张量按照从大到小的顺序排列" #: ../../reference/scql_operators.md:1095 msgid "`reverse`: false" -msgstr "" +msgstr "`reverse`: false" #: ../../reference/scql_operators.md:1106 msgid "`ObliviousGroupMark`" -msgstr "" +msgstr "`ObliviousGroupMark`" #: ../../reference/scql_operators.md:1108 msgid "" "Definition: generate end of group indicator `Group` based on `Key`. The " "operator calculates Group[i] = not_eq(Key[i+1], Key[i]). Example:" -msgstr "" +msgstr "定义:基于 Key 生成组末指标 Group,运算符计算组 [i] = not_eq(key [i+1], key [i])。例" #: ../../reference/scql_operators.md:1122 msgid "`Key`(variadic, T): Pre-sorted group keys (shape [M][1])." -msgstr "" +msgstr "`Key`(variadic, T): 预排序的组键 (shape [M][1])" #: ../../reference/scql_operators.md:1127 #: ../../reference/scql_operators.md:1154 @@ -823,11 +826,11 @@ msgstr "" msgid "" "`Group`(single, T): End of group indicator(shape [M][1]). Element 1 means" " the row is the last element of the group, 0 is not." -msgstr "" +msgstr "`Group`(single, T): End of group indicator(shape [M][1]), 元素 1 表示行是组的最后一个元素,0 不是" #: ../../reference/scql_operators.md:1140 msgid "`ObliviousGroupSum`" -msgstr "" +msgstr "`ObliviousGroupSum`" #: ../../reference/scql_operators.md:1142 #: ../../reference/scql_operators.md:1176 @@ -837,7 +840,7 @@ msgstr "" msgid "" "Definition: partially aggregate `In` according to end of group indicator." " Example:" -msgstr "" +msgstr "定义: 根据end of group indicator 部分聚合输入内容。" #: ../../reference/scql_operators.md:1156 #: ../../reference/scql_operators.md:1190 @@ -845,7 +848,7 @@ msgstr "" #: ../../reference/scql_operators.md:1258 #: ../../reference/scql_operators.md:1292 msgid "`In`(variadic, T): Values to be aggregated (shape [M][1])." -msgstr "" +msgstr "`In`(variadic, T): 要聚合的值 (shape [M][1])。" #: ../../reference/scql_operators.md:1161 #: ../../reference/scql_operators.md:1195 @@ -853,7 +856,7 @@ msgstr "" #: ../../reference/scql_operators.md:1263 #: ../../reference/scql_operators.md:1297 msgid "`Out`(variadic, T): Partially aggregated values (shape [M][1])." -msgstr "" +msgstr "`Out`(variadic, T): 部分聚合的值(shape [M][1])。" #: ../../reference/scql_operators.md:1170 #: ../../reference/scql_operators.md:1204 @@ -863,110 +866,110 @@ msgstr "" #: ../../reference/scql_operators.md:1337 #: ../../reference/scql_operators.md:1443 msgid "`T`: secret" -msgstr "" +msgstr "`T`: secret" #: ../../reference/scql_operators.md:1174 msgid "`ObliviousGroupCount`" -msgstr "" +msgstr "`ObliviousGroupCount`" #: ../../reference/scql_operators.md:1208 msgid "`ObliviousGroupMax`" -msgstr "" +msgstr "`ObliviousGroupMax`" #: ../../reference/scql_operators.md:1242 msgid "`ObliviousGroupMin`" -msgstr "" +msgstr "`ObliviousGroupMin`" #: ../../reference/scql_operators.md:1276 msgid "`ObliviousGroupAvg`" -msgstr "" +msgstr "`ObliviousGroupAvg`" #: ../../reference/scql_operators.md:1310 msgid "`Shuffle`" -msgstr "" +msgstr "`Shuffle`" #: ../../reference/scql_operators.md:1312 msgid "Definition: Shuffle `In`. Example:" -msgstr "" +msgstr "定义:随机 `In`。例:" #: ../../reference/scql_operators.md:1323 msgid "`In`(variadic, T): Input Value(shape [M][1])." -msgstr "" +msgstr "`In`(variadic, T):输入值(shape [M][1])." #: ../../reference/scql_operators.md:1328 msgid "`Out`(variadic, T): Output Value(shape [M][1])" -msgstr "" +msgstr "`Out`(variadic, T):输出值(shape [M][1])" #: ../../reference/scql_operators.md:1341 msgid "`BroadcastTo`" -msgstr "" +msgstr "`BroadcastTo`" #: ../../reference/scql_operators.md:1343 msgid "" "Definition: Broadcast Input tensor `In` to the same shape as " "`ShapeRefTensor`. Example:" -msgstr "" +msgstr "将输入的张量 In 广播转变为与 ShapeRefTensor 相同的形状。例:" #: ../../reference/scql_operators.md:1355 msgid "`In`(variadic, T): Input tensor" -msgstr "" +msgstr "`In`(variadic, T):输入张量" #: ../../reference/scql_operators.md:1357 msgid "`ShapeRefTensor`(single, T1): Shape reference tensor" -msgstr "" +msgstr "`ShapeRefTensor`(single, T1):Shape reference tensor" #: ../../reference/scql_operators.md:1362 msgid "`Out`(variadic, T2): Result tensor" -msgstr "" +msgstr "`Out`(variadic, T2):张量结果" #: ../../reference/scql_operators.md:1371 msgid "`T`: public" -msgstr "" +msgstr "`T`:公开" #: ../../reference/scql_operators.md:1375 msgid "`T2`: public,private" -msgstr "" +msgstr "`T2`:公开,私有" #: ../../reference/scql_operators.md:1379 msgid "`Not`" -msgstr "" +msgstr "`Not`" #: ../../reference/scql_operators.md:1381 msgid "Out = Not In" -msgstr "" +msgstr "Out = Not In" #: ../../reference/scql_operators.md:1385 msgid "`In`(single, T): Input tensor." -msgstr "" +msgstr "`In`(single, T):输入张量." #: ../../reference/scql_operators.md:1390 msgid "`Out`(single, T): Output tensor." -msgstr "" +msgstr "`Out`(single, T):输出张量。" #: ../../reference/scql_operators.md:1403 msgid "`Concat`" -msgstr "" +msgstr "`Concat`" #: ../../reference/scql_operators.md:1405 msgid "" "Definition: Given a number of tensors In (variadic, each tensor's shape " "must be the same except for the axis), concat the In tensors along the " "axis. Example:" -msgstr "" +msgstr "定义:给定多个张量 (可以有多个,但每个张量的形状必须相同,除了某一个轴),将它们沿着这个轴拼接起来。例如:" #: ../../reference/scql_operators.md:1416 msgid "`In`(variadic, T): Tensors to be concat." -msgstr "" +msgstr "`In`(variadic, T):要连接的张量。" #: ../../reference/scql_operators.md:1421 msgid "`Out`(single, T): Concated Tensor." -msgstr "" +msgstr "`Out`(single, T):整合张量。" #: ../../reference/scql_operators.md:1427 msgid "`axis`: Int. Dimension along which to concatenate." -msgstr "" +msgstr "`axis`:要连接的维度" #: ../../reference/scql_operators.md:1436 msgid "`axis`: 0" -msgstr "" +msgstr "`axis`:0" From 88680d186dcc8afdd054669f83022a9a07a22a24 Mon Sep 17 00:00:00 2001 From: kinoko-shelter <1771634408@qq.com> Date: Tue, 4 Jul 2023 16:35:52 +0800 Subject: [PATCH 2/7] =?UTF-8?q?scql=5Foperators=5Fdoc=E9=80=90=E5=8F=A5?= =?UTF-8?q?=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reference/scql_operators_doc.po | 373 +++++++++--------- 1 file changed, 188 insertions(+), 185 deletions(-) diff --git a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po index 98933b90..ebb8d2a7 100644 --- a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po +++ b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po @@ -21,25 +21,28 @@ msgstr "" #: ../../reference/scql_operators_doc.rst:2 msgid "SCQL Operators Specification" -msgstr "" +msgstr "SCQL 操作符规范" #: ../../reference/scql_operators_doc.rst:4 msgid "" "This is a specification (not a kernel library) of SCQL operators, " "including operator signatures and semantics." -msgstr "" +msgstr "这是 SCQL 操作符符的规范 (不是内核库),包括操作符签名和语义" + + + #: ../../reference/scql_operators_doc.rst:7 msgid "Op List" -msgstr "" +msgstr "操作符按列表" #: ../../reference/scql_operators.md:2 msgid "`RunSQL`" -msgstr "" +msgstr "`RunSQL`" #: ../../reference/scql_operators.md:4 msgid "Run a SQL statement and return a list of tensors in private status" -msgstr "" +msgstr "运行 SQL 语句并返回私有状态下的张量列表" #: ../../reference/scql_operators.md:6 ../../reference/scql_operators.md:38 #: ../../reference/scql_operators.md:64 ../../reference/scql_operators.md:94 @@ -69,11 +72,11 @@ msgstr "" #: ../../reference/scql_operators.md:1383 #: ../../reference/scql_operators.md:1414 msgid "**Inputs:**" -msgstr "" +msgstr "输入:" #: ../../reference/scql_operators.md:8 ../../reference/scql_operators.md:736 msgid "No input parameter." -msgstr "" +msgstr "无输入参数。" #: ../../reference/scql_operators.md:11 ../../reference/scql_operators.md:43 #: ../../reference/scql_operators.md:71 ../../reference/scql_operators.md:101 @@ -103,11 +106,11 @@ msgstr "" #: ../../reference/scql_operators.md:1388 #: ../../reference/scql_operators.md:1419 msgid "**Outputs:**" -msgstr "" +msgstr "输出:" #: ../../reference/scql_operators.md:13 msgid "`Out`(variadic, T): Result tensors of the SQL statement." -msgstr "" +msgstr "Out`(variadic, T): SQL 语句的结果张量。" #: ../../reference/scql_operators.md:17 ../../reference/scql_operators.md:521 #: ../../reference/scql_operators.md:593 ../../reference/scql_operators.md:668 @@ -116,15 +119,15 @@ msgstr "" #: ../../reference/scql_operators.md:1084 #: ../../reference/scql_operators.md:1425 msgid "**Attributes:**" -msgstr "" +msgstr "属性:" #: ../../reference/scql_operators.md:19 msgid "`sql`: SQL statement" -msgstr "" +msgstr "`sql`:QL 语句" #: ../../reference/scql_operators.md:21 msgid "`table_refs`: tables referenced by query" -msgstr "" +msgstr "`table_refs`:查询引用的表" #: ../../reference/scql_operators.md:28 ../../reference/scql_operators.md:52 #: ../../reference/scql_operators.md:80 ../../reference/scql_operators.md:110 @@ -155,47 +158,47 @@ msgstr "" #: ../../reference/scql_operators.md:1397 #: ../../reference/scql_operators.md:1441 msgid "**TensorStatus(ShareType) Constraints:**" -msgstr "" +msgstr "张量状态(共享类型) 约束:" #: ../../reference/scql_operators.md:30 ../../reference/scql_operators.md:649 #: ../../reference/scql_operators.md:797 ../../reference/scql_operators.md:849 #: ../../reference/scql_operators.md:1055 msgid "`T`: private" -msgstr "" +msgstr "`T`:私有" #: ../../reference/scql_operators.md:34 msgid "`Publish`" -msgstr "" +msgstr "`Publish`" #: ../../reference/scql_operators.md:36 msgid "This operator publishes the DAG results." -msgstr "" +msgstr "此操作符发布 DAG 结果。" #: ../../reference/scql_operators.md:40 msgid "`In`(variadic, T1): Tensors to be published." -msgstr "" +msgstr "`In`(variadic, T1):要发布的张量。" #: ../../reference/scql_operators.md:45 msgid "" "`Out`(variadic, T2): Result tensors of the publish op. Tensors are in " "TensorOption VALUE." -msgstr "" +msgstr "`Out`(variadic, T2):发布操作的结果张量。张量位于 TensorOption VALUE 中。" #: ../../reference/scql_operators.md:54 ../../reference/scql_operators.md:718 msgid "`T1`: public,private" -msgstr "" +msgstr "`T1`: 公开,私有" #: ../../reference/scql_operators.md:56 msgid "`T2`: unknown" -msgstr "" +msgstr "`T2`: 未知" #: ../../reference/scql_operators.md:60 msgid "`Less`" -msgstr "" +msgstr "`Less`" #: ../../reference/scql_operators.md:62 msgid "Out = Left `Less` Right" -msgstr "" +msgstr "Out = Left `Less` Right" #: ../../reference/scql_operators.md:66 ../../reference/scql_operators.md:96 #: ../../reference/scql_operators.md:126 ../../reference/scql_operators.md:156 @@ -205,7 +208,7 @@ msgstr "" #: ../../reference/scql_operators.md:366 ../../reference/scql_operators.md:396 #: ../../reference/scql_operators.md:426 ../../reference/scql_operators.md:456 msgid "`Left`(variadic, T): First operand." -msgstr "" +msgstr "`Left`(variadic, T):第一个操作符数。" #: ../../reference/scql_operators.md:68 ../../reference/scql_operators.md:98 #: ../../reference/scql_operators.md:128 ../../reference/scql_operators.md:158 @@ -215,7 +218,7 @@ msgstr "" #: ../../reference/scql_operators.md:368 ../../reference/scql_operators.md:398 #: ../../reference/scql_operators.md:428 ../../reference/scql_operators.md:458 msgid "`Right`(variadic, T1): Second operand." -msgstr "" +msgstr "`Right`(variadic, T1):第二个操作符数。" #: ../../reference/scql_operators.md:73 ../../reference/scql_operators.md:103 #: ../../reference/scql_operators.md:133 ../../reference/scql_operators.md:163 @@ -225,7 +228,7 @@ msgstr "" #: ../../reference/scql_operators.md:373 ../../reference/scql_operators.md:403 #: ../../reference/scql_operators.md:433 ../../reference/scql_operators.md:463 msgid "`Out`(variadic, T2): Output Tensor." -msgstr "" +msgstr "`Out`(variadic, T2):输出张量。" #: ../../reference/scql_operators.md:82 ../../reference/scql_operators.md:112 #: ../../reference/scql_operators.md:142 ../../reference/scql_operators.md:172 @@ -237,7 +240,7 @@ msgstr "" #: ../../reference/scql_operators.md:1022 #: ../../reference/scql_operators.md:1399 msgid "`T`: public,private,secret" -msgstr "" +msgstr "`T`: 公开,私有,加密" #: ../../reference/scql_operators.md:84 ../../reference/scql_operators.md:114 #: ../../reference/scql_operators.md:144 ../../reference/scql_operators.md:174 @@ -248,7 +251,7 @@ msgstr "" #: ../../reference/scql_operators.md:444 ../../reference/scql_operators.md:474 #: ../../reference/scql_operators.md:1373 msgid "`T1`: public,private,secret" -msgstr "" +msgstr "`T1`: 公开,私有,加密" #: ../../reference/scql_operators.md:86 ../../reference/scql_operators.md:116 #: ../../reference/scql_operators.md:146 ../../reference/scql_operators.md:176 @@ -258,279 +261,279 @@ msgstr "" #: ../../reference/scql_operators.md:386 ../../reference/scql_operators.md:416 #: ../../reference/scql_operators.md:446 ../../reference/scql_operators.md:476 msgid "`T2`: private,secret" -msgstr "" +msgstr "`T2`: 私有,加密" #: ../../reference/scql_operators.md:90 msgid "`LessEqual`" -msgstr "" +msgstr "`LessEqual`" #: ../../reference/scql_operators.md:92 msgid "Out = Left `LessEqual` Right" -msgstr "" +msgstr "Out = Left `LessEqual` Right" #: ../../reference/scql_operators.md:120 msgid "`Greater`" -msgstr "" +msgstr "`Greater`" #: ../../reference/scql_operators.md:122 msgid "Out = Left `Greater` Right" -msgstr "" +msgstr "Out = Left `Greater` Right" #: ../../reference/scql_operators.md:150 msgid "`GreaterEqual`" -msgstr "" +msgstr "`GreaterEqual`" #: ../../reference/scql_operators.md:152 msgid "Out = Left `GreaterEqual` Right" -msgstr "" +msgstr "Out = Left `GreaterEqual` Right" #: ../../reference/scql_operators.md:180 msgid "`Equal`" -msgstr "" +msgstr "`Equal`" #: ../../reference/scql_operators.md:182 msgid "Out = Left `Equal` Right" -msgstr "" +msgstr "Out = Left `Equal` Right" #: ../../reference/scql_operators.md:210 msgid "`NotEqual`" -msgstr "" +msgstr "`NotEqual`" #: ../../reference/scql_operators.md:212 msgid "Out = Left `NotEqual` Right" -msgstr "" +msgstr "Out = Left `NotEqual` Right" #: ../../reference/scql_operators.md:240 msgid "`LogicalAnd`" -msgstr "" +msgstr "`LogicalAnd`" #: ../../reference/scql_operators.md:242 msgid "Out = Left `LogicalAnd` Right" -msgstr "" +msgstr "Out = Left `LogicalAnd` Right" #: ../../reference/scql_operators.md:270 msgid "`LogicalOr`" -msgstr "" +msgstr "`LogicalOr`" #: ../../reference/scql_operators.md:272 msgid "Out = Left `LogicalOr` Right" -msgstr "" +msgstr "Out = Left `LogicalOr` Right" #: ../../reference/scql_operators.md:300 msgid "`Add`" -msgstr "" +msgstr "`Add`" #: ../../reference/scql_operators.md:302 msgid "Out = Left `Add` Right" -msgstr "" +msgstr "Out = Left `Add` Right" #: ../../reference/scql_operators.md:330 msgid "`Minus`" -msgstr "" +msgstr "`Minus`" #: ../../reference/scql_operators.md:332 msgid "Out = Left `Minus` Right" -msgstr "" +msgstr "Out = Left `Minus` Right" #: ../../reference/scql_operators.md:360 msgid "`Mul`" -msgstr "" +msgstr "`Mul`" #: ../../reference/scql_operators.md:362 msgid "Out = Left `Mul` Right" -msgstr "" +msgstr "Out = Left `Mul` Right" #: ../../reference/scql_operators.md:390 msgid "`Div`" -msgstr "" +msgstr "`Div`" #: ../../reference/scql_operators.md:392 msgid "Out = Left `Div` Right" -msgstr "" +msgstr "Out = Left `Div` Right" #: ../../reference/scql_operators.md:420 msgid "`IntDiv`" -msgstr "" +msgstr "`IntDiv`" #: ../../reference/scql_operators.md:422 msgid "Out = Left `IntDiv` Right" -msgstr "" +msgstr "Out = Left `IntDiv` Right" #: ../../reference/scql_operators.md:450 msgid "`Mod`" -msgstr "" +msgstr "`Mod`" #: ../../reference/scql_operators.md:452 msgid "Out = Left `Mod` Right" -msgstr "" +msgstr "Out = Left `Mod` Right" #: ../../reference/scql_operators.md:480 msgid "`MakePublic`" -msgstr "" +msgstr "`MakePublic`" #: ../../reference/scql_operators.md:482 msgid "Convert In tensor from share/private status to public status." -msgstr "" +msgstr "将张量中从共享或私有状态转换为公共状态。" #: ../../reference/scql_operators.md:486 ../../reference/scql_operators.md:512 #: ../../reference/scql_operators.md:544 msgid "`In`(variadic, T1): Input tensors." -msgstr "" +msgstr "`In`(variadic, T1):输入张量。" #: ../../reference/scql_operators.md:491 ../../reference/scql_operators.md:517 #: ../../reference/scql_operators.md:549 msgid "`Out`(variadic, T2): Output tensors." -msgstr "" +msgstr "`Out`(variadic, T2):输出张量。" #: ../../reference/scql_operators.md:500 msgid "`T1`: private,secret" -msgstr "" +msgstr "`T1`: 私有,加密" #: ../../reference/scql_operators.md:502 msgid "`T2`: public" -msgstr "" +msgstr "`T2`: 公开" #: ../../reference/scql_operators.md:506 msgid "`MakePrivate`" -msgstr "" +msgstr "`MakePrivate`" #: ../../reference/scql_operators.md:508 msgid "Convert In tensor from share status to private status." -msgstr "" +msgstr "将张量从共享状态转为私有状态。" #: ../../reference/scql_operators.md:523 msgid "" "`reveal_to`: List of parties to see the private data. If it is revealed " "to one party only, the other party also needs to run the op, but does not" " have an output. Only the reveal_to party gets the output." -msgstr "" +msgstr "`reveal_to`:一个包含可查看私有数据的方的列表。如果只向一方透露,那么另一方也需要运行该操作,但不会有结果。只有被指定为 reveal_to 的一方才能获取结果。" #: ../../reference/scql_operators.md:532 msgid "`T1`: secret" -msgstr "" +msgstr "`T1`: 加密" #: ../../reference/scql_operators.md:534 ../../reference/scql_operators.md:615 msgid "`T2`: private" -msgstr "" +msgstr "`T2`: 私有" #: ../../reference/scql_operators.md:538 msgid "`MakeShare`" -msgstr "" +msgstr "`MakeShare`" #: ../../reference/scql_operators.md:540 msgid "Convert In tensor from private status to share status." -msgstr "" +msgstr "将张量从私有状态转变为共享状态。" #: ../../reference/scql_operators.md:558 ../../reference/scql_operators.md:613 #: ../../reference/scql_operators.md:681 ../../reference/scql_operators.md:851 #: ../../reference/scql_operators.md:1024 msgid "`T1`: private" -msgstr "" +msgstr "`T1`: 私有" #: ../../reference/scql_operators.md:560 msgid "`T2`: secret" -msgstr "" +msgstr "`T2`: 加密" #: ../../reference/scql_operators.md:564 msgid "`Join`" -msgstr "" +msgstr "`Join`" #: ../../reference/scql_operators.md:566 msgid "" "Definition: Create Join Index based on EQ-Join, return result's " "corresponding rows index in the original input. Example:" -msgstr "" +msgstr "定义:基于 EQ-Join 创建连接索引,返回原始输入中结果对应的行索引。例:" #: ../../reference/scql_operators.md:580 msgid "`Left`(single, T1): Left vector(shape [M][1])" -msgstr "" +msgstr "`Left`(single, T1):Left vector(shape [M][1])" #: ../../reference/scql_operators.md:582 msgid "`Right`(single, T1): Right vector(shape [N][1])" -msgstr "" +msgstr "`Right`(single, T1):Right vector(shape [N][1])" #: ../../reference/scql_operators.md:587 msgid "" "`LeftJoinIndex`(single, T2): Joined rows index for left vector(shape " "[K][1])" -msgstr "" +msgstr "`LeftJoinIndex`(single, T2):左向量连接的联接行索引(shape [K][1])" #: ../../reference/scql_operators.md:589 msgid "" "`RightJoinIndex`(single, T2): Joined rows index for right vector(shape " "[K][1])" -msgstr "" +msgstr "`RightJoinIndex`(single, T2):右向量连接的联接行索引(shape [K][1])" #: ../../reference/scql_operators.md:595 msgid "" "`input_party_codes`: List of parties the inputs belong to([PartyCodeLeft," " PartyCodeRight])." -msgstr "" +msgstr "`input_party_codes`:输入所属的各方列表([PartyCodeLeft, PartyCodeRight])。" #: ../../reference/scql_operators.md:597 msgid "`join_type`: Int64. 0: inner join;" -msgstr "" +msgstr "`join_type`:Int64. 0:inner join;" #: ../../reference/scql_operators.md:604 ../../reference/scql_operators.md:756 #: ../../reference/scql_operators.md:840 ../../reference/scql_operators.md:1013 #: ../../reference/scql_operators.md:1093 #: ../../reference/scql_operators.md:1434 msgid "**Default Attribute Values:**" -msgstr "" +msgstr "**默认属性值:**" #: ../../reference/scql_operators.md:606 msgid "`join_type`: 0" -msgstr "" +msgstr "`join_type`:0" #: ../../reference/scql_operators.md:619 msgid "`FilterByIndex`" -msgstr "" +msgstr "`FilterByIndex`" #: ../../reference/scql_operators.md:621 msgid "Definition: Filter by rows index. Example:" -msgstr "" +msgstr "定义:按行索引筛选。例:" #: ../../reference/scql_operators.md:633 msgid "`RowsIndexFilter`(single, T): Rows index filter vector(shape [K][1])." -msgstr "" +msgstr "RowsIndexFilter (single, T):行索引筛选器向量(形状 [K][1])" #: ../../reference/scql_operators.md:635 msgid "`Data`(variadic, T): Input data tensor(shape [M][N])." -msgstr "" +msgstr "`Data`(variadic, T):输入数据张量(shape [M][N])。" #: ../../reference/scql_operators.md:640 msgid "`Out`(variadic, T): Output data tensor(shape [X][N])." -msgstr "" +msgstr "`Out`(variadic, T):输出数据张量(shape [X][N])。" #: ../../reference/scql_operators.md:653 msgid "`Copy`" -msgstr "" +msgstr "`Copy`" #: ../../reference/scql_operators.md:655 msgid "" "Definition: Copy source tensor \"In\" to new tensor \"Out\" on target " "party" -msgstr "" +msgstr "定义:将源张量“In”复制到目标方的新张量“Out”" #: ../../reference/scql_operators.md:659 msgid "`In`(single, T1): source tensor" -msgstr "" +msgstr "`In`(single, T1):源张量。" #: ../../reference/scql_operators.md:664 msgid "`Out`(single, T1): target tensor" -msgstr "" +msgstr "`Out`(single, T1):目标张量" #: ../../reference/scql_operators.md:670 msgid "`input_party_codes`: Input tensor `In` belongs to" -msgstr "" +msgstr "`input_party_codes`:输入张量“In”所属方。" #: ../../reference/scql_operators.md:672 msgid "`output_party_codes`: Output tensor `Out` belongs to" -msgstr "" +msgstr "`output_party_codes`:输出张量“Out”所属方" #: ../../reference/scql_operators.md:685 msgid "`Filter`" -msgstr "" +msgstr "`Filter`" #: ../../reference/scql_operators.md:687 msgid "" @@ -538,84 +541,84 @@ msgid "" " In (variadic, each tensor's shape must be [M]), for i in [0, M-1], keep " "the In tensors' element if and only if Filter[i] is True, output the " "filter result tensors Out (variadic). Example:" -msgstr "" +msgstr "给定一个布尔张量Filter (其shape为[M]),以及一些张量 In (variadic,每个张量的shape必须为[M])。对于i在[0, M-1]的范围内,仅当Filter[i]为真时,保留In张量的元素,并输出过滤结果张量 Out (variadic)。例:" #: ../../reference/scql_operators.md:700 msgid "`Filter`(single, T1): Filter tensor." -msgstr "" +msgstr "`Filter`(single, T1):滤波张量。" #: ../../reference/scql_operators.md:702 msgid "`In`(variadic, T): Tensors to be filtered." -msgstr "" +msgstr "`In`(variadic, T):待过滤的张量." #: ../../reference/scql_operators.md:707 msgid "`Out`(variadic, T): Output tensor." -msgstr "" +msgstr "`Out`(variadic, T):输出张量." #: ../../reference/scql_operators.md:716 ../../reference/scql_operators.md:882 #: ../../reference/scql_operators.md:913 ../../reference/scql_operators.md:944 #: ../../reference/scql_operators.md:978 ../../reference/scql_operators.md:1102 #: ../../reference/scql_operators.md:1136 msgid "`T`: private,secret" -msgstr "" +msgstr "`T`:private,secret" #: ../../reference/scql_operators.md:722 msgid "`Constant`" -msgstr "" +msgstr "`Constant`" #: ../../reference/scql_operators.md:724 msgid "Definition: Make constant from attribute. Example:" -msgstr "" +msgstr "定义:从属性生成常量。例如:" #: ../../reference/scql_operators.md:741 msgid "`Out`(single, T): output tensor(shape [M]) from constant." -msgstr "" +msgstr "`Out`(single, T):从常量输出张量(shape [M])" #: ../../reference/scql_operators.md:747 msgid "`scalar`: scalar attribute(with shape [M])" -msgstr "" +msgstr "`scalar`:标量属性(shape [M])" #: ../../reference/scql_operators.md:749 msgid "`to_status`: int64. to status, 0: to private, 1: to public." -msgstr "" +msgstr "`to_status`:int64. to status, 0:to private, 1:to public." #: ../../reference/scql_operators.md:758 msgid "`to_status`: 0" -msgstr "" +msgstr "`to_status`:0" #: ../../reference/scql_operators.md:765 msgid "`T`: public,private" -msgstr "" +msgstr "`T`:公共,私有" #: ../../reference/scql_operators.md:769 msgid "`DumpFile`" -msgstr "" +msgstr "`DumpFile`" #: ../../reference/scql_operators.md:771 msgid "" "Definition: Dump the input tensor. Note: This op will change the affected" " rows in the session" -msgstr "" +msgstr "定义:转储输入张量。注意:此操作将更改会话中受影响的行。" #: ../../reference/scql_operators.md:775 msgid "`In`(variadic, T): Tensors to be dumped." -msgstr "" +msgstr "`In`(variadic, T):要存储的张量。" #: ../../reference/scql_operators.md:780 msgid "`Out`(variadic, T): Tensors have been dumped." -msgstr "" +msgstr "`Out`(variadic, T):张量已被抛弃。" #: ../../reference/scql_operators.md:786 msgid "`file_path`: String. Absolute file path to dump the tensors." -msgstr "" +msgstr "`file_path`:字符串。用于转储张量的绝对文件路径。" #: ../../reference/scql_operators.md:788 msgid "`deliminator`: String. Column deliminator, e.g. comma `,`" -msgstr "" +msgstr "deliminator:字符串。列分隔符,例如逗号" #: ../../reference/scql_operators.md:801 msgid "`In`" -msgstr "" +msgstr "`In`" #: ../../reference/scql_operators.md:803 msgid "" @@ -623,196 +626,196 @@ msgid "" "input tensor Right (its shape is [N]), check whether Left's element " "exists in Right's elements and output a boolean tensor Out (its shape is " "[M]). Left and Right must be the same type. Example:" -msgstr "" +msgstr "定义:给定一个输入张量 Left (其shape为 [M]) 和另一个输入张量 Right (其shape为 [N]),检查 Left 的元素是否存在于右的元素中,并输出一个布尔张量 Out (其shape为 [M])。左和右必须是相同的类型。例:" #: ../../reference/scql_operators.md:816 msgid "`Left`(single, T): First operand." -msgstr "" +msgstr "`Left`(single, T): 第一个操作数。" #: ../../reference/scql_operators.md:818 msgid "`Right`(single, T1): Second operand." -msgstr "" +msgstr "`Right`(single, T1): 第二个操作数。" #: ../../reference/scql_operators.md:823 msgid "`Out`(single, T): Output Tensor." -msgstr "" +msgstr "`Out`(single, T): 输出张量。" #: ../../reference/scql_operators.md:829 msgid "`algorithm`: Int64. Algorithm to use for the op. 1: PSI" -msgstr "" +msgstr "`algorithm`:Int64. 用于操作 1 的算法:PSI" #: ../../reference/scql_operators.md:831 msgid "" "`input_party_codes`: List of parties the inputs belong to. This attribute" " is required if algorithm = PSI." -msgstr "" +msgstr "`input_party_codes`:输入所属的参与方列表。如果 algorithm = PSI,则需要此属性。" #: ../../reference/scql_operators.md:833 msgid "" "`reveal_to`: A party can see the result. This attribute is required if " "algorithm = PSI." -msgstr "" +msgstr "`reveal_to`:参与方可以看到结果。如果 algorithm = PSI,则此属性是必需的。" #: ../../reference/scql_operators.md:842 msgid "`algorithm`: 0" -msgstr "" +msgstr "`algorithm`: 0" #: ../../reference/scql_operators.md:855 msgid "`ReduceSum`" -msgstr "" +msgstr "`ReduceSum`" #: ../../reference/scql_operators.md:857 msgid "" "Definition: Given an input tensor In, return the sum of input tensor's " "elements. Example:" -msgstr "" +msgstr "定义:给定一个输入张量,返回输入张量元素的总和。例:" #: ../../reference/scql_operators.md:868 msgid "`In`(single, T): Tensor to be summed (shape [M])." -msgstr "" +msgstr "`In`(single, T):要求和的张量 (shape [M])" #: ../../reference/scql_operators.md:873 msgid "`Out`(single, T): The summed Tensor (shape [1])." -msgstr "" +msgstr "`Out`(single, T):张量和 (shape [1])" #: ../../reference/scql_operators.md:886 msgid "`ReduceMax`" -msgstr "" +msgstr "`ReduceMax`" #: ../../reference/scql_operators.md:888 msgid "" "Definition: Given a input tensor In, return the max of input tensor's " "elements. Example:" -msgstr "" +msgstr "定义:给定一个输入张量,返回输入张量元素的最大值。例:" #: ../../reference/scql_operators.md:899 msgid "`In`(single, T): Tensor to be maxed (shape [M])." -msgstr "" +msgstr "`In`(single, T): 需要最大化的张量 (shape [M])" #: ../../reference/scql_operators.md:904 msgid "`Out`(single, T): The maxed Tensor (shape [1])." -msgstr "" +msgstr "`Out`(single, T):张量最大化 (shape [1])" #: ../../reference/scql_operators.md:917 msgid "`ReduceMin`" -msgstr "" +msgstr "`ReduceMin`" #: ../../reference/scql_operators.md:919 msgid "" "Definition: Given a input tensor In, return the min of input tensor's " "elements. Example:" -msgstr "" +msgstr "定义:给定一个输入张量,返回输入张量元素的最小值。例:" #: ../../reference/scql_operators.md:930 msgid "`In`(single, T): Tensor to be mined (shape [M])." -msgstr "" +msgstr "`In`(single, T):需要最小化的张量 (shape [M])." #: ../../reference/scql_operators.md:935 msgid "`Out`(single, T): The mined Tensor (shape [1])." -msgstr "" +msgstr "`Out`(single, T):张量最小化 (shape [1])." #: ../../reference/scql_operators.md:948 msgid "`ReduceAvg`" -msgstr "" +msgstr "`ReduceAvg`" #: ../../reference/scql_operators.md:950 msgid "" "Definition: Given a input tensor In, return the average of input tensor's" " elements. Example:" -msgstr "" +msgstr "定义:给定一个输入张量,返回输入张量元素的平均值。例:" #: ../../reference/scql_operators.md:964 msgid "`In`(single, T): Tensor to be reduced (shape [M])." -msgstr "" +msgstr "`In`(single, T):需要求平均的张量 (shape [M])" #: ../../reference/scql_operators.md:969 msgid "`Out`(single, T): The average Tensor (shape [1])." -msgstr "" +msgstr "`Out`(single, T):平均张量 (shape [1])." #: ../../reference/scql_operators.md:982 msgid "`Shape`" -msgstr "" +msgstr "`Shape`" #: ../../reference/scql_operators.md:984 msgid "" "Definition: Given tensors In, return shapes of each tensor. Axis starts " "from 0. If axis is set, dimensions of each shape are returned. If axis is" " not set(default -1), shapes are returned. Example:" -msgstr "" +msgstr "定义:给定张量,返回每个张量的 shapes,Axis从 0 开始。如果设置了 Axis,则返回每个 shapes 的维度。如果未设置 Axis (默认为 -1),则返回 shapes 。例:" #: ../../reference/scql_operators.md:995 msgid "`In`(variadic, T): Input Tensors" -msgstr "" +msgstr "`In`(variadic, T): 输入张量" #: ../../reference/scql_operators.md:1000 msgid "`Out`(variadic, T1): Shape Tensors" -msgstr "" +msgstr "`Out`(variadic, T1): 输出 Shape" #: ../../reference/scql_operators.md:1006 msgid "`axis`: Int. Specific dimension of the shape." -msgstr "" +msgstr "`axis`: Int. 特定的 shape 维度" #: ../../reference/scql_operators.md:1015 msgid "`axis`: -1" -msgstr "" +msgstr "`axis`: -1" #: ../../reference/scql_operators.md:1028 msgid "`Unique`" -msgstr "" +msgstr "`Unique`" #: ../../reference/scql_operators.md:1030 msgid "Definition: Unique of Key tensor. Example:" -msgstr "" +msgstr "定义:Key tensor 的唯一性。例:" #: ../../reference/scql_operators.md:1041 msgid "`Key`(single, T): Input key tensors(shape [M][1])." -msgstr "" +msgstr "`Key`(single, T): 输入 Key tensor(shape [M][1])" #: ../../reference/scql_operators.md:1046 msgid "`UniqueKey`(single, T): Output unique key tensor(shape [K][1])." -msgstr "" +msgstr "`UniqueKey`(single, T): 输出唯一 key tensor(shape [K][1])" #: ../../reference/scql_operators.md:1059 msgid "`Sort`" -msgstr "" +msgstr "`Sort`" #: ../../reference/scql_operators.md:1061 msgid "Definition: sort `In` using `Key`. Example:" -msgstr "" +msgstr "定义: 使用 `Key` 对输入内容进行排序。例:" #: ../../reference/scql_operators.md:1073 msgid "`Key`(variadic, T): Sort Key(shape [M][1])." -msgstr "" +msgstr "`Key`(variadic, T): 排序键(shape [M][1])" #: ../../reference/scql_operators.md:1075 msgid "`In`(variadic, T): Sort Value(shape [M][1])." -msgstr "" +msgstr "`In`(variadic, T): 排序值(shape [M][1])" #: ../../reference/scql_operators.md:1080 msgid "`Out`(variadic, T): Sorted Value(shape [M][1])" -msgstr "" +msgstr "`Out`(variadic, T):排序值(shape [M][1])" #: ../../reference/scql_operators.md:1086 msgid "`reverse`: Bool. If True, the sorted tensor in descending order." -msgstr "" +msgstr "`reverse`: Bool, 如果为 True, 则张量按照从大到小的顺序排列" #: ../../reference/scql_operators.md:1095 msgid "`reverse`: false" -msgstr "" +msgstr "`reverse`: false" #: ../../reference/scql_operators.md:1106 msgid "`ObliviousGroupMark`" -msgstr "" +msgstr "`ObliviousGroupMark`" #: ../../reference/scql_operators.md:1108 msgid "" "Definition: generate end of group indicator `Group` based on `Key`. The " "operator calculates Group[i] = not_eq(Key[i+1], Key[i]). Example:" -msgstr "" +msgstr "定义:基于 Key 生成组末指标 Group,运算符计算组 [i] = not_eq(key [i+1], key [i])。例" #: ../../reference/scql_operators.md:1122 msgid "`Key`(variadic, T): Pre-sorted group keys (shape [M][1])." -msgstr "" +msgstr "`Key`(variadic, T): 预排序的组键 (shape [M][1])" #: ../../reference/scql_operators.md:1127 #: ../../reference/scql_operators.md:1154 @@ -823,11 +826,11 @@ msgstr "" msgid "" "`Group`(single, T): End of group indicator(shape [M][1]). Element 1 means" " the row is the last element of the group, 0 is not." -msgstr "" +msgstr "`Group`(single, T): End of group indicator(shape [M][1]), 元素 1 表示行是组的最后一个元素,0 不是" #: ../../reference/scql_operators.md:1140 msgid "`ObliviousGroupSum`" -msgstr "" +msgstr "`ObliviousGroupSum`" #: ../../reference/scql_operators.md:1142 #: ../../reference/scql_operators.md:1176 @@ -837,7 +840,7 @@ msgstr "" msgid "" "Definition: partially aggregate `In` according to end of group indicator." " Example:" -msgstr "" +msgstr "定义: 根据end of group indicator 部分聚合输入内容。" #: ../../reference/scql_operators.md:1156 #: ../../reference/scql_operators.md:1190 @@ -845,7 +848,7 @@ msgstr "" #: ../../reference/scql_operators.md:1258 #: ../../reference/scql_operators.md:1292 msgid "`In`(variadic, T): Values to be aggregated (shape [M][1])." -msgstr "" +msgstr "`In`(variadic, T): 要聚合的值 (shape [M][1])。" #: ../../reference/scql_operators.md:1161 #: ../../reference/scql_operators.md:1195 @@ -853,7 +856,7 @@ msgstr "" #: ../../reference/scql_operators.md:1263 #: ../../reference/scql_operators.md:1297 msgid "`Out`(variadic, T): Partially aggregated values (shape [M][1])." -msgstr "" +msgstr "`Out`(variadic, T): 部分聚合的值(shape [M][1])。" #: ../../reference/scql_operators.md:1170 #: ../../reference/scql_operators.md:1204 @@ -863,110 +866,110 @@ msgstr "" #: ../../reference/scql_operators.md:1337 #: ../../reference/scql_operators.md:1443 msgid "`T`: secret" -msgstr "" +msgstr "`T`: secret" #: ../../reference/scql_operators.md:1174 msgid "`ObliviousGroupCount`" -msgstr "" +msgstr "`ObliviousGroupCount`" #: ../../reference/scql_operators.md:1208 msgid "`ObliviousGroupMax`" -msgstr "" +msgstr "`ObliviousGroupMax`" #: ../../reference/scql_operators.md:1242 msgid "`ObliviousGroupMin`" -msgstr "" +msgstr "`ObliviousGroupMin`" #: ../../reference/scql_operators.md:1276 msgid "`ObliviousGroupAvg`" -msgstr "" +msgstr "`ObliviousGroupAvg`" #: ../../reference/scql_operators.md:1310 msgid "`Shuffle`" -msgstr "" +msgstr "`Shuffle`" #: ../../reference/scql_operators.md:1312 msgid "Definition: Shuffle `In`. Example:" -msgstr "" +msgstr "定义:随机 `In`。例:" #: ../../reference/scql_operators.md:1323 msgid "`In`(variadic, T): Input Value(shape [M][1])." -msgstr "" +msgstr "`In`(variadic, T):输入值(shape [M][1])." #: ../../reference/scql_operators.md:1328 msgid "`Out`(variadic, T): Output Value(shape [M][1])" -msgstr "" +msgstr "`Out`(variadic, T):输出值(shape [M][1])" #: ../../reference/scql_operators.md:1341 msgid "`BroadcastTo`" -msgstr "" +msgstr "`BroadcastTo`" #: ../../reference/scql_operators.md:1343 msgid "" "Definition: Broadcast Input tensor `In` to the same shape as " "`ShapeRefTensor`. Example:" -msgstr "" +msgstr "将输入的张量 In 广播转变为与 ShapeRefTensor 相同的形状。例:" #: ../../reference/scql_operators.md:1355 msgid "`In`(variadic, T): Input tensor" -msgstr "" +msgstr "`In`(variadic, T):输入张量" #: ../../reference/scql_operators.md:1357 msgid "`ShapeRefTensor`(single, T1): Shape reference tensor" -msgstr "" +msgstr "`ShapeRefTensor`(single, T1):Shape reference tensor" #: ../../reference/scql_operators.md:1362 msgid "`Out`(variadic, T2): Result tensor" -msgstr "" +msgstr "`Out`(variadic, T2):张量结果" #: ../../reference/scql_operators.md:1371 msgid "`T`: public" -msgstr "" +msgstr "`T`:公开" #: ../../reference/scql_operators.md:1375 msgid "`T2`: public,private" -msgstr "" +msgstr "`T2`:公开,私有" #: ../../reference/scql_operators.md:1379 msgid "`Not`" -msgstr "" +msgstr "`Not`" #: ../../reference/scql_operators.md:1381 msgid "Out = Not In" -msgstr "" +msgstr "Out = Not In" #: ../../reference/scql_operators.md:1385 msgid "`In`(single, T): Input tensor." -msgstr "" +msgstr "`In`(single, T):输入张量." #: ../../reference/scql_operators.md:1390 msgid "`Out`(single, T): Output tensor." -msgstr "" +msgstr "`Out`(single, T):输出张量。" #: ../../reference/scql_operators.md:1403 msgid "`Concat`" -msgstr "" +msgstr "`Concat`" #: ../../reference/scql_operators.md:1405 msgid "" "Definition: Given a number of tensors In (variadic, each tensor's shape " "must be the same except for the axis), concat the In tensors along the " "axis. Example:" -msgstr "" +msgstr "定义:给定多个张量 (可以有多个,但每个张量的形状必须相同,除了某一个轴),将它们沿着这个轴拼接起来。例如:" #: ../../reference/scql_operators.md:1416 msgid "`In`(variadic, T): Tensors to be concat." -msgstr "" +msgstr "`In`(variadic, T):要连接的张量。" #: ../../reference/scql_operators.md:1421 msgid "`Out`(single, T): Concated Tensor." -msgstr "" +msgstr "`Out`(single, T):整合张量。" #: ../../reference/scql_operators.md:1427 msgid "`axis`: Int. Dimension along which to concatenate." -msgstr "" +msgstr "`axis`:要连接的维度" #: ../../reference/scql_operators.md:1436 msgid "`axis`: 0" -msgstr "" +msgstr "`axis`:0" From b5f3807a186aca01cd887baa4522d847b28e54fe Mon Sep 17 00:00:00 2001 From: kinoko-shelter <1771634408@qq.com> Date: Sun, 9 Jul 2023 12:15:47 +0800 Subject: [PATCH 3/7] update --- .../reference/scql_operators_doc.po | 142 +++++++++--------- 1 file changed, 71 insertions(+), 71 deletions(-) diff --git a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po index ebb8d2a7..2a11b417 100644 --- a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po +++ b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po @@ -21,20 +21,20 @@ msgstr "" #: ../../reference/scql_operators_doc.rst:2 msgid "SCQL Operators Specification" -msgstr "SCQL 操作符规范" +msgstr "SCQL 算子规范" #: ../../reference/scql_operators_doc.rst:4 msgid "" "This is a specification (not a kernel library) of SCQL operators, " "including operator signatures and semantics." -msgstr "这是 SCQL 操作符符的规范 (不是内核库),包括操作符签名和语义" +msgstr "这是 SCQL 算子的规范 (不是内核库),包括算子签名和语义" #: ../../reference/scql_operators_doc.rst:7 msgid "Op List" -msgstr "操作符按列表" +msgstr "按列表" #: ../../reference/scql_operators.md:2 msgid "`RunSQL`" @@ -42,7 +42,7 @@ msgstr "`RunSQL`" #: ../../reference/scql_operators.md:4 msgid "Run a SQL statement and return a list of tensors in private status" -msgstr "运行 SQL 语句并返回私有状态下的张量列表" +msgstr "运行 SQL 语句并返回私有状态下的 tensors 列表" #: ../../reference/scql_operators.md:6 ../../reference/scql_operators.md:38 #: ../../reference/scql_operators.md:64 ../../reference/scql_operators.md:94 @@ -110,7 +110,7 @@ msgstr "输出:" #: ../../reference/scql_operators.md:13 msgid "`Out`(variadic, T): Result tensors of the SQL statement." -msgstr "Out`(variadic, T): SQL 语句的结果张量。" +msgstr "Out`(variadic, T): SQL 语句的结果 tensors。" #: ../../reference/scql_operators.md:17 ../../reference/scql_operators.md:521 #: ../../reference/scql_operators.md:593 ../../reference/scql_operators.md:668 @@ -158,7 +158,7 @@ msgstr "`table_refs`:查询引用的表" #: ../../reference/scql_operators.md:1397 #: ../../reference/scql_operators.md:1441 msgid "**TensorStatus(ShareType) Constraints:**" -msgstr "张量状态(共享类型) 约束:" +msgstr " TensorStatus(ShareType) Constraints:" #: ../../reference/scql_operators.md:30 ../../reference/scql_operators.md:649 #: ../../reference/scql_operators.md:797 ../../reference/scql_operators.md:849 @@ -172,17 +172,17 @@ msgstr "`Publish`" #: ../../reference/scql_operators.md:36 msgid "This operator publishes the DAG results." -msgstr "此操作符发布 DAG 结果。" +msgstr "该算子披露 DAG 结果。" #: ../../reference/scql_operators.md:40 msgid "`In`(variadic, T1): Tensors to be published." -msgstr "`In`(variadic, T1):要发布的张量。" +msgstr "`In`(variadic, T1):要发布的 Tensors。" #: ../../reference/scql_operators.md:45 msgid "" "`Out`(variadic, T2): Result tensors of the publish op. Tensors are in " "TensorOption VALUE." -msgstr "`Out`(variadic, T2):发布操作的结果张量。张量位于 TensorOption VALUE 中。" +msgstr "`Out`(variadic, T2):发布 publish op tensors 结果 。Tensors 位于 TensorOption VALUE 中。" #: ../../reference/scql_operators.md:54 ../../reference/scql_operators.md:718 msgid "`T1`: public,private" @@ -208,7 +208,7 @@ msgstr "Out = Left `Less` Right" #: ../../reference/scql_operators.md:366 ../../reference/scql_operators.md:396 #: ../../reference/scql_operators.md:426 ../../reference/scql_operators.md:456 msgid "`Left`(variadic, T): First operand." -msgstr "`Left`(variadic, T):第一个操作符数。" +msgstr "`Left`(variadic, T):第一个算子。" #: ../../reference/scql_operators.md:68 ../../reference/scql_operators.md:98 #: ../../reference/scql_operators.md:128 ../../reference/scql_operators.md:158 @@ -218,7 +218,7 @@ msgstr "`Left`(variadic, T):第一个操作符数。" #: ../../reference/scql_operators.md:368 ../../reference/scql_operators.md:398 #: ../../reference/scql_operators.md:428 ../../reference/scql_operators.md:458 msgid "`Right`(variadic, T1): Second operand." -msgstr "`Right`(variadic, T1):第二个操作符数。" +msgstr "`Right`(variadic, T1):第二个算子。" #: ../../reference/scql_operators.md:73 ../../reference/scql_operators.md:103 #: ../../reference/scql_operators.md:133 ../../reference/scql_operators.md:163 @@ -228,7 +228,7 @@ msgstr "`Right`(variadic, T1):第二个操作符数。" #: ../../reference/scql_operators.md:373 ../../reference/scql_operators.md:403 #: ../../reference/scql_operators.md:433 ../../reference/scql_operators.md:463 msgid "`Out`(variadic, T2): Output Tensor." -msgstr "`Out`(variadic, T2):输出张量。" +msgstr "`Out`(variadic, T2):输出 tensor 。" #: ../../reference/scql_operators.md:82 ../../reference/scql_operators.md:112 #: ../../reference/scql_operators.md:142 ../../reference/scql_operators.md:172 @@ -240,7 +240,7 @@ msgstr "`Out`(variadic, T2):输出张量。" #: ../../reference/scql_operators.md:1022 #: ../../reference/scql_operators.md:1399 msgid "`T`: public,private,secret" -msgstr "`T`: 公开,私有,加密" +msgstr "`T`: 公开,私有,密态" #: ../../reference/scql_operators.md:84 ../../reference/scql_operators.md:114 #: ../../reference/scql_operators.md:144 ../../reference/scql_operators.md:174 @@ -251,7 +251,7 @@ msgstr "`T`: 公开,私有,加密" #: ../../reference/scql_operators.md:444 ../../reference/scql_operators.md:474 #: ../../reference/scql_operators.md:1373 msgid "`T1`: public,private,secret" -msgstr "`T1`: 公开,私有,加密" +msgstr "`T1`: 公开,私有,密态" #: ../../reference/scql_operators.md:86 ../../reference/scql_operators.md:116 #: ../../reference/scql_operators.md:146 ../../reference/scql_operators.md:176 @@ -261,7 +261,7 @@ msgstr "`T1`: 公开,私有,加密" #: ../../reference/scql_operators.md:386 ../../reference/scql_operators.md:416 #: ../../reference/scql_operators.md:446 ../../reference/scql_operators.md:476 msgid "`T2`: private,secret" -msgstr "`T2`: 私有,加密" +msgstr "`T2`: 私有,密态" #: ../../reference/scql_operators.md:90 msgid "`LessEqual`" @@ -373,21 +373,21 @@ msgstr "`MakePublic`" #: ../../reference/scql_operators.md:482 msgid "Convert In tensor from share/private status to public status." -msgstr "将张量中从共享或私有状态转换为公共状态。" +msgstr "将 tensor 中从共享或私有状态转换为公开状态。" #: ../../reference/scql_operators.md:486 ../../reference/scql_operators.md:512 #: ../../reference/scql_operators.md:544 msgid "`In`(variadic, T1): Input tensors." -msgstr "`In`(variadic, T1):输入张量。" +msgstr "`In`(variadic, T1):输入 tensor 。" #: ../../reference/scql_operators.md:491 ../../reference/scql_operators.md:517 #: ../../reference/scql_operators.md:549 msgid "`Out`(variadic, T2): Output tensors." -msgstr "`Out`(variadic, T2):输出张量。" +msgstr "`Out`(variadic, T2):输出 tensor 。" #: ../../reference/scql_operators.md:500 msgid "`T1`: private,secret" -msgstr "`T1`: 私有,加密" +msgstr "`T1`: 私有,密态" #: ../../reference/scql_operators.md:502 msgid "`T2`: public" @@ -399,7 +399,7 @@ msgstr "`MakePrivate`" #: ../../reference/scql_operators.md:508 msgid "Convert In tensor from share status to private status." -msgstr "将张量从共享状态转为私有状态。" +msgstr "将 tensor 从共享状态转为私有状态。" #: ../../reference/scql_operators.md:523 msgid "" @@ -410,7 +410,7 @@ msgstr "`reveal_to`:一个包含可查看私有数据的方的列表。如果 #: ../../reference/scql_operators.md:532 msgid "`T1`: secret" -msgstr "`T1`: 加密" +msgstr "`T1`: 密态" #: ../../reference/scql_operators.md:534 ../../reference/scql_operators.md:615 msgid "`T2`: private" @@ -422,7 +422,7 @@ msgstr "`MakeShare`" #: ../../reference/scql_operators.md:540 msgid "Convert In tensor from private status to share status." -msgstr "将张量从私有状态转变为共享状态。" +msgstr "将 tensor 从私有状态转变为共享状态。" #: ../../reference/scql_operators.md:558 ../../reference/scql_operators.md:613 #: ../../reference/scql_operators.md:681 ../../reference/scql_operators.md:851 @@ -432,7 +432,7 @@ msgstr "`T1`: 私有" #: ../../reference/scql_operators.md:560 msgid "`T2`: secret" -msgstr "`T2`: 加密" +msgstr "`T2`: 密态" #: ../../reference/scql_operators.md:564 msgid "`Join`" @@ -495,15 +495,15 @@ msgstr "定义:按行索引筛选。例:" #: ../../reference/scql_operators.md:633 msgid "`RowsIndexFilter`(single, T): Rows index filter vector(shape [K][1])." -msgstr "RowsIndexFilter (single, T):行索引筛选器向量(形状 [K][1])" +msgstr "RowsIndexFilter (single, T):行索引筛选器向量(shape [K][1])" #: ../../reference/scql_operators.md:635 msgid "`Data`(variadic, T): Input data tensor(shape [M][N])." -msgstr "`Data`(variadic, T):输入数据张量(shape [M][N])。" +msgstr "`Data`(variadic, T):输入数据 tensor (shape [M][N])。" #: ../../reference/scql_operators.md:640 msgid "`Out`(variadic, T): Output data tensor(shape [X][N])." -msgstr "`Out`(variadic, T):输出数据张量(shape [X][N])。" +msgstr "`Out`(variadic, T):输出数据 tensor (shape [X][N])。" #: ../../reference/scql_operators.md:653 msgid "`Copy`" @@ -513,23 +513,23 @@ msgstr "`Copy`" msgid "" "Definition: Copy source tensor \"In\" to new tensor \"Out\" on target " "party" -msgstr "定义:将源张量“In”复制到目标方的新张量“Out”" +msgstr "定义:将源 tensor “In”复制到目标方的新 tensor “Out”" #: ../../reference/scql_operators.md:659 msgid "`In`(single, T1): source tensor" -msgstr "`In`(single, T1):源张量。" +msgstr "`In`(single, T1):源 tensor 。" #: ../../reference/scql_operators.md:664 msgid "`Out`(single, T1): target tensor" -msgstr "`Out`(single, T1):目标张量" +msgstr "`Out`(single, T1):目标 tensor " #: ../../reference/scql_operators.md:670 msgid "`input_party_codes`: Input tensor `In` belongs to" -msgstr "`input_party_codes`:输入张量“In”所属方。" +msgstr "`input_party_codes`:输入 tensor “In”所属方。" #: ../../reference/scql_operators.md:672 msgid "`output_party_codes`: Output tensor `Out` belongs to" -msgstr "`output_party_codes`:输出张量“Out”所属方" +msgstr "`output_party_codes`:输出 tensor “Out”所属方" #: ../../reference/scql_operators.md:685 msgid "`Filter`" @@ -541,19 +541,19 @@ msgid "" " In (variadic, each tensor's shape must be [M]), for i in [0, M-1], keep " "the In tensors' element if and only if Filter[i] is True, output the " "filter result tensors Out (variadic). Example:" -msgstr "给定一个布尔张量Filter (其shape为[M]),以及一些张量 In (variadic,每个张量的shape必须为[M])。对于i在[0, M-1]的范围内,仅当Filter[i]为真时,保留In张量的元素,并输出过滤结果张量 Out (variadic)。例:" +msgstr "给定一个boolean tensorsFilter (其shape为[M]),以及一些 tensor In (variadic,每个 tensor 的shape必须为[M])。对于i在[0, M-1]的范围内,仅当Filter[i]为真时,保留In tensor 的元素,并输出过滤结果 tensor Out (variadic)。例:" #: ../../reference/scql_operators.md:700 msgid "`Filter`(single, T1): Filter tensor." -msgstr "`Filter`(single, T1):滤波张量。" +msgstr "`Filter`(single, T1):Filter t ensor 。" #: ../../reference/scql_operators.md:702 msgid "`In`(variadic, T): Tensors to be filtered." -msgstr "`In`(variadic, T):待过滤的张量." +msgstr "`In`(variadic, T):待过滤的 tensor ." #: ../../reference/scql_operators.md:707 msgid "`Out`(variadic, T): Output tensor." -msgstr "`Out`(variadic, T):输出张量." +msgstr "`Out`(variadic, T):输出 tensor ." #: ../../reference/scql_operators.md:716 ../../reference/scql_operators.md:882 #: ../../reference/scql_operators.md:913 ../../reference/scql_operators.md:944 @@ -572,7 +572,7 @@ msgstr "定义:从属性生成常量。例如:" #: ../../reference/scql_operators.md:741 msgid "`Out`(single, T): output tensor(shape [M]) from constant." -msgstr "`Out`(single, T):从常量输出张量(shape [M])" +msgstr "`Out`(single, T):从常量输出 tensor (shape [M])" #: ../../reference/scql_operators.md:747 msgid "`scalar`: scalar attribute(with shape [M])" @@ -598,19 +598,19 @@ msgstr "`DumpFile`" msgid "" "Definition: Dump the input tensor. Note: This op will change the affected" " rows in the session" -msgstr "定义:转储输入张量。注意:此操作将更改会话中受影响的行。" +msgstr "定义:转储输入 tensor 。注意:此操作将更改会话中受影响的行。" #: ../../reference/scql_operators.md:775 msgid "`In`(variadic, T): Tensors to be dumped." -msgstr "`In`(variadic, T):要存储的张量。" +msgstr "`In`(variadic, T):要存储的 tensor 。" #: ../../reference/scql_operators.md:780 msgid "`Out`(variadic, T): Tensors have been dumped." -msgstr "`Out`(variadic, T):张量已被抛弃。" +msgstr "`Out`(variadic, T): tensor 已被抛弃。" #: ../../reference/scql_operators.md:786 msgid "`file_path`: String. Absolute file path to dump the tensors." -msgstr "`file_path`:字符串。用于转储张量的绝对文件路径。" +msgstr "`file_path`:字符串。用于转储 tensor 的绝对文件路径。" #: ../../reference/scql_operators.md:788 msgid "`deliminator`: String. Column deliminator, e.g. comma `,`" @@ -626,19 +626,19 @@ msgid "" "input tensor Right (its shape is [N]), check whether Left's element " "exists in Right's elements and output a boolean tensor Out (its shape is " "[M]). Left and Right must be the same type. Example:" -msgstr "定义:给定一个输入张量 Left (其shape为 [M]) 和另一个输入张量 Right (其shape为 [N]),检查 Left 的元素是否存在于右的元素中,并输出一个布尔张量 Out (其shape为 [M])。左和右必须是相同的类型。例:" +msgstr "定义:给定一个输入 tensor Left (其shape为 [M]) 和另一个输入 tensor Right (其shape为 [N]),检查 Left 的元素是否存在于右的元素中,并输出一个布尔 tensor Out (其shape为 [M])。左和右必须是相同的类型。例:" #: ../../reference/scql_operators.md:816 msgid "`Left`(single, T): First operand." -msgstr "`Left`(single, T): 第一个操作数。" +msgstr "`Left`(single, T): 第一个算子。" #: ../../reference/scql_operators.md:818 msgid "`Right`(single, T1): Second operand." -msgstr "`Right`(single, T1): 第二个操作数。" +msgstr "`Right`(single, T1): 第二个算子。" #: ../../reference/scql_operators.md:823 msgid "`Out`(single, T): Output Tensor." -msgstr "`Out`(single, T): 输出张量。" +msgstr "`Out`(single, T): 输出 tensor 。" #: ../../reference/scql_operators.md:829 msgid "`algorithm`: Int64. Algorithm to use for the op. 1: PSI" @@ -668,15 +668,15 @@ msgstr "`ReduceSum`" msgid "" "Definition: Given an input tensor In, return the sum of input tensor's " "elements. Example:" -msgstr "定义:给定一个输入张量,返回输入张量元素的总和。例:" +msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的总和。例:" #: ../../reference/scql_operators.md:868 msgid "`In`(single, T): Tensor to be summed (shape [M])." -msgstr "`In`(single, T):要求和的张量 (shape [M])" +msgstr "`In`(single, T):要求和的 tensor (shape [M])" #: ../../reference/scql_operators.md:873 msgid "`Out`(single, T): The summed Tensor (shape [1])." -msgstr "`Out`(single, T):张量和 (shape [1])" +msgstr "`Out`(single, T): tensor 和 (shape [1])" #: ../../reference/scql_operators.md:886 msgid "`ReduceMax`" @@ -686,15 +686,15 @@ msgstr "`ReduceMax`" msgid "" "Definition: Given a input tensor In, return the max of input tensor's " "elements. Example:" -msgstr "定义:给定一个输入张量,返回输入张量元素的最大值。例:" +msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的最大值。例:" #: ../../reference/scql_operators.md:899 msgid "`In`(single, T): Tensor to be maxed (shape [M])." -msgstr "`In`(single, T): 需要最大化的张量 (shape [M])" +msgstr "`In`(single, T): 需要最大化的 tensor (shape [M])" #: ../../reference/scql_operators.md:904 msgid "`Out`(single, T): The maxed Tensor (shape [1])." -msgstr "`Out`(single, T):张量最大化 (shape [1])" +msgstr "`Out`(single, T): tensor 最大化 (shape [1])" #: ../../reference/scql_operators.md:917 msgid "`ReduceMin`" @@ -704,15 +704,15 @@ msgstr "`ReduceMin`" msgid "" "Definition: Given a input tensor In, return the min of input tensor's " "elements. Example:" -msgstr "定义:给定一个输入张量,返回输入张量元素的最小值。例:" +msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的最小值。例:" #: ../../reference/scql_operators.md:930 msgid "`In`(single, T): Tensor to be mined (shape [M])." -msgstr "`In`(single, T):需要最小化的张量 (shape [M])." +msgstr "`In`(single, T):需要最小化的 tensor (shape [M])." #: ../../reference/scql_operators.md:935 msgid "`Out`(single, T): The mined Tensor (shape [1])." -msgstr "`Out`(single, T):张量最小化 (shape [1])." +msgstr "`Out`(single, T): tensor 最小化 (shape [1])." #: ../../reference/scql_operators.md:948 msgid "`ReduceAvg`" @@ -722,15 +722,15 @@ msgstr "`ReduceAvg`" msgid "" "Definition: Given a input tensor In, return the average of input tensor's" " elements. Example:" -msgstr "定义:给定一个输入张量,返回输入张量元素的平均值。例:" +msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的平均值。例:" #: ../../reference/scql_operators.md:964 msgid "`In`(single, T): Tensor to be reduced (shape [M])." -msgstr "`In`(single, T):需要求平均的张量 (shape [M])" +msgstr "`In`(single, T):需要求平均的 tensor (shape [M])" #: ../../reference/scql_operators.md:969 msgid "`Out`(single, T): The average Tensor (shape [1])." -msgstr "`Out`(single, T):平均张量 (shape [1])." +msgstr "`Out`(single, T):平均 tensor (shape [1])." #: ../../reference/scql_operators.md:982 msgid "`Shape`" @@ -741,11 +741,11 @@ msgid "" "Definition: Given tensors In, return shapes of each tensor. Axis starts " "from 0. If axis is set, dimensions of each shape are returned. If axis is" " not set(default -1), shapes are returned. Example:" -msgstr "定义:给定张量,返回每个张量的 shapes,Axis从 0 开始。如果设置了 Axis,则返回每个 shapes 的维度。如果未设置 Axis (默认为 -1),则返回 shapes 。例:" +msgstr "定义:给定 tensor ,返回每个 tensor 的 shapes,Axis从 0 开始。如果设置了 Axis,则返回每个 shapes 的维度。如果未设置 Axis (默认为 -1),则返回 shapes 。例:" #: ../../reference/scql_operators.md:995 msgid "`In`(variadic, T): Input Tensors" -msgstr "`In`(variadic, T): 输入张量" +msgstr "`In`(variadic, T): 输入 tensor " #: ../../reference/scql_operators.md:1000 msgid "`Out`(variadic, T1): Shape Tensors" @@ -797,7 +797,7 @@ msgstr "`Out`(variadic, T):排序值(shape [M][1])" #: ../../reference/scql_operators.md:1086 msgid "`reverse`: Bool. If True, the sorted tensor in descending order." -msgstr "`reverse`: Bool, 如果为 True, 则张量按照从大到小的顺序排列" +msgstr "`reverse`: Bool, 如果为 True, 则 tensor 按照从大到小的顺序排列。" #: ../../reference/scql_operators.md:1095 msgid "`reverse`: false" @@ -811,7 +811,7 @@ msgstr "`ObliviousGroupMark`" msgid "" "Definition: generate end of group indicator `Group` based on `Key`. The " "operator calculates Group[i] = not_eq(Key[i+1], Key[i]). Example:" -msgstr "定义:基于 Key 生成组末指标 Group,运算符计算组 [i] = not_eq(key [i+1], key [i])。例" +msgstr "定义:基于 Key 生成 end of group indicator Group , operator calculates Group[i] = not_eq(Key[i+1], Key[i])。例" #: ../../reference/scql_operators.md:1122 msgid "`Key`(variadic, T): Pre-sorted group keys (shape [M][1])." @@ -840,7 +840,7 @@ msgstr "`ObliviousGroupSum`" msgid "" "Definition: partially aggregate `In` according to end of group indicator." " Example:" -msgstr "定义: 根据end of group indicator 部分聚合输入内容。" +msgstr "定义: 根据 end of group indicator 部分聚合输入内容。" #: ../../reference/scql_operators.md:1156 #: ../../reference/scql_operators.md:1190 @@ -890,7 +890,7 @@ msgstr "`Shuffle`" #: ../../reference/scql_operators.md:1312 msgid "Definition: Shuffle `In`. Example:" -msgstr "定义:随机 `In`。例:" +msgstr "定义:Shuffle `In`。例:" #: ../../reference/scql_operators.md:1323 msgid "`In`(variadic, T): Input Value(shape [M][1])." @@ -908,11 +908,11 @@ msgstr "`BroadcastTo`" msgid "" "Definition: Broadcast Input tensor `In` to the same shape as " "`ShapeRefTensor`. Example:" -msgstr "将输入的张量 In 广播转变为与 ShapeRefTensor 相同的形状。例:" +msgstr "将输入的 tensor `In` 广播转变为与 ShapeRefTensor 相同的 shape。例:" #: ../../reference/scql_operators.md:1355 msgid "`In`(variadic, T): Input tensor" -msgstr "`In`(variadic, T):输入张量" +msgstr "`In`(variadic, T):输入 tensor " #: ../../reference/scql_operators.md:1357 msgid "`ShapeRefTensor`(single, T1): Shape reference tensor" @@ -920,7 +920,7 @@ msgstr "`ShapeRefTensor`(single, T1):Shape reference tensor" #: ../../reference/scql_operators.md:1362 msgid "`Out`(variadic, T2): Result tensor" -msgstr "`Out`(variadic, T2):张量结果" +msgstr "`Out`(variadic, T2): tensor 结果" #: ../../reference/scql_operators.md:1371 msgid "`T`: public" @@ -940,11 +940,11 @@ msgstr "Out = Not In" #: ../../reference/scql_operators.md:1385 msgid "`In`(single, T): Input tensor." -msgstr "`In`(single, T):输入张量." +msgstr "`In`(single, T):输入 tensor ." #: ../../reference/scql_operators.md:1390 msgid "`Out`(single, T): Output tensor." -msgstr "`Out`(single, T):输出张量。" +msgstr "`Out`(single, T):输出 tensor 。" #: ../../reference/scql_operators.md:1403 msgid "`Concat`" @@ -955,19 +955,19 @@ msgid "" "Definition: Given a number of tensors In (variadic, each tensor's shape " "must be the same except for the axis), concat the In tensors along the " "axis. Example:" -msgstr "定义:给定多个张量 (可以有多个,但每个张量的形状必须相同,除了某一个轴),将它们沿着这个轴拼接起来。例如:" +msgstr "定义:给定多个 tensor (可以有多个,但每个 tensor 的 shape 必须相同,除了某一个轴),将它们沿着这个轴拼接起来。例如:" #: ../../reference/scql_operators.md:1416 msgid "`In`(variadic, T): Tensors to be concat." -msgstr "`In`(variadic, T):要连接的张量。" +msgstr "`In`(variadic, T):要连接的 tensor 。" #: ../../reference/scql_operators.md:1421 msgid "`Out`(single, T): Concated Tensor." -msgstr "`Out`(single, T):整合张量。" +msgstr "`Out`(single, T):整合 tensor 。" #: ../../reference/scql_operators.md:1427 msgid "`axis`: Int. Dimension along which to concatenate." -msgstr "`axis`:要连接的维度" +msgstr "`axis`:要连接的维度。" #: ../../reference/scql_operators.md:1436 msgid "`axis`: 0" From 8246bd15f0e32c5468cbdf31300f8c6f50e5b197 Mon Sep 17 00:00:00 2001 From: kinoko-shelter <1771634408@qq.com> Date: Wed, 12 Jul 2023 23:09:43 +0800 Subject: [PATCH 4/7] =?UTF-8?q?7-12=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reference/scql_operators_doc.po | 184 +++++++++--------- 1 file changed, 92 insertions(+), 92 deletions(-) diff --git a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po index 2a11b417..45a8993c 100644 --- a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po +++ b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po @@ -34,7 +34,7 @@ msgstr "这是 SCQL 算子的规范 (不是内核库),包括算子签名和语 #: ../../reference/scql_operators_doc.rst:7 msgid "Op List" -msgstr "按列表" +msgstr "算子列表" #: ../../reference/scql_operators.md:2 msgid "`RunSQL`" @@ -109,8 +109,8 @@ msgid "**Outputs:**" msgstr "输出:" #: ../../reference/scql_operators.md:13 -msgid "`Out`(variadic, T): Result tensors of the SQL statement." -msgstr "Out`(variadic, T): SQL 语句的结果 tensors。" +msgid "`Out`(可变参数, T): Result tensors of the SQL statement." +msgstr "Out`(可变参数, T): SQL 语句的结果 tensors。" #: ../../reference/scql_operators.md:17 ../../reference/scql_operators.md:521 #: ../../reference/scql_operators.md:593 ../../reference/scql_operators.md:668 @@ -123,11 +123,11 @@ msgstr "属性:" #: ../../reference/scql_operators.md:19 msgid "`sql`: SQL statement" -msgstr "`sql`:QL 语句" +msgstr "`sql`:SQL 语句" #: ../../reference/scql_operators.md:21 msgid "`table_refs`: tables referenced by query" -msgstr "`table_refs`:查询引用的表" +msgstr "`table_refs`:query中引用的表" #: ../../reference/scql_operators.md:28 ../../reference/scql_operators.md:52 #: ../../reference/scql_operators.md:80 ../../reference/scql_operators.md:110 @@ -175,14 +175,14 @@ msgid "This operator publishes the DAG results." msgstr "该算子披露 DAG 结果。" #: ../../reference/scql_operators.md:40 -msgid "`In`(variadic, T1): Tensors to be published." -msgstr "`In`(variadic, T1):要发布的 Tensors。" +msgid "`In`(可变参数, T1): Tensors to be published." +msgstr "`In`(可变参数, T1):要披露的 Tensors。" #: ../../reference/scql_operators.md:45 msgid "" -"`Out`(variadic, T2): Result tensors of the publish op. Tensors are in " +"`Out`(可变参数, T2): Result tensors of the publish op. Tensors are in " "TensorOption VALUE." -msgstr "`Out`(variadic, T2):发布 publish op tensors 结果 。Tensors 位于 TensorOption VALUE 中。" +msgstr "`Out`(可变参数, T2):披露 publish op tensors 结果 。Tensors 位于 TensorOption VALUE 中。" #: ../../reference/scql_operators.md:54 ../../reference/scql_operators.md:718 msgid "`T1`: public,private" @@ -207,8 +207,8 @@ msgstr "Out = Left `Less` Right" #: ../../reference/scql_operators.md:306 ../../reference/scql_operators.md:336 #: ../../reference/scql_operators.md:366 ../../reference/scql_operators.md:396 #: ../../reference/scql_operators.md:426 ../../reference/scql_operators.md:456 -msgid "`Left`(variadic, T): First operand." -msgstr "`Left`(variadic, T):第一个算子。" +msgid "`Left`(可变参数, T): First operand." +msgstr "`Left`(可变参数, T):第一个操作数。" #: ../../reference/scql_operators.md:68 ../../reference/scql_operators.md:98 #: ../../reference/scql_operators.md:128 ../../reference/scql_operators.md:158 @@ -217,8 +217,8 @@ msgstr "`Left`(variadic, T):第一个算子。" #: ../../reference/scql_operators.md:308 ../../reference/scql_operators.md:338 #: ../../reference/scql_operators.md:368 ../../reference/scql_operators.md:398 #: ../../reference/scql_operators.md:428 ../../reference/scql_operators.md:458 -msgid "`Right`(variadic, T1): Second operand." -msgstr "`Right`(variadic, T1):第二个算子。" +msgid "`Right`(可变参数, T1): Second operand." +msgstr "`Right`(可变参数, T1):第二个操作数。" #: ../../reference/scql_operators.md:73 ../../reference/scql_operators.md:103 #: ../../reference/scql_operators.md:133 ../../reference/scql_operators.md:163 @@ -227,8 +227,8 @@ msgstr "`Right`(variadic, T1):第二个算子。" #: ../../reference/scql_operators.md:313 ../../reference/scql_operators.md:343 #: ../../reference/scql_operators.md:373 ../../reference/scql_operators.md:403 #: ../../reference/scql_operators.md:433 ../../reference/scql_operators.md:463 -msgid "`Out`(variadic, T2): Output Tensor." -msgstr "`Out`(variadic, T2):输出 tensor 。" +msgid "`Out`(可变参数, T2): Output Tensor." +msgstr "`Out`(可变参数, T2):输出 tensor 。" #: ../../reference/scql_operators.md:82 ../../reference/scql_operators.md:112 #: ../../reference/scql_operators.md:142 ../../reference/scql_operators.md:172 @@ -373,17 +373,17 @@ msgstr "`MakePublic`" #: ../../reference/scql_operators.md:482 msgid "Convert In tensor from share/private status to public status." -msgstr "将 tensor 中从共享或私有状态转换为公开状态。" +msgstr "将 tensor 从共享或私有状态转换为公开状态。" #: ../../reference/scql_operators.md:486 ../../reference/scql_operators.md:512 #: ../../reference/scql_operators.md:544 -msgid "`In`(variadic, T1): Input tensors." -msgstr "`In`(variadic, T1):输入 tensor 。" +msgid "`In`(可变参数, T1): Input tensors." +msgstr "`In`(可变参数, T1):输入 tensor 。" #: ../../reference/scql_operators.md:491 ../../reference/scql_operators.md:517 #: ../../reference/scql_operators.md:549 -msgid "`Out`(variadic, T2): Output tensors." -msgstr "`Out`(variadic, T2):输出 tensor 。" +msgid "`Out`(可变参数, T2): Output tensors." +msgstr "`Out`(可变参数, T2):输出 tensor 。" #: ../../reference/scql_operators.md:500 msgid "`T1`: private,secret" @@ -446,23 +446,23 @@ msgstr "定义:基于 EQ-Join 创建连接索引,返回原始输入中结果 #: ../../reference/scql_operators.md:580 msgid "`Left`(single, T1): Left vector(shape [M][1])" -msgstr "`Left`(single, T1):Left vector(shape [M][1])" +msgstr "`Left`(single, T1):Left vector" #: ../../reference/scql_operators.md:582 msgid "`Right`(single, T1): Right vector(shape [N][1])" -msgstr "`Right`(single, T1):Right vector(shape [N][1])" +msgstr "`Right`(single, T1):Right vector" #: ../../reference/scql_operators.md:587 msgid "" "`LeftJoinIndex`(single, T2): Joined rows index for left vector(shape " "[K][1])" -msgstr "`LeftJoinIndex`(single, T2):左向量连接的联接行索引(shape [K][1])" +msgstr "`LeftJoinIndex`(single, T2):参与join操作的左侧向量的行索引。" #: ../../reference/scql_operators.md:589 msgid "" "`RightJoinIndex`(single, T2): Joined rows index for right vector(shape " "[K][1])" -msgstr "`RightJoinIndex`(single, T2):右向量连接的联接行索引(shape [K][1])" +msgstr "`RightJoinIndex`(single, T2):参与join操作的右向量的行索引。" #: ../../reference/scql_operators.md:595 msgid "" @@ -498,12 +498,12 @@ msgid "`RowsIndexFilter`(single, T): Rows index filter vector(shape [K][1])." msgstr "RowsIndexFilter (single, T):行索引筛选器向量(shape [K][1])" #: ../../reference/scql_operators.md:635 -msgid "`Data`(variadic, T): Input data tensor(shape [M][N])." -msgstr "`Data`(variadic, T):输入数据 tensor (shape [M][N])。" +msgid "`Data`(可变参数, T): Input data tensor(shape [M][N])." +msgstr "`Data`(可变参数, T):输入数据 tensor (shape [M][N])。" #: ../../reference/scql_operators.md:640 -msgid "`Out`(variadic, T): Output data tensor(shape [X][N])." -msgstr "`Out`(variadic, T):输出数据 tensor (shape [X][N])。" +msgid "`Out`(可变参数, T): Output data tensor(shape [X][N])." +msgstr "`Out`(可变参数, T):输出数据 tensor (shape [X][N])。" #: ../../reference/scql_operators.md:653 msgid "`Copy`" @@ -513,7 +513,7 @@ msgstr "`Copy`" msgid "" "Definition: Copy source tensor \"In\" to new tensor \"Out\" on target " "party" -msgstr "定义:将源 tensor “In”复制到目标方的新 tensor “Out”" +msgstr "定义:将源 tensor 复制到新的目前 tensor 中。" #: ../../reference/scql_operators.md:659 msgid "`In`(single, T1): source tensor" @@ -521,15 +521,15 @@ msgstr "`In`(single, T1):源 tensor 。" #: ../../reference/scql_operators.md:664 msgid "`Out`(single, T1): target tensor" -msgstr "`Out`(single, T1):目标 tensor " +msgstr "`Out`(single, T1):目标 tensor 。" #: ../../reference/scql_operators.md:670 msgid "`input_party_codes`: Input tensor `In` belongs to" -msgstr "`input_party_codes`:输入 tensor “In”所属方。" +msgstr "`input_party_codes`:输入 tensor In 所属方。" #: ../../reference/scql_operators.md:672 msgid "`output_party_codes`: Output tensor `Out` belongs to" -msgstr "`output_party_codes`:输出 tensor “Out”所属方" +msgstr "`output_party_codes`:输出 tensor Out 所属方。" #: ../../reference/scql_operators.md:685 msgid "`Filter`" @@ -538,22 +538,22 @@ msgstr "`Filter`" #: ../../reference/scql_operators.md:687 msgid "" "Given a boolean tensor Filter (its shape is [M]), and a number of tensors" -" In (variadic, each tensor's shape must be [M]), for i in [0, M-1], keep " +" In (可变参数, each tensor's shape must be [M]), for i in [0, M-1], keep " "the In tensors' element if and only if Filter[i] is True, output the " -"filter result tensors Out (variadic). Example:" -msgstr "给定一个boolean tensorsFilter (其shape为[M]),以及一些 tensor In (variadic,每个 tensor 的shape必须为[M])。对于i在[0, M-1]的范围内,仅当Filter[i]为真时,保留In tensor 的元素,并输出过滤结果 tensor Out (variadic)。例:" +"filter result tensors Out (可变参数). Example:" +msgstr "给定一个boolean tensorsFilter (其 shape 为[M]),以及一些 tensor In (可变参数,每个 tensor 的shape必须为[M])。对于i在[0, M-1]的范围内,仅当Filter[i]为真时,保留In tensor 的元素,并输出过滤结果 tensor Out (可变参数)。例:" #: ../../reference/scql_operators.md:700 msgid "`Filter`(single, T1): Filter tensor." -msgstr "`Filter`(single, T1):Filter t ensor 。" +msgstr "`Filter`(single, T1):Filter tensor 。" #: ../../reference/scql_operators.md:702 -msgid "`In`(variadic, T): Tensors to be filtered." -msgstr "`In`(variadic, T):待过滤的 tensor ." +msgid "`In`(可变参数, T): Tensors to be filtered." +msgstr "`In`(可变参数, T):待过滤的 tensor 。" #: ../../reference/scql_operators.md:707 -msgid "`Out`(variadic, T): Output tensor." -msgstr "`Out`(variadic, T):输出 tensor ." +msgid "`Out`(可变参数, T): Output tensor." +msgstr "`Out`(可变参数, T):输出 tensor 。" #: ../../reference/scql_operators.md:716 ../../reference/scql_operators.md:882 #: ../../reference/scql_operators.md:913 ../../reference/scql_operators.md:944 @@ -568,15 +568,15 @@ msgstr "`Constant`" #: ../../reference/scql_operators.md:724 msgid "Definition: Make constant from attribute. Example:" -msgstr "定义:从属性生成常量。例如:" +msgstr "定义:根据 Attributes 生成常量。例如:" #: ../../reference/scql_operators.md:741 msgid "`Out`(single, T): output tensor(shape [M]) from constant." -msgstr "`Out`(single, T):从常量输出 tensor (shape [M])" +msgstr "`Out`(single, T):从常量输出 tensor " #: ../../reference/scql_operators.md:747 msgid "`scalar`: scalar attribute(with shape [M])" -msgstr "`scalar`:标量属性(shape [M])" +msgstr "`scalar`:标量属性" #: ../../reference/scql_operators.md:749 msgid "`to_status`: int64. to status, 0: to private, 1: to public." @@ -598,15 +598,15 @@ msgstr "`DumpFile`" msgid "" "Definition: Dump the input tensor. Note: This op will change the affected" " rows in the session" -msgstr "定义:转储输入 tensor 。注意:此操作将更改会话中受影响的行。" +msgstr "定义:将输入的 tensor 存储到文件中。注意:此操作将更改会话中受影响的行。" #: ../../reference/scql_operators.md:775 -msgid "`In`(variadic, T): Tensors to be dumped." -msgstr "`In`(variadic, T):要存储的 tensor 。" +msgid "`In`(可变参数, T): Tensors to be dumped." +msgstr "`In`(可变参数, T):要存储的 tensor。" #: ../../reference/scql_operators.md:780 -msgid "`Out`(variadic, T): Tensors have been dumped." -msgstr "`Out`(variadic, T): tensor 已被抛弃。" +msgid "`Out`(可变参数, T): Tensors have been dumped." +msgstr "`Out`(可变参数, T): 已被转储的 tensor。" #: ../../reference/scql_operators.md:786 msgid "`file_path`: String. Absolute file path to dump the tensors." @@ -626,15 +626,15 @@ msgid "" "input tensor Right (its shape is [N]), check whether Left's element " "exists in Right's elements and output a boolean tensor Out (its shape is " "[M]). Left and Right must be the same type. Example:" -msgstr "定义:给定一个输入 tensor Left (其shape为 [M]) 和另一个输入 tensor Right (其shape为 [N]),检查 Left 的元素是否存在于右的元素中,并输出一个布尔 tensor Out (其shape为 [M])。左和右必须是相同的类型。例:" +msgstr "定义:给定一个名为 Left 的输入 tensor (其 shape 为 [M]) 和另一个名为 Right 的 Tensor (其 shape 为 [N]),检查 Left 的元素是否存在于右的元素中,并输出一名为 Out 的布尔类型的 tensor (其 shape 为 [M])。左和右必须是相同的类型。例:" #: ../../reference/scql_operators.md:816 msgid "`Left`(single, T): First operand." -msgstr "`Left`(single, T): 第一个算子。" +msgstr "`Left`(single, T): 第一个操作数。" #: ../../reference/scql_operators.md:818 msgid "`Right`(single, T1): Second operand." -msgstr "`Right`(single, T1): 第二个算子。" +msgstr "`Right`(single, T1): 第二个操作数。" #: ../../reference/scql_operators.md:823 msgid "`Out`(single, T): Output Tensor." @@ -642,19 +642,19 @@ msgstr "`Out`(single, T): 输出 tensor 。" #: ../../reference/scql_operators.md:829 msgid "`algorithm`: Int64. Algorithm to use for the op. 1: PSI" -msgstr "`algorithm`:Int64. 用于操作 1 的算法:PSI" +msgstr "`algorithm`:Int64类型, 用于 IN 操作的算法,1表示使用PSI算法。" #: ../../reference/scql_operators.md:831 msgid "" "`input_party_codes`: List of parties the inputs belong to. This attribute" " is required if algorithm = PSI." -msgstr "`input_party_codes`:输入所属的参与方列表。如果 algorithm = PSI,则需要此属性。" +msgstr "`input_party_codes`:参与In操作的输入,其所属的参与方的列表。如果采用 PSI 算法,则需要此属性。" #: ../../reference/scql_operators.md:833 msgid "" "`reveal_to`: A party can see the result. This attribute is required if " "algorithm = PSI." -msgstr "`reveal_to`:参与方可以看到结果。如果 algorithm = PSI,则此属性是必需的。" +msgstr "`reveal_to`:可以看到结果的参与方。如果采用 PSI 算法,则需要此属性。" #: ../../reference/scql_operators.md:842 msgid "`algorithm`: 0" @@ -672,11 +672,11 @@ msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的总 #: ../../reference/scql_operators.md:868 msgid "`In`(single, T): Tensor to be summed (shape [M])." -msgstr "`In`(single, T):要求和的 tensor (shape [M])" +msgstr "`In`(single, T):要求和的 tensor 。" #: ../../reference/scql_operators.md:873 msgid "`Out`(single, T): The summed Tensor (shape [1])." -msgstr "`Out`(single, T): tensor 和 (shape [1])" +msgstr "`Out`(single, T): tensor 的和。" #: ../../reference/scql_operators.md:886 msgid "`ReduceMax`" @@ -690,11 +690,11 @@ msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的最 #: ../../reference/scql_operators.md:899 msgid "`In`(single, T): Tensor to be maxed (shape [M])." -msgstr "`In`(single, T): 需要最大化的 tensor (shape [M])" +msgstr "`In`(single, T): 需要计算最大值的 tensor。" #: ../../reference/scql_operators.md:904 msgid "`Out`(single, T): The maxed Tensor (shape [1])." -msgstr "`Out`(single, T): tensor 最大化 (shape [1])" +msgstr "`Out`(single, T):最大值的 tensor。" #: ../../reference/scql_operators.md:917 msgid "`ReduceMin`" @@ -708,11 +708,11 @@ msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的最 #: ../../reference/scql_operators.md:930 msgid "`In`(single, T): Tensor to be mined (shape [M])." -msgstr "`In`(single, T):需要最小化的 tensor (shape [M])." +msgstr "`In`(single, T):需要计算最小值的 tensor。" #: ../../reference/scql_operators.md:935 msgid "`Out`(single, T): The mined Tensor (shape [1])." -msgstr "`Out`(single, T): tensor 最小化 (shape [1])." +msgstr "`Out`(single, T):最小值的tensor。" #: ../../reference/scql_operators.md:948 msgid "`ReduceAvg`" @@ -726,11 +726,11 @@ msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的平 #: ../../reference/scql_operators.md:964 msgid "`In`(single, T): Tensor to be reduced (shape [M])." -msgstr "`In`(single, T):需要求平均的 tensor (shape [M])" +msgstr "`In`(single, T):需要求平均的 tensor。" #: ../../reference/scql_operators.md:969 msgid "`Out`(single, T): The average Tensor (shape [1])." -msgstr "`Out`(single, T):平均 tensor (shape [1])." +msgstr "`Out`(single, T):平均 tensor 。" #: ../../reference/scql_operators.md:982 msgid "`Shape`" @@ -744,12 +744,12 @@ msgid "" msgstr "定义:给定 tensor ,返回每个 tensor 的 shapes,Axis从 0 开始。如果设置了 Axis,则返回每个 shapes 的维度。如果未设置 Axis (默认为 -1),则返回 shapes 。例:" #: ../../reference/scql_operators.md:995 -msgid "`In`(variadic, T): Input Tensors" -msgstr "`In`(variadic, T): 输入 tensor " +msgid "`In`(可变参数, T): Input Tensors" +msgstr "`In`(可变参数, T): 输入 tensor " #: ../../reference/scql_operators.md:1000 -msgid "`Out`(variadic, T1): Shape Tensors" -msgstr "`Out`(variadic, T1): 输出 Shape" +msgid "`Out`(可变参数, T1): Shape Tensors" +msgstr "`Out`(可变参数, T1): 输出 Shape" #: ../../reference/scql_operators.md:1006 msgid "`axis`: Int. Specific dimension of the shape." @@ -784,16 +784,16 @@ msgid "Definition: sort `In` using `Key`. Example:" msgstr "定义: 使用 `Key` 对输入内容进行排序。例:" #: ../../reference/scql_operators.md:1073 -msgid "`Key`(variadic, T): Sort Key(shape [M][1])." -msgstr "`Key`(variadic, T): 排序键(shape [M][1])" +msgid "`Key`(可变参数, T): Sort Key(shape [M][1])." +msgstr "`Key`(可变参数, T): 排序键" #: ../../reference/scql_operators.md:1075 -msgid "`In`(variadic, T): Sort Value(shape [M][1])." -msgstr "`In`(variadic, T): 排序值(shape [M][1])" +msgid "`In`(可变参数, T): Sort Value(shape [M][1])." +msgstr "`In`(可变参数, T): 所需排序的值。" #: ../../reference/scql_operators.md:1080 -msgid "`Out`(variadic, T): Sorted Value(shape [M][1])" -msgstr "`Out`(variadic, T):排序值(shape [M][1])" +msgid "`Out`(可变参数, T): Sorted Value(shape [M][1])" +msgstr "`Out`(可变参数, T):排序后的结果。" #: ../../reference/scql_operators.md:1086 msgid "`reverse`: Bool. If True, the sorted tensor in descending order." @@ -811,11 +811,11 @@ msgstr "`ObliviousGroupMark`" msgid "" "Definition: generate end of group indicator `Group` based on `Key`. The " "operator calculates Group[i] = not_eq(Key[i+1], Key[i]). Example:" -msgstr "定义:基于 Key 生成 end of group indicator Group , operator calculates Group[i] = not_eq(Key[i+1], Key[i])。例" +msgstr "定义:根据输入的 key 生成一个 group ,group 的计算规则为 Group[i] = not_eq(Key[i+1], Key[i])。例:" #: ../../reference/scql_operators.md:1122 -msgid "`Key`(variadic, T): Pre-sorted group keys (shape [M][1])." -msgstr "`Key`(variadic, T): 预排序的组键 (shape [M][1])" +msgid "`Key`(可变参数, T): Pre-sorted group keys (shape [M][1])." +msgstr "`Key`(可变参数, T): 排序过的 group key。" #: ../../reference/scql_operators.md:1127 #: ../../reference/scql_operators.md:1154 @@ -826,7 +826,7 @@ msgstr "`Key`(variadic, T): 预排序的组键 (shape [M][1])" msgid "" "`Group`(single, T): End of group indicator(shape [M][1]). Element 1 means" " the row is the last element of the group, 0 is not." -msgstr "`Group`(single, T): End of group indicator(shape [M][1]), 元素 1 表示行是组的最后一个元素,0 不是" +msgstr "`Group`(single, T): 生成的 groupMark (shape [M][1]),其中1表示是该分组中的最后一元素,0则表示不是最后一个元素" #: ../../reference/scql_operators.md:1140 msgid "`ObliviousGroupSum`" @@ -840,23 +840,23 @@ msgstr "`ObliviousGroupSum`" msgid "" "Definition: partially aggregate `In` according to end of group indicator." " Example:" -msgstr "定义: 根据 end of group indicator 部分聚合输入内容。" +msgstr "定义: 根据 group mask 来对输入进行分组求和。" #: ../../reference/scql_operators.md:1156 #: ../../reference/scql_operators.md:1190 #: ../../reference/scql_operators.md:1224 #: ../../reference/scql_operators.md:1258 #: ../../reference/scql_operators.md:1292 -msgid "`In`(variadic, T): Values to be aggregated (shape [M][1])." -msgstr "`In`(variadic, T): 要聚合的值 (shape [M][1])。" +msgid "`In`(可变参数, T): Values to be aggregated (shape [M][1])." +msgstr "`In`(可变参数, T): 需要聚合的值。" #: ../../reference/scql_operators.md:1161 #: ../../reference/scql_operators.md:1195 #: ../../reference/scql_operators.md:1229 #: ../../reference/scql_operators.md:1263 #: ../../reference/scql_operators.md:1297 -msgid "`Out`(variadic, T): Partially aggregated values (shape [M][1])." -msgstr "`Out`(variadic, T): 部分聚合的值(shape [M][1])。" +msgid "`Out`(可变参数, T): Partially aggregated values (shape [M][1])." +msgstr "`Out`(可变参数, T): 部分聚合的值。" #: ../../reference/scql_operators.md:1170 #: ../../reference/scql_operators.md:1204 @@ -893,12 +893,12 @@ msgid "Definition: Shuffle `In`. Example:" msgstr "定义:Shuffle `In`。例:" #: ../../reference/scql_operators.md:1323 -msgid "`In`(variadic, T): Input Value(shape [M][1])." -msgstr "`In`(variadic, T):输入值(shape [M][1])." +msgid "`In`(可变参数, T): Input Value(shape [M][1])." +msgstr "`In`(可变参数, T):输入值。" #: ../../reference/scql_operators.md:1328 -msgid "`Out`(variadic, T): Output Value(shape [M][1])" -msgstr "`Out`(variadic, T):输出值(shape [M][1])" +msgid "`Out`(可变参数, T): Output Value(shape [M][1])" +msgstr "`Out`(可变参数, T):输出值。" #: ../../reference/scql_operators.md:1341 msgid "`BroadcastTo`" @@ -911,16 +911,16 @@ msgid "" msgstr "将输入的 tensor `In` 广播转变为与 ShapeRefTensor 相同的 shape。例:" #: ../../reference/scql_operators.md:1355 -msgid "`In`(variadic, T): Input tensor" -msgstr "`In`(variadic, T):输入 tensor " +msgid "`In`(可变参数, T): Input tensor" +msgstr "`In`(可变参数, T):输入 tensor " #: ../../reference/scql_operators.md:1357 msgid "`ShapeRefTensor`(single, T1): Shape reference tensor" msgstr "`ShapeRefTensor`(single, T1):Shape reference tensor" #: ../../reference/scql_operators.md:1362 -msgid "`Out`(variadic, T2): Result tensor" -msgstr "`Out`(variadic, T2): tensor 结果" +msgid "`Out`(可变参数, T2): Result tensor" +msgstr "`Out`(可变参数, T2): tensor 结果" #: ../../reference/scql_operators.md:1371 msgid "`T`: public" @@ -952,14 +952,14 @@ msgstr "`Concat`" #: ../../reference/scql_operators.md:1405 msgid "" -"Definition: Given a number of tensors In (variadic, each tensor's shape " +"Definition: Given a number of tensors In (可变参数, each tensor's shape " "must be the same except for the axis), concat the In tensors along the " "axis. Example:" msgstr "定义:给定多个 tensor (可以有多个,但每个 tensor 的 shape 必须相同,除了某一个轴),将它们沿着这个轴拼接起来。例如:" #: ../../reference/scql_operators.md:1416 -msgid "`In`(variadic, T): Tensors to be concat." -msgstr "`In`(variadic, T):要连接的 tensor 。" +msgid "`In`(可变参数, T): Tensors to be concat." +msgstr "`In`(可变参数, T):要连接的 tensor 。" #: ../../reference/scql_operators.md:1421 msgid "`Out`(single, T): Concated Tensor." From 4a2b5c0f3a16108de94ed6e708203873c51965ed Mon Sep 17 00:00:00 2001 From: kinoko-shelter <1771634408@qq.com> Date: Thu, 13 Jul 2023 12:14:20 +0800 Subject: [PATCH 5/7] resolve conflicts --- .../reference/scql_operators_doc.po | 145 ++++++++++++------ 1 file changed, 100 insertions(+), 45 deletions(-) diff --git a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po index 45a8993c..cddb4e42 100644 --- a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po +++ b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: SCQL \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-30 20:12+0800\n" +"POT-Creation-Date: 2023-07-04 16:16+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: zh_CN\n" @@ -17,7 +17,7 @@ msgstr "" "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" +"Generated-By: Babel 2.10.3\n" #: ../../reference/scql_operators_doc.rst:2 msgid "SCQL Operators Specification" @@ -29,9 +29,6 @@ msgid "" "including operator signatures and semantics." msgstr "这是 SCQL 算子的规范 (不是内核库),包括算子签名和语义" - - - #: ../../reference/scql_operators_doc.rst:7 msgid "Op List" msgstr "算子列表" @@ -109,7 +106,8 @@ msgid "**Outputs:**" msgstr "输出:" #: ../../reference/scql_operators.md:13 -msgid "`Out`(可变参数, T): Result tensors of the SQL statement." +#, fuzzy +msgid "`Out`(variadic, T): Result tensors of the SQL statement." msgstr "Out`(可变参数, T): SQL 语句的结果 tensors。" #: ../../reference/scql_operators.md:17 ../../reference/scql_operators.md:521 @@ -175,12 +173,14 @@ msgid "This operator publishes the DAG results." msgstr "该算子披露 DAG 结果。" #: ../../reference/scql_operators.md:40 -msgid "`In`(可变参数, T1): Tensors to be published." +#, fuzzy +msgid "`In`(variadic, T1): Tensors to be published." msgstr "`In`(可变参数, T1):要披露的 Tensors。" #: ../../reference/scql_operators.md:45 +#, fuzzy msgid "" -"`Out`(可变参数, T2): Result tensors of the publish op. Tensors are in " +"`Out`(variadic, T2): Result tensors of the publish op. Tensors are in " "TensorOption VALUE." msgstr "`Out`(可变参数, T2):披露 publish op tensors 结果 。Tensors 位于 TensorOption VALUE 中。" @@ -207,8 +207,9 @@ msgstr "Out = Left `Less` Right" #: ../../reference/scql_operators.md:306 ../../reference/scql_operators.md:336 #: ../../reference/scql_operators.md:366 ../../reference/scql_operators.md:396 #: ../../reference/scql_operators.md:426 ../../reference/scql_operators.md:456 -msgid "`Left`(可变参数, T): First operand." -msgstr "`Left`(可变参数, T):第一个操作数。" +#, fuzzy +msgid "`Left`(variadic, T): First operand." +msgstr "`Left`(single, T): 第一个操作数。" #: ../../reference/scql_operators.md:68 ../../reference/scql_operators.md:98 #: ../../reference/scql_operators.md:128 ../../reference/scql_operators.md:158 @@ -217,8 +218,9 @@ msgstr "`Left`(可变参数, T):第一个操作数。" #: ../../reference/scql_operators.md:308 ../../reference/scql_operators.md:338 #: ../../reference/scql_operators.md:368 ../../reference/scql_operators.md:398 #: ../../reference/scql_operators.md:428 ../../reference/scql_operators.md:458 -msgid "`Right`(可变参数, T1): Second operand." -msgstr "`Right`(可变参数, T1):第二个操作数。" +#, fuzzy +msgid "`Right`(variadic, T1): Second operand." +msgstr "`Right`(single, T1): 第二个操作数。" #: ../../reference/scql_operators.md:73 ../../reference/scql_operators.md:103 #: ../../reference/scql_operators.md:133 ../../reference/scql_operators.md:163 @@ -227,7 +229,8 @@ msgstr "`Right`(可变参数, T1):第二个操作数。" #: ../../reference/scql_operators.md:313 ../../reference/scql_operators.md:343 #: ../../reference/scql_operators.md:373 ../../reference/scql_operators.md:403 #: ../../reference/scql_operators.md:433 ../../reference/scql_operators.md:463 -msgid "`Out`(可变参数, T2): Output Tensor." +#, fuzzy +msgid "`Out`(variadic, T2): Output Tensor." msgstr "`Out`(可变参数, T2):输出 tensor 。" #: ../../reference/scql_operators.md:82 ../../reference/scql_operators.md:112 @@ -377,12 +380,14 @@ msgstr "将 tensor 从共享或私有状态转换为公开状态。" #: ../../reference/scql_operators.md:486 ../../reference/scql_operators.md:512 #: ../../reference/scql_operators.md:544 -msgid "`In`(可变参数, T1): Input tensors." +#, fuzzy +msgid "`In`(variadic, T1): Input tensors." msgstr "`In`(可变参数, T1):输入 tensor 。" #: ../../reference/scql_operators.md:491 ../../reference/scql_operators.md:517 #: ../../reference/scql_operators.md:549 -msgid "`Out`(可变参数, T2): Output tensors." +#, fuzzy +msgid "`Out`(variadic, T2): Output tensors." msgstr "`Out`(可变参数, T2):输出 tensor 。" #: ../../reference/scql_operators.md:500 @@ -406,7 +411,9 @@ msgid "" "`reveal_to`: List of parties to see the private data. If it is revealed " "to one party only, the other party also needs to run the op, but does not" " have an output. Only the reveal_to party gets the output." -msgstr "`reveal_to`:一个包含可查看私有数据的方的列表。如果只向一方透露,那么另一方也需要运行该操作,但不会有结果。只有被指定为 reveal_to 的一方才能获取结果。" +msgstr "" +"`reveal_to`:一个包含可查看私有数据的方的列表。如果只向一方透露,那么另一方也需要运行该操作,但不会有结果。只有被指定为 " +"reveal_to 的一方才能获取结果。" #: ../../reference/scql_operators.md:532 msgid "`T1`: secret" @@ -498,11 +505,13 @@ msgid "`RowsIndexFilter`(single, T): Rows index filter vector(shape [K][1])." msgstr "RowsIndexFilter (single, T):行索引筛选器向量(shape [K][1])" #: ../../reference/scql_operators.md:635 -msgid "`Data`(可变参数, T): Input data tensor(shape [M][N])." +#, fuzzy +msgid "`Data`(variadic, T): Input data tensor(shape [M][N])." msgstr "`Data`(可变参数, T):输入数据 tensor (shape [M][N])。" #: ../../reference/scql_operators.md:640 -msgid "`Out`(可变参数, T): Output data tensor(shape [X][N])." +#, fuzzy +msgid "`Out`(variadic, T): Output data tensor(shape [X][N])." msgstr "`Out`(可变参数, T):输出数据 tensor (shape [X][N])。" #: ../../reference/scql_operators.md:653 @@ -536,24 +545,30 @@ msgid "`Filter`" msgstr "`Filter`" #: ../../reference/scql_operators.md:687 +#, fuzzy msgid "" "Given a boolean tensor Filter (its shape is [M]), and a number of tensors" -" In (可变参数, each tensor's shape must be [M]), for i in [0, M-1], keep " +" In (variadic, each tensor's shape must be [M]), for i in [0, M-1], keep " "the In tensors' element if and only if Filter[i] is True, output the " -"filter result tensors Out (可变参数). Example:" -msgstr "给定一个boolean tensorsFilter (其 shape 为[M]),以及一些 tensor In (可变参数,每个 tensor 的shape必须为[M])。对于i在[0, M-1]的范围内,仅当Filter[i]为真时,保留In tensor 的元素,并输出过滤结果 tensor Out (可变参数)。例:" +"filter result tensors Out (variadic). Example:" +msgstr "" +"给定一个boolean tensorsFilter (其 shape 为[M]),以及一些 tensor In (可变参数,每个 tensor " +"的shape必须为[M])。对于i在[0, M-1]的范围内,仅当Filter[i]为真时,保留In tensor 的元素,并输出过滤结果 " +"tensor Out (可变参数)。例:" #: ../../reference/scql_operators.md:700 msgid "`Filter`(single, T1): Filter tensor." msgstr "`Filter`(single, T1):Filter tensor 。" #: ../../reference/scql_operators.md:702 -msgid "`In`(可变参数, T): Tensors to be filtered." +#, fuzzy +msgid "`In`(variadic, T): Tensors to be filtered." msgstr "`In`(可变参数, T):待过滤的 tensor 。" #: ../../reference/scql_operators.md:707 -msgid "`Out`(可变参数, T): Output tensor." -msgstr "`Out`(可变参数, T):输出 tensor 。" +#, fuzzy +msgid "`Out`(variadic, T): Output tensor." +msgstr "`Out`(single, T):输出 tensor 。" #: ../../reference/scql_operators.md:716 ../../reference/scql_operators.md:882 #: ../../reference/scql_operators.md:913 ../../reference/scql_operators.md:944 @@ -601,11 +616,13 @@ msgid "" msgstr "定义:将输入的 tensor 存储到文件中。注意:此操作将更改会话中受影响的行。" #: ../../reference/scql_operators.md:775 -msgid "`In`(可变参数, T): Tensors to be dumped." +#, fuzzy +msgid "`In`(variadic, T): Tensors to be dumped." msgstr "`In`(可变参数, T):要存储的 tensor。" #: ../../reference/scql_operators.md:780 -msgid "`Out`(可变参数, T): Tensors have been dumped." +#, fuzzy +msgid "`Out`(variadic, T): Tensors have been dumped." msgstr "`Out`(可变参数, T): 已被转储的 tensor。" #: ../../reference/scql_operators.md:786 @@ -626,7 +643,10 @@ msgid "" "input tensor Right (its shape is [N]), check whether Left's element " "exists in Right's elements and output a boolean tensor Out (its shape is " "[M]). Left and Right must be the same type. Example:" -msgstr "定义:给定一个名为 Left 的输入 tensor (其 shape 为 [M]) 和另一个名为 Right 的 Tensor (其 shape 为 [N]),检查 Left 的元素是否存在于右的元素中,并输出一名为 Out 的布尔类型的 tensor (其 shape 为 [M])。左和右必须是相同的类型。例:" +msgstr "" +"定义:给定一个名为 Left 的输入 tensor (其 shape 为 [M]) 和另一个名为 Right 的 Tensor (其 shape " +"为 [N]),检查 Left 的元素是否存在于右的元素中,并输出一名为 Out 的布尔类型的 tensor (其 shape 为 " +"[M])。左和右必须是相同的类型。例:" #: ../../reference/scql_operators.md:816 msgid "`Left`(single, T): First operand." @@ -741,14 +761,18 @@ msgid "" "Definition: Given tensors In, return shapes of each tensor. Axis starts " "from 0. If axis is set, dimensions of each shape are returned. If axis is" " not set(default -1), shapes are returned. Example:" -msgstr "定义:给定 tensor ,返回每个 tensor 的 shapes,Axis从 0 开始。如果设置了 Axis,则返回每个 shapes 的维度。如果未设置 Axis (默认为 -1),则返回 shapes 。例:" +msgstr "" +"定义:给定 tensor ,返回每个 tensor 的 shapes,Axis从 0 开始。如果设置了 Axis,则返回每个 shapes " +"的维度。如果未设置 Axis (默认为 -1),则返回 shapes 。例:" #: ../../reference/scql_operators.md:995 -msgid "`In`(可变参数, T): Input Tensors" -msgstr "`In`(可变参数, T): 输入 tensor " +#, fuzzy +msgid "`In`(variadic, T): Input Tensors" +msgstr "`In`(可变参数, T):输入 tensor " #: ../../reference/scql_operators.md:1000 -msgid "`Out`(可变参数, T1): Shape Tensors" +#, fuzzy +msgid "`Out`(variadic, T1): Shape Tensors" msgstr "`Out`(可变参数, T1): 输出 Shape" #: ../../reference/scql_operators.md:1006 @@ -784,15 +808,18 @@ msgid "Definition: sort `In` using `Key`. Example:" msgstr "定义: 使用 `Key` 对输入内容进行排序。例:" #: ../../reference/scql_operators.md:1073 -msgid "`Key`(可变参数, T): Sort Key(shape [M][1])." +#, fuzzy +msgid "`Key`(variadic, T): Sort Key(shape [M][1])." msgstr "`Key`(可变参数, T): 排序键" #: ../../reference/scql_operators.md:1075 -msgid "`In`(可变参数, T): Sort Value(shape [M][1])." +#, fuzzy +msgid "`In`(variadic, T): Sort Value(shape [M][1])." msgstr "`In`(可变参数, T): 所需排序的值。" #: ../../reference/scql_operators.md:1080 -msgid "`Out`(可变参数, T): Sorted Value(shape [M][1])" +#, fuzzy +msgid "`Out`(variadic, T): Sorted Value(shape [M][1])" msgstr "`Out`(可变参数, T):排序后的结果。" #: ../../reference/scql_operators.md:1086 @@ -811,10 +838,13 @@ msgstr "`ObliviousGroupMark`" msgid "" "Definition: generate end of group indicator `Group` based on `Key`. The " "operator calculates Group[i] = not_eq(Key[i+1], Key[i]). Example:" -msgstr "定义:根据输入的 key 生成一个 group ,group 的计算规则为 Group[i] = not_eq(Key[i+1], Key[i])。例:" +msgstr "" +"定义:根据输入的 key 生成一个 group ,group 的计算规则为 Group[i] = not_eq(Key[i+1], " +"Key[i])。例:" #: ../../reference/scql_operators.md:1122 -msgid "`Key`(可变参数, T): Pre-sorted group keys (shape [M][1])." +#, fuzzy +msgid "`Key`(variadic, T): Pre-sorted group keys (shape [M][1])." msgstr "`Key`(可变参数, T): 排序过的 group key。" #: ../../reference/scql_operators.md:1127 @@ -826,7 +856,9 @@ msgstr "`Key`(可变参数, T): 排序过的 group key。" msgid "" "`Group`(single, T): End of group indicator(shape [M][1]). Element 1 means" " the row is the last element of the group, 0 is not." -msgstr "`Group`(single, T): 生成的 groupMark (shape [M][1]),其中1表示是该分组中的最后一元素,0则表示不是最后一个元素" +msgstr "" +"`Group`(single, T): 生成的 groupMark (shape " +"[M][1]),其中1表示是该分组中的最后一元素,0则表示不是最后一个元素" #: ../../reference/scql_operators.md:1140 msgid "`ObliviousGroupSum`" @@ -847,7 +879,8 @@ msgstr "定义: 根据 group mask 来对输入进行分组求和。" #: ../../reference/scql_operators.md:1224 #: ../../reference/scql_operators.md:1258 #: ../../reference/scql_operators.md:1292 -msgid "`In`(可变参数, T): Values to be aggregated (shape [M][1])." +#, fuzzy +msgid "`In`(variadic, T): Values to be aggregated (shape [M][1])." msgstr "`In`(可变参数, T): 需要聚合的值。" #: ../../reference/scql_operators.md:1161 @@ -855,7 +888,8 @@ msgstr "`In`(可变参数, T): 需要聚合的值。" #: ../../reference/scql_operators.md:1229 #: ../../reference/scql_operators.md:1263 #: ../../reference/scql_operators.md:1297 -msgid "`Out`(可变参数, T): Partially aggregated values (shape [M][1])." +#, fuzzy +msgid "`Out`(variadic, T): Partially aggregated values (shape [M][1])." msgstr "`Out`(可变参数, T): 部分聚合的值。" #: ../../reference/scql_operators.md:1170 @@ -893,11 +927,13 @@ msgid "Definition: Shuffle `In`. Example:" msgstr "定义:Shuffle `In`。例:" #: ../../reference/scql_operators.md:1323 -msgid "`In`(可变参数, T): Input Value(shape [M][1])." +#, fuzzy +msgid "`In`(variadic, T): Input Value(shape [M][1])." msgstr "`In`(可变参数, T):输入值。" #: ../../reference/scql_operators.md:1328 -msgid "`Out`(可变参数, T): Output Value(shape [M][1])" +#, fuzzy +msgid "`Out`(variadic, T): Output Value(shape [M][1])" msgstr "`Out`(可变参数, T):输出值。" #: ../../reference/scql_operators.md:1341 @@ -911,7 +947,8 @@ msgid "" msgstr "将输入的 tensor `In` 广播转变为与 ShapeRefTensor 相同的 shape。例:" #: ../../reference/scql_operators.md:1355 -msgid "`In`(可变参数, T): Input tensor" +#, fuzzy +msgid "`In`(variadic, T): Input tensor" msgstr "`In`(可变参数, T):输入 tensor " #: ../../reference/scql_operators.md:1357 @@ -919,7 +956,8 @@ msgid "`ShapeRefTensor`(single, T1): Shape reference tensor" msgstr "`ShapeRefTensor`(single, T1):Shape reference tensor" #: ../../reference/scql_operators.md:1362 -msgid "`Out`(可变参数, T2): Result tensor" +#, fuzzy +msgid "`Out`(variadic, T2): Result tensor" msgstr "`Out`(可变参数, T2): tensor 结果" #: ../../reference/scql_operators.md:1371 @@ -951,14 +989,16 @@ msgid "`Concat`" msgstr "`Concat`" #: ../../reference/scql_operators.md:1405 +#, fuzzy msgid "" -"Definition: Given a number of tensors In (可变参数, each tensor's shape " +"Definition: Given a number of tensors In (variadic, each tensor's shape " "must be the same except for the axis), concat the In tensors along the " "axis. Example:" msgstr "定义:给定多个 tensor (可以有多个,但每个 tensor 的 shape 必须相同,除了某一个轴),将它们沿着这个轴拼接起来。例如:" #: ../../reference/scql_operators.md:1416 -msgid "`In`(可变参数, T): Tensors to be concat." +#, fuzzy +msgid "`In`(variadic, T): Tensors to be concat." msgstr "`In`(可变参数, T):要连接的 tensor 。" #: ../../reference/scql_operators.md:1421 @@ -973,3 +1013,18 @@ msgstr "`axis`:要连接的维度。" msgid "`axis`: 0" msgstr "`axis`:0" +#~ msgid "`Left`(可变参数, T): First operand." +#~ msgstr "`Left`(可变参数, T):第一个操作数。" + +#~ msgid "`Right`(可变参数, T1): Second operand." +#~ msgstr "`Right`(可变参数, T1):第二个操作数。" + +#~ msgid "`Out`(可变参数, T2): Output Tensor." +#~ msgstr "`Out`(可变参数, T2):输出 tensor 。" + +#~ msgid "`Out`(可变参数, T): Output tensor." +#~ msgstr "`Out`(可变参数, T):输出 tensor 。" + +#~ msgid "`In`(可变参数, T): Input Tensors" +#~ msgstr "`In`(可变参数, T): 输入 tensor " + From e4ff92d1a743e879b0d1f32f2913d2e0f02eabd6 Mon Sep 17 00:00:00 2001 From: kinoko-shelter <1771634408@qq.com> Date: Thu, 13 Jul 2023 12:43:02 +0800 Subject: [PATCH 6/7] =?UTF-8?q?=E2=80=9C=E5=90=8C=E6=AD=A5=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LC_MESSAGES/reference/scql_operators_doc.po | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po index cddb4e42..030c2448 100644 --- a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po +++ b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po @@ -209,7 +209,7 @@ msgstr "Out = Left `Less` Right" #: ../../reference/scql_operators.md:426 ../../reference/scql_operators.md:456 #, fuzzy msgid "`Left`(variadic, T): First operand." -msgstr "`Left`(single, T): 第一个操作数。" +msgstr "`Left`(variadic, T): 第一个操作数。" #: ../../reference/scql_operators.md:68 ../../reference/scql_operators.md:98 #: ../../reference/scql_operators.md:128 ../../reference/scql_operators.md:158 @@ -220,7 +220,7 @@ msgstr "`Left`(single, T): 第一个操作数。" #: ../../reference/scql_operators.md:428 ../../reference/scql_operators.md:458 #, fuzzy msgid "`Right`(variadic, T1): Second operand." -msgstr "`Right`(single, T1): 第二个操作数。" +msgstr "`Right`(variadic, T1): 第二个操作数。" #: ../../reference/scql_operators.md:73 ../../reference/scql_operators.md:103 #: ../../reference/scql_operators.md:133 ../../reference/scql_operators.md:163 @@ -231,7 +231,7 @@ msgstr "`Right`(single, T1): 第二个操作数。" #: ../../reference/scql_operators.md:433 ../../reference/scql_operators.md:463 #, fuzzy msgid "`Out`(variadic, T2): Output Tensor." -msgstr "`Out`(可变参数, T2):输出 tensor 。" +msgstr "`Out`(variadic, T2):输出 tensor 。" #: ../../reference/scql_operators.md:82 ../../reference/scql_operators.md:112 #: ../../reference/scql_operators.md:142 ../../reference/scql_operators.md:172 @@ -568,7 +568,7 @@ msgstr "`In`(可变参数, T):待过滤的 tensor 。" #: ../../reference/scql_operators.md:707 #, fuzzy msgid "`Out`(variadic, T): Output tensor." -msgstr "`Out`(single, T):输出 tensor 。" +msgstr "`Out`(variadic, T):输出 tensor 。" #: ../../reference/scql_operators.md:716 ../../reference/scql_operators.md:882 #: ../../reference/scql_operators.md:913 ../../reference/scql_operators.md:944 @@ -857,8 +857,7 @@ msgid "" "`Group`(single, T): End of group indicator(shape [M][1]). Element 1 means" " the row is the last element of the group, 0 is not." msgstr "" -"`Group`(single, T): 生成的 groupMark (shape " -"[M][1]),其中1表示是该分组中的最后一元素,0则表示不是最后一个元素" +"`Group`(single, T): 生成的 groupMark (shape [M][1]),其中1表示是该分组中的最后一元素,0则表示不是最后一个元素" #: ../../reference/scql_operators.md:1140 msgid "`ObliviousGroupSum`" @@ -994,7 +993,7 @@ msgid "" "Definition: Given a number of tensors In (variadic, each tensor's shape " "must be the same except for the axis), concat the In tensors along the " "axis. Example:" -msgstr "定义:给定多个 tensor (可以有多个,但每个 tensor 的 shape 必须相同,除了某一个轴),将它们沿着这个轴拼接起来。例如:" +msgstr "定义:给定多个 tensor (可以有多个,但每个 tensor 的 shape 必须相同,除了某一个轴),将它们沿着这个轴拼接起来。例如:" #: ../../reference/scql_operators.md:1416 #, fuzzy From d98695091ea1b9f2e0d105db8ae2eb2f0aecfff4 Mon Sep 17 00:00:00 2001 From: kinoko-shelter <1771634408@qq.com> Date: Fri, 14 Jul 2023 17:57:30 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E2=80=9D7-14=20update=E2=80=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reference/scql_operators_doc.po | 1615 +++++++++-------- 1 file changed, 860 insertions(+), 755 deletions(-) diff --git a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po index 030c2448..7bed2423 100644 --- a/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po +++ b/docs/locales/zh_CN/LC_MESSAGES/reference/scql_operators_doc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: SCQL \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-04 16:16+0800\n" +"POT-Creation-Date: 2023-07-03 10:11+0800\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language: zh_CN\n" @@ -17,7 +17,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" -"Generated-By: Babel 2.10.3\n" +"Generated-By: Babel 2.12.1\n" #: ../../reference/scql_operators_doc.rst:2 msgid "SCQL Operators Specification" @@ -34,996 +34,1101 @@ msgid "Op List" msgstr "算子列表" #: ../../reference/scql_operators.md:2 -msgid "`RunSQL`" -msgstr "`RunSQL`" +msgid "`Add`" +msgstr "`Add`" #: ../../reference/scql_operators.md:4 -msgid "Run a SQL statement and return a list of tensors in private status" -msgstr "运行 SQL 语句并返回私有状态下的 tensors 列表" +msgid "Out = Left `Add` Right" +msgstr "Out = Left `Add` Right" -#: ../../reference/scql_operators.md:6 ../../reference/scql_operators.md:38 -#: ../../reference/scql_operators.md:64 ../../reference/scql_operators.md:94 -#: ../../reference/scql_operators.md:124 ../../reference/scql_operators.md:154 -#: ../../reference/scql_operators.md:184 ../../reference/scql_operators.md:214 -#: ../../reference/scql_operators.md:244 ../../reference/scql_operators.md:274 -#: ../../reference/scql_operators.md:304 ../../reference/scql_operators.md:334 -#: ../../reference/scql_operators.md:364 ../../reference/scql_operators.md:394 -#: ../../reference/scql_operators.md:424 ../../reference/scql_operators.md:454 -#: ../../reference/scql_operators.md:484 ../../reference/scql_operators.md:510 -#: ../../reference/scql_operators.md:542 ../../reference/scql_operators.md:578 -#: ../../reference/scql_operators.md:631 ../../reference/scql_operators.md:657 -#: ../../reference/scql_operators.md:698 ../../reference/scql_operators.md:734 -#: ../../reference/scql_operators.md:773 ../../reference/scql_operators.md:814 -#: ../../reference/scql_operators.md:866 ../../reference/scql_operators.md:897 -#: ../../reference/scql_operators.md:928 ../../reference/scql_operators.md:962 -#: ../../reference/scql_operators.md:993 ../../reference/scql_operators.md:1039 -#: ../../reference/scql_operators.md:1071 -#: ../../reference/scql_operators.md:1120 -#: ../../reference/scql_operators.md:1152 -#: ../../reference/scql_operators.md:1186 -#: ../../reference/scql_operators.md:1220 -#: ../../reference/scql_operators.md:1254 -#: ../../reference/scql_operators.md:1288 -#: ../../reference/scql_operators.md:1321 -#: ../../reference/scql_operators.md:1353 -#: ../../reference/scql_operators.md:1383 -#: ../../reference/scql_operators.md:1414 +#: ../../reference/scql_operators.md:6 ../../reference/scql_operators.md:44 +#: ../../reference/scql_operators.md:81 ../../reference/scql_operators.md:126 +#: ../../reference/scql_operators.md:165 ../../reference/scql_operators.md:197 +#: ../../reference/scql_operators.md:227 ../../reference/scql_operators.md:259 +#: ../../reference/scql_operators.md:298 ../../reference/scql_operators.md:334 +#: ../../reference/scql_operators.md:360 ../../reference/scql_operators.md:390 +#: ../../reference/scql_operators.md:428 ../../reference/scql_operators.md:463 +#: ../../reference/scql_operators.md:500 ../../reference/scql_operators.md:537 +#: ../../reference/scql_operators.md:574 ../../reference/scql_operators.md:611 +#: ../../reference/scql_operators.md:648 ../../reference/scql_operators.md:685 +#: ../../reference/scql_operators.md:722 ../../reference/scql_operators.md:767 +#: ../../reference/scql_operators.md:807 ../../reference/scql_operators.md:852 +#: ../../reference/scql_operators.md:882 ../../reference/scql_operators.md:912 +#: ../../reference/scql_operators.md:942 ../../reference/scql_operators.md:972 +#: ../../reference/scql_operators.md:1004 +#: ../../reference/scql_operators.md:1030 +#: ../../reference/scql_operators.md:1056 +#: ../../reference/scql_operators.md:1086 +#: ../../reference/scql_operators.md:1116 +#: ../../reference/scql_operators.md:1146 +#: ../../reference/scql_operators.md:1170 +#: ../../reference/scql_operators.md:1208 +#: ../../reference/scql_operators.md:1242 +#: ../../reference/scql_operators.md:1278 +#: ../../reference/scql_operators.md:1310 +#: ../../reference/scql_operators.md:1344 +#: ../../reference/scql_operators.md:1378 +#: ../../reference/scql_operators.md:1404 +#: ../../reference/scql_operators.md:1438 +#: ../../reference/scql_operators.md:1469 +#: ../../reference/scql_operators.md:1500 +#: ../../reference/scql_operators.md:1531 +#: ../../reference/scql_operators.md:1555 +#: ../../reference/scql_operators.md:1594 +#: ../../reference/scql_operators.md:1640 +#: ../../reference/scql_operators.md:1672 +#: ../../reference/scql_operators.md:1718 msgid "**Inputs:**" msgstr "输入:" -#: ../../reference/scql_operators.md:8 ../../reference/scql_operators.md:736 -msgid "No input parameter." -msgstr "无输入参数。" +#: ../../reference/scql_operators.md:8 ../../reference/scql_operators.md:199 +#: ../../reference/scql_operators.md:261 ../../reference/scql_operators.md:362 +#: ../../reference/scql_operators.md:392 ../../reference/scql_operators.md:769 +#: ../../reference/scql_operators.md:854 ../../reference/scql_operators.md:884 +#: ../../reference/scql_operators.md:914 ../../reference/scql_operators.md:944 +#: ../../reference/scql_operators.md:1058 +#: ../../reference/scql_operators.md:1088 +#: ../../reference/scql_operators.md:1118 +#: ../../reference/scql_operators.md:1172 +msgid "`Left`(variadic, T): First operand." +msgstr "`Left`(可变参数, T): 第一个操作数." + +#: ../../reference/scql_operators.md:10 ../../reference/scql_operators.md:201 +#: ../../reference/scql_operators.md:263 ../../reference/scql_operators.md:364 +#: ../../reference/scql_operators.md:394 ../../reference/scql_operators.md:771 +#: ../../reference/scql_operators.md:856 ../../reference/scql_operators.md:886 +#: ../../reference/scql_operators.md:916 ../../reference/scql_operators.md:946 +#: ../../reference/scql_operators.md:1060 +#: ../../reference/scql_operators.md:1090 +#: ../../reference/scql_operators.md:1120 +#: ../../reference/scql_operators.md:1174 +msgid "`Right`(variadic, T1): Second operand." +msgstr "`Right`(可变参数, T1): 第二个操作数。" + +#: ../../reference/scql_operators.md:13 ../../reference/scql_operators.md:51 +#: ../../reference/scql_operators.md:86 ../../reference/scql_operators.md:131 +#: ../../reference/scql_operators.md:170 ../../reference/scql_operators.md:204 +#: ../../reference/scql_operators.md:232 ../../reference/scql_operators.md:266 +#: ../../reference/scql_operators.md:305 ../../reference/scql_operators.md:341 +#: ../../reference/scql_operators.md:367 ../../reference/scql_operators.md:397 +#: ../../reference/scql_operators.md:433 ../../reference/scql_operators.md:472 +#: ../../reference/scql_operators.md:509 ../../reference/scql_operators.md:546 +#: ../../reference/scql_operators.md:583 ../../reference/scql_operators.md:620 +#: ../../reference/scql_operators.md:657 ../../reference/scql_operators.md:694 +#: ../../reference/scql_operators.md:729 ../../reference/scql_operators.md:774 +#: ../../reference/scql_operators.md:814 ../../reference/scql_operators.md:859 +#: ../../reference/scql_operators.md:889 ../../reference/scql_operators.md:919 +#: ../../reference/scql_operators.md:949 ../../reference/scql_operators.md:977 +#: ../../reference/scql_operators.md:1009 +#: ../../reference/scql_operators.md:1035 +#: ../../reference/scql_operators.md:1063 +#: ../../reference/scql_operators.md:1093 +#: ../../reference/scql_operators.md:1123 +#: ../../reference/scql_operators.md:1151 +#: ../../reference/scql_operators.md:1177 +#: ../../reference/scql_operators.md:1215 +#: ../../reference/scql_operators.md:1249 +#: ../../reference/scql_operators.md:1283 +#: ../../reference/scql_operators.md:1317 +#: ../../reference/scql_operators.md:1351 +#: ../../reference/scql_operators.md:1385 +#: ../../reference/scql_operators.md:1409 +#: ../../reference/scql_operators.md:1443 +#: ../../reference/scql_operators.md:1474 +#: ../../reference/scql_operators.md:1505 +#: ../../reference/scql_operators.md:1536 +#: ../../reference/scql_operators.md:1560 +#: ../../reference/scql_operators.md:1599 +#: ../../reference/scql_operators.md:1645 +#: ../../reference/scql_operators.md:1679 +#: ../../reference/scql_operators.md:1723 +msgid "**Outputs:**" +msgstr "输出:" -#: ../../reference/scql_operators.md:11 ../../reference/scql_operators.md:43 -#: ../../reference/scql_operators.md:71 ../../reference/scql_operators.md:101 -#: ../../reference/scql_operators.md:131 ../../reference/scql_operators.md:161 -#: ../../reference/scql_operators.md:191 ../../reference/scql_operators.md:221 -#: ../../reference/scql_operators.md:251 ../../reference/scql_operators.md:281 -#: ../../reference/scql_operators.md:311 ../../reference/scql_operators.md:341 -#: ../../reference/scql_operators.md:371 ../../reference/scql_operators.md:401 -#: ../../reference/scql_operators.md:431 ../../reference/scql_operators.md:461 -#: ../../reference/scql_operators.md:489 ../../reference/scql_operators.md:515 -#: ../../reference/scql_operators.md:547 ../../reference/scql_operators.md:585 -#: ../../reference/scql_operators.md:638 ../../reference/scql_operators.md:662 -#: ../../reference/scql_operators.md:705 ../../reference/scql_operators.md:739 -#: ../../reference/scql_operators.md:778 ../../reference/scql_operators.md:821 -#: ../../reference/scql_operators.md:871 ../../reference/scql_operators.md:902 -#: ../../reference/scql_operators.md:933 ../../reference/scql_operators.md:967 -#: ../../reference/scql_operators.md:998 ../../reference/scql_operators.md:1044 -#: ../../reference/scql_operators.md:1078 +#: ../../reference/scql_operators.md:15 ../../reference/scql_operators.md:206 +#: ../../reference/scql_operators.md:268 ../../reference/scql_operators.md:369 +#: ../../reference/scql_operators.md:399 ../../reference/scql_operators.md:776 +#: ../../reference/scql_operators.md:861 ../../reference/scql_operators.md:891 +#: ../../reference/scql_operators.md:921 ../../reference/scql_operators.md:951 +#: ../../reference/scql_operators.md:1065 +#: ../../reference/scql_operators.md:1095 #: ../../reference/scql_operators.md:1125 -#: ../../reference/scql_operators.md:1159 -#: ../../reference/scql_operators.md:1193 -#: ../../reference/scql_operators.md:1227 -#: ../../reference/scql_operators.md:1261 -#: ../../reference/scql_operators.md:1295 +#: ../../reference/scql_operators.md:1179 +msgid "`Out`(variadic, T2): Output Tensor." +msgstr "Out`(可变参数, T2): 输出: " + +#: ../../reference/scql_operators.md:22 ../../reference/scql_operators.md:60 +#: ../../reference/scql_operators.md:108 ../../reference/scql_operators.md:155 +#: ../../reference/scql_operators.md:187 ../../reference/scql_operators.md:213 +#: ../../reference/scql_operators.md:249 ../../reference/scql_operators.md:275 +#: ../../reference/scql_operators.md:314 ../../reference/scql_operators.md:350 +#: ../../reference/scql_operators.md:376 ../../reference/scql_operators.md:406 +#: ../../reference/scql_operators.md:444 ../../reference/scql_operators.md:481 +#: ../../reference/scql_operators.md:518 ../../reference/scql_operators.md:555 +#: ../../reference/scql_operators.md:592 ../../reference/scql_operators.md:629 +#: ../../reference/scql_operators.md:666 ../../reference/scql_operators.md:703 +#: ../../reference/scql_operators.md:755 ../../reference/scql_operators.md:783 +#: ../../reference/scql_operators.md:840 ../../reference/scql_operators.md:868 +#: ../../reference/scql_operators.md:898 ../../reference/scql_operators.md:928 +#: ../../reference/scql_operators.md:958 ../../reference/scql_operators.md:992 +#: ../../reference/scql_operators.md:1018 +#: ../../reference/scql_operators.md:1044 +#: ../../reference/scql_operators.md:1072 +#: ../../reference/scql_operators.md:1102 +#: ../../reference/scql_operators.md:1132 +#: ../../reference/scql_operators.md:1160 +#: ../../reference/scql_operators.md:1186 +#: ../../reference/scql_operators.md:1224 +#: ../../reference/scql_operators.md:1258 +#: ../../reference/scql_operators.md:1292 #: ../../reference/scql_operators.md:1326 #: ../../reference/scql_operators.md:1360 -#: ../../reference/scql_operators.md:1388 -#: ../../reference/scql_operators.md:1419 -msgid "**Outputs:**" -msgstr "输出:" +#: ../../reference/scql_operators.md:1394 +#: ../../reference/scql_operators.md:1418 +#: ../../reference/scql_operators.md:1452 +#: ../../reference/scql_operators.md:1483 +#: ../../reference/scql_operators.md:1514 +#: ../../reference/scql_operators.md:1545 +#: ../../reference/scql_operators.md:1577 +#: ../../reference/scql_operators.md:1621 +#: ../../reference/scql_operators.md:1654 +#: ../../reference/scql_operators.md:1701 +#: ../../reference/scql_operators.md:1732 +msgid "**TensorStatus(ShareType) Constraints:**" +msgstr "TensorStatus(ShareType) Constraints:" + +#: ../../reference/scql_operators.md:24 ../../reference/scql_operators.md:215 +#: ../../reference/scql_operators.md:277 ../../reference/scql_operators.md:378 +#: ../../reference/scql_operators.md:408 ../../reference/scql_operators.md:785 +#: ../../reference/scql_operators.md:870 ../../reference/scql_operators.md:900 +#: ../../reference/scql_operators.md:930 ../../reference/scql_operators.md:960 +#: ../../reference/scql_operators.md:1074 +#: ../../reference/scql_operators.md:1104 +#: ../../reference/scql_operators.md:1134 +#: ../../reference/scql_operators.md:1162 +#: ../../reference/scql_operators.md:1188 +#: ../../reference/scql_operators.md:1623 +msgid "`T`: public,private,secret" +msgstr "`T`: 公开,私有,密态" -#: ../../reference/scql_operators.md:13 -#, fuzzy -msgid "`Out`(variadic, T): Result tensors of the SQL statement." -msgstr "Out`(可变参数, T): SQL 语句的结果 tensors。" +#: ../../reference/scql_operators.md:26 ../../reference/scql_operators.md:64 +#: ../../reference/scql_operators.md:217 ../../reference/scql_operators.md:279 +#: ../../reference/scql_operators.md:380 ../../reference/scql_operators.md:410 +#: ../../reference/scql_operators.md:787 ../../reference/scql_operators.md:872 +#: ../../reference/scql_operators.md:902 ../../reference/scql_operators.md:932 +#: ../../reference/scql_operators.md:962 ../../reference/scql_operators.md:1076 +#: ../../reference/scql_operators.md:1106 +#: ../../reference/scql_operators.md:1136 +#: ../../reference/scql_operators.md:1190 +msgid "`T1`: public,private,secret" +msgstr "`T1`: 公开,私有,密态" -#: ../../reference/scql_operators.md:17 ../../reference/scql_operators.md:521 -#: ../../reference/scql_operators.md:593 ../../reference/scql_operators.md:668 -#: ../../reference/scql_operators.md:745 ../../reference/scql_operators.md:784 -#: ../../reference/scql_operators.md:827 ../../reference/scql_operators.md:1004 -#: ../../reference/scql_operators.md:1084 -#: ../../reference/scql_operators.md:1425 -msgid "**Attributes:**" -msgstr "属性:" +#: ../../reference/scql_operators.md:28 ../../reference/scql_operators.md:219 +#: ../../reference/scql_operators.md:281 ../../reference/scql_operators.md:382 +#: ../../reference/scql_operators.md:412 ../../reference/scql_operators.md:789 +#: ../../reference/scql_operators.md:874 ../../reference/scql_operators.md:904 +#: ../../reference/scql_operators.md:934 ../../reference/scql_operators.md:964 +#: ../../reference/scql_operators.md:1078 +#: ../../reference/scql_operators.md:1108 +#: ../../reference/scql_operators.md:1138 +#: ../../reference/scql_operators.md:1192 +msgid "`T2`: private,secret" +msgstr "`T2`: 公开,私有" -#: ../../reference/scql_operators.md:19 -msgid "`sql`: SQL statement" -msgstr "`sql`:SQL 语句" +#: ../../reference/scql_operators.md:32 +msgid "`BroadcastTo`" +msgstr "`BroadcastTo`" -#: ../../reference/scql_operators.md:21 -msgid "`table_refs`: tables referenced by query" -msgstr "`table_refs`:query中引用的表" +#: ../../reference/scql_operators.md:34 +msgid "" +"Definition: Broadcast Input tensor `In` to the same shape as " +"`ShapeRefTensor`. Example:" +msgstr "将输入的 tensor `In` 广播转变为与 ShapeRefTensor 相同的 shape。例:" -#: ../../reference/scql_operators.md:28 ../../reference/scql_operators.md:52 -#: ../../reference/scql_operators.md:80 ../../reference/scql_operators.md:110 -#: ../../reference/scql_operators.md:140 ../../reference/scql_operators.md:170 -#: ../../reference/scql_operators.md:200 ../../reference/scql_operators.md:230 -#: ../../reference/scql_operators.md:260 ../../reference/scql_operators.md:290 -#: ../../reference/scql_operators.md:320 ../../reference/scql_operators.md:350 -#: ../../reference/scql_operators.md:380 ../../reference/scql_operators.md:410 -#: ../../reference/scql_operators.md:440 ../../reference/scql_operators.md:470 -#: ../../reference/scql_operators.md:498 ../../reference/scql_operators.md:530 -#: ../../reference/scql_operators.md:556 ../../reference/scql_operators.md:611 -#: ../../reference/scql_operators.md:647 ../../reference/scql_operators.md:679 -#: ../../reference/scql_operators.md:714 ../../reference/scql_operators.md:763 -#: ../../reference/scql_operators.md:795 ../../reference/scql_operators.md:847 -#: ../../reference/scql_operators.md:880 ../../reference/scql_operators.md:911 -#: ../../reference/scql_operators.md:942 ../../reference/scql_operators.md:976 -#: ../../reference/scql_operators.md:1020 -#: ../../reference/scql_operators.md:1053 -#: ../../reference/scql_operators.md:1100 -#: ../../reference/scql_operators.md:1134 -#: ../../reference/scql_operators.md:1168 -#: ../../reference/scql_operators.md:1202 -#: ../../reference/scql_operators.md:1236 -#: ../../reference/scql_operators.md:1270 -#: ../../reference/scql_operators.md:1304 -#: ../../reference/scql_operators.md:1335 -#: ../../reference/scql_operators.md:1369 -#: ../../reference/scql_operators.md:1397 -#: ../../reference/scql_operators.md:1441 -msgid "**TensorStatus(ShareType) Constraints:**" -msgstr " TensorStatus(ShareType) Constraints:" +#: ../../reference/scql_operators.md:46 +msgid "`In`(variadic, T): Input tensor" +msgstr "`In`(可变参数, T):输入 tensor " -#: ../../reference/scql_operators.md:30 ../../reference/scql_operators.md:649 -#: ../../reference/scql_operators.md:797 ../../reference/scql_operators.md:849 -#: ../../reference/scql_operators.md:1055 -msgid "`T`: private" -msgstr "`T`:私有" +#: ../../reference/scql_operators.md:48 +msgid "`ShapeRefTensor`(single, T1): Shape reference tensor" +msgstr "`ShapeRefTensor`(single, T1):Shape reference tensor" -#: ../../reference/scql_operators.md:34 -msgid "`Publish`" -msgstr "`Publish`" +#: ../../reference/scql_operators.md:53 +msgid "`Out`(variadic, T2): Result tensor" +msgstr "`Out`(可变参数, T2): tensor 结果" -#: ../../reference/scql_operators.md:36 -msgid "This operator publishes the DAG results." -msgstr "该算子披露 DAG 结果。" +#: ../../reference/scql_operators.md:62 +msgid "`T`: public" +msgstr "`T`: 公开" -#: ../../reference/scql_operators.md:40 -#, fuzzy -msgid "`In`(variadic, T1): Tensors to be published." -msgstr "`In`(可变参数, T1):要披露的 Tensors。" +#: ../../reference/scql_operators.md:66 +msgid "`T2`: public,private" +msgstr "`T2`: 公开,私有" -#: ../../reference/scql_operators.md:45 -#, fuzzy +#: ../../reference/scql_operators.md:70 +msgid "`Concat`" +msgstr "`Concat`" + +#: ../../reference/scql_operators.md:72 msgid "" -"`Out`(variadic, T2): Result tensors of the publish op. Tensors are in " -"TensorOption VALUE." -msgstr "`Out`(可变参数, T2):披露 publish op tensors 结果 。Tensors 位于 TensorOption VALUE 中。" +"Definition: Given a number of tensors In (variadic, each tensor's shape " +"must be the same except for the axis), concat the In tensors along the " +"axis. Example:" +msgstr "定义:给定一组 tensor (可变参数),其中 tensor 的 shape 必须相同,(除了轴之外),将它们沿着指定的轴拼接起来。例如:" -#: ../../reference/scql_operators.md:54 ../../reference/scql_operators.md:718 -msgid "`T1`: public,private" -msgstr "`T1`: 公开,私有" +#: ../../reference/scql_operators.md:83 +msgid "`In`(variadic, T): Tensors to be concat." +msgstr "`In`(可变参数, T):要连接的 tensor 。" -#: ../../reference/scql_operators.md:56 -msgid "`T2`: unknown" -msgstr "`T2`: 未知" +#: ../../reference/scql_operators.md:88 +msgid "`Out`(single, T): Concated Tensor." +msgstr "`Out`(single, T):整合 tensor 。" -#: ../../reference/scql_operators.md:60 -msgid "`Less`" -msgstr "`Less`" +#: ../../reference/scql_operators.md:92 ../../reference/scql_operators.md:137 +#: ../../reference/scql_operators.md:176 ../../reference/scql_operators.md:238 +#: ../../reference/scql_operators.md:735 ../../reference/scql_operators.md:822 +#: ../../reference/scql_operators.md:983 ../../reference/scql_operators.md:1566 +#: ../../reference/scql_operators.md:1605 +#: ../../reference/scql_operators.md:1685 +msgid "**Attributes:**" +msgstr "**属性:**" -#: ../../reference/scql_operators.md:62 -msgid "Out = Left `Less` Right" -msgstr "Out = Left `Less` Right" +#: ../../reference/scql_operators.md:94 +msgid "`axis`: Int64. Dimension along which to concatenate." +msgstr "`axis`: Int64. 要连接的维度。" -#: ../../reference/scql_operators.md:66 ../../reference/scql_operators.md:96 -#: ../../reference/scql_operators.md:126 ../../reference/scql_operators.md:156 -#: ../../reference/scql_operators.md:186 ../../reference/scql_operators.md:216 -#: ../../reference/scql_operators.md:246 ../../reference/scql_operators.md:276 -#: ../../reference/scql_operators.md:306 ../../reference/scql_operators.md:336 -#: ../../reference/scql_operators.md:366 ../../reference/scql_operators.md:396 -#: ../../reference/scql_operators.md:426 ../../reference/scql_operators.md:456 -#, fuzzy -msgid "`Left`(variadic, T): First operand." -msgstr "`Left`(variadic, T): 第一个操作数。" - -#: ../../reference/scql_operators.md:68 ../../reference/scql_operators.md:98 -#: ../../reference/scql_operators.md:128 ../../reference/scql_operators.md:158 -#: ../../reference/scql_operators.md:188 ../../reference/scql_operators.md:218 -#: ../../reference/scql_operators.md:248 ../../reference/scql_operators.md:278 -#: ../../reference/scql_operators.md:308 ../../reference/scql_operators.md:338 -#: ../../reference/scql_operators.md:368 ../../reference/scql_operators.md:398 -#: ../../reference/scql_operators.md:428 ../../reference/scql_operators.md:458 -#, fuzzy -msgid "`Right`(variadic, T1): Second operand." -msgstr "`Right`(variadic, T1): 第二个操作数。" - -#: ../../reference/scql_operators.md:73 ../../reference/scql_operators.md:103 -#: ../../reference/scql_operators.md:133 ../../reference/scql_operators.md:163 -#: ../../reference/scql_operators.md:193 ../../reference/scql_operators.md:223 -#: ../../reference/scql_operators.md:253 ../../reference/scql_operators.md:283 -#: ../../reference/scql_operators.md:313 ../../reference/scql_operators.md:343 -#: ../../reference/scql_operators.md:373 ../../reference/scql_operators.md:403 -#: ../../reference/scql_operators.md:433 ../../reference/scql_operators.md:463 -#, fuzzy -msgid "`Out`(variadic, T2): Output Tensor." -msgstr "`Out`(variadic, T2):输出 tensor 。" - -#: ../../reference/scql_operators.md:82 ../../reference/scql_operators.md:112 -#: ../../reference/scql_operators.md:142 ../../reference/scql_operators.md:172 -#: ../../reference/scql_operators.md:202 ../../reference/scql_operators.md:232 -#: ../../reference/scql_operators.md:262 ../../reference/scql_operators.md:292 -#: ../../reference/scql_operators.md:322 ../../reference/scql_operators.md:352 -#: ../../reference/scql_operators.md:382 ../../reference/scql_operators.md:412 -#: ../../reference/scql_operators.md:442 ../../reference/scql_operators.md:472 -#: ../../reference/scql_operators.md:1022 -#: ../../reference/scql_operators.md:1399 -msgid "`T`: public,private,secret" -msgstr "`T`: 公开,私有,密态" +#: ../../reference/scql_operators.md:101 ../../reference/scql_operators.md:148 +#: ../../reference/scql_operators.md:748 ../../reference/scql_operators.md:833 +#: ../../reference/scql_operators.md:1614 +#: ../../reference/scql_operators.md:1694 +msgid "**Default Attribute Values:**" +msgstr "**默认属性值:**" -#: ../../reference/scql_operators.md:84 ../../reference/scql_operators.md:114 -#: ../../reference/scql_operators.md:144 ../../reference/scql_operators.md:174 -#: ../../reference/scql_operators.md:204 ../../reference/scql_operators.md:234 -#: ../../reference/scql_operators.md:264 ../../reference/scql_operators.md:294 -#: ../../reference/scql_operators.md:324 ../../reference/scql_operators.md:354 -#: ../../reference/scql_operators.md:384 ../../reference/scql_operators.md:414 -#: ../../reference/scql_operators.md:444 ../../reference/scql_operators.md:474 -#: ../../reference/scql_operators.md:1373 -msgid "`T1`: public,private,secret" -msgstr "`T1`: 公开,私有,密态" +#: ../../reference/scql_operators.md:103 +msgid "`axis`: 0" +msgstr "`axis`: 0" -#: ../../reference/scql_operators.md:86 ../../reference/scql_operators.md:116 -#: ../../reference/scql_operators.md:146 ../../reference/scql_operators.md:176 -#: ../../reference/scql_operators.md:206 ../../reference/scql_operators.md:236 -#: ../../reference/scql_operators.md:266 ../../reference/scql_operators.md:296 -#: ../../reference/scql_operators.md:326 ../../reference/scql_operators.md:356 -#: ../../reference/scql_operators.md:386 ../../reference/scql_operators.md:416 -#: ../../reference/scql_operators.md:446 ../../reference/scql_operators.md:476 -msgid "`T2`: private,secret" -msgstr "`T2`: 私有,密态" +#: ../../reference/scql_operators.md:110 ../../reference/scql_operators.md:1226 +#: ../../reference/scql_operators.md:1260 +#: ../../reference/scql_operators.md:1328 +#: ../../reference/scql_operators.md:1362 +#: ../../reference/scql_operators.md:1396 +#: ../../reference/scql_operators.md:1656 +msgid "`T`: secret" +msgstr "`T`: 私有" -#: ../../reference/scql_operators.md:90 -msgid "`LessEqual`" -msgstr "`LessEqual`" +#: ../../reference/scql_operators.md:114 +msgid "`Constant`" +msgstr "`Constant`" -#: ../../reference/scql_operators.md:92 -msgid "Out = Left `LessEqual` Right" -msgstr "Out = Left `LessEqual` Right" +#: ../../reference/scql_operators.md:116 +msgid "Definition: Make constant from attribute. Example:" +msgstr "定义:根据 Attributes 生成常量。例如:" -#: ../../reference/scql_operators.md:120 -msgid "`Greater`" -msgstr "`Greater`" +#: ../../reference/scql_operators.md:128 ../../reference/scql_operators.md:1557 +msgid "No input parameter." +msgstr "无输入参数。" -#: ../../reference/scql_operators.md:122 -msgid "Out = Left `Greater` Right" -msgstr "Out = Left `Greater` Right" +#: ../../reference/scql_operators.md:133 +msgid "`Out`(single, T): output tensor(shape [M]) from constant." +msgstr "`Out`(single, T):从常量输出 tensor 。" + +#: ../../reference/scql_operators.md:139 +msgid "`scalar`: scalar attribute(with shape [M])" +msgstr "`scalar`:标量属性。" + +#: ../../reference/scql_operators.md:141 +msgid "`to_status`: int64. to status, 0: to private, 1: to public." +msgstr "`to_status`:int64. to status, 0:to private, 1:to public." #: ../../reference/scql_operators.md:150 -msgid "`GreaterEqual`" -msgstr "`GreaterEqual`" +msgid "`to_status`: 0" +msgstr "`to_status`: 0" -#: ../../reference/scql_operators.md:152 -msgid "Out = Left `GreaterEqual` Right" -msgstr "Out = Left `GreaterEqual` Right" +#: ../../reference/scql_operators.md:157 +msgid "`T`: public,private" +msgstr "`T`:公共,私有。" + +#: ../../reference/scql_operators.md:161 +msgid "`Copy`" +msgstr "`Copy`" + +#: ../../reference/scql_operators.md:163 +msgid "" +"Definition: Copy source tensor \"In\" to new tensor \"Out\" on target " +"party" +msgstr "定义:将源 tensor 复制到新的目前 tensor 中。" + +#: ../../reference/scql_operators.md:167 +msgid "`In`(single, T1): source tensor" +msgstr "`In`(single, T1):源 tensor 。" + +#: ../../reference/scql_operators.md:172 +msgid "`Out`(single, T1): target tensor" +msgstr "`Out`(single, T1):目标 tensor 。" + +#: ../../reference/scql_operators.md:178 +msgid "`input_party_codes`: Input tensor `In` belongs to" +msgstr "`input_party_codes`:输入 tensor In 所属方。" #: ../../reference/scql_operators.md:180 -msgid "`Equal`" -msgstr "`Equal`" +msgid "`output_party_codes`: Output tensor `Out` belongs to" +msgstr "`output_party_codes`:输出 tensor Out 所属方。" -#: ../../reference/scql_operators.md:182 -msgid "Out = Left `Equal` Right" -msgstr "Out = Left `Equal` Right" +#: ../../reference/scql_operators.md:189 ../../reference/scql_operators.md:759 +#: ../../reference/scql_operators.md:842 ../../reference/scql_operators.md:1046 +#: ../../reference/scql_operators.md:1625 +msgid "`T1`: private" +msgstr "`T1`: 私有" -#: ../../reference/scql_operators.md:210 -msgid "`NotEqual`" -msgstr "`NotEqual`" +#: ../../reference/scql_operators.md:193 +msgid "`Div`" +msgstr "`Div`" -#: ../../reference/scql_operators.md:212 -msgid "Out = Left `NotEqual` Right" -msgstr "Out = Left `NotEqual` Right" +#: ../../reference/scql_operators.md:195 +msgid "Out = Left `Div` Right" +msgstr "Out = Left `Div` Right" + +#: ../../reference/scql_operators.md:223 +msgid "`DumpFile`" +msgstr "`DumpFile`" + +#: ../../reference/scql_operators.md:225 +msgid "" +"Definition: Dump the input tensor. Note: This op will change the affected" +" rows in the session" +msgstr "定义:将输入的 tensor 存储到文件中。注意:此操作将更改会话中受影响的行。" + +#: ../../reference/scql_operators.md:229 +msgid "`In`(variadic, T): Tensors to be dumped." +msgstr "`In`(可变参数, T):要存储的 tensor。" + +#: ../../reference/scql_operators.md:234 +msgid "`Out`(variadic, T): Tensors have been dumped." +msgstr "`Out`(可变参数, T): 已被转储的 tensor。" #: ../../reference/scql_operators.md:240 -msgid "`LogicalAnd`" -msgstr "`LogicalAnd`" +msgid "`file_path`: String. Absolute file path to dump the tensors." +msgstr "`file_path`:字符串。用于转储 tensor 的绝对文件路径。" #: ../../reference/scql_operators.md:242 -msgid "Out = Left `LogicalAnd` Right" -msgstr "Out = Left `LogicalAnd` Right" +msgid "`deliminator`: String. Column deliminator, e.g. comma `,`" +msgstr "deliminator:字符串。列分隔符,例如逗号。" + +#: ../../reference/scql_operators.md:251 ../../reference/scql_operators.md:352 +#: ../../reference/scql_operators.md:446 ../../reference/scql_operators.md:483 +#: ../../reference/scql_operators.md:520 ../../reference/scql_operators.md:557 +#: ../../reference/scql_operators.md:594 ../../reference/scql_operators.md:631 +#: ../../reference/scql_operators.md:668 ../../reference/scql_operators.md:705 +#: ../../reference/scql_operators.md:757 ../../reference/scql_operators.md:1420 +#: ../../reference/scql_operators.md:1579 +#: ../../reference/scql_operators.md:1734 +msgid "`T`: private" +msgstr "`T`: 私有" -#: ../../reference/scql_operators.md:270 -msgid "`LogicalOr`" -msgstr "`LogicalOr`" +#: ../../reference/scql_operators.md:255 +msgid "`Equal`" +msgstr "`Equal`" -#: ../../reference/scql_operators.md:272 -msgid "Out = Left `LogicalOr` Right" -msgstr "Out = Left `LogicalOr` Right" +#: ../../reference/scql_operators.md:257 +msgid "Out = Left `Equal` Right" +msgstr "Out = Left `Equal` Right" + +#: ../../reference/scql_operators.md:285 +msgid "`Filter`" +msgstr "`Filter`" + +#: ../../reference/scql_operators.md:287 +msgid "" +"Given a boolean tensor Filter (its shape is [M]), and a number of tensors" +" In (variadic, each tensor's shape must be [M]), for i in [0, M-1], keep " +"the In tensors' element if and only if Filter[i] is True, output the " +"filter result tensors Out (variadic). Example:" +msgstr "给定一个boolean tensorsFilter (其 shape 为[M]),以及一些 tensor In (可变参数,每个 tensor 的shape必须为[M])。对于i在[0, M-1]的范围内,仅当Filter[i]为真时,保留In tensor 的元素,并输出过滤结果 tensor Out (可变参数)。例:" #: ../../reference/scql_operators.md:300 -msgid "`Add`" -msgstr "`Add`" +msgid "`Filter`(single, T1): Filter tensor." +msgstr "`Filter`(single, T1):Filter tensor 。" #: ../../reference/scql_operators.md:302 -msgid "Out = Left `Add` Right" -msgstr "Out = Left `Add` Right" +msgid "`In`(variadic, T): Tensors to be filtered." +msgstr "`In`(可变参数, T):待过滤的 tensor 。" -#: ../../reference/scql_operators.md:330 -msgid "`Minus`" -msgstr "`Minus`" +#: ../../reference/scql_operators.md:307 +msgid "`Out`(variadic, T): Output tensor." +msgstr "`Out`(可变参数, T):输出 tensor 。" + +#: ../../reference/scql_operators.md:316 ../../reference/scql_operators.md:1294 +#: ../../reference/scql_operators.md:1454 +#: ../../reference/scql_operators.md:1485 +#: ../../reference/scql_operators.md:1516 +#: ../../reference/scql_operators.md:1547 +#: ../../reference/scql_operators.md:1703 +msgid "`T`: private,secret" +msgstr "`T`私有,密态" -#: ../../reference/scql_operators.md:332 -msgid "Out = Left `Minus` Right" -msgstr "Out = Left `Minus` Right" +#: ../../reference/scql_operators.md:318 +msgid "`T1`: public,private" +msgstr "`T1`: 公开,私有" -#: ../../reference/scql_operators.md:360 -msgid "`Mul`" -msgstr "`Mul`" +#: ../../reference/scql_operators.md:322 +msgid "`FilterByIndex`" +msgstr "`FilterByIndex`" -#: ../../reference/scql_operators.md:362 -msgid "Out = Left `Mul` Right" -msgstr "Out = Left `Mul` Right" +#: ../../reference/scql_operators.md:324 +msgid "Definition: Filter by rows index. Example:" +msgstr "定义:按行索引筛选。例:" -#: ../../reference/scql_operators.md:390 -msgid "`Div`" -msgstr "`Div`" +#: ../../reference/scql_operators.md:336 +msgid "`RowsIndexFilter`(single, T): Rows index filter vector(shape [K][1])." +msgstr "RowsIndexFilter (single, T):行索引筛选器向量(shape [K][1])" -#: ../../reference/scql_operators.md:392 -msgid "Out = Left `Div` Right" -msgstr "Out = Left `Div` Right" +#: ../../reference/scql_operators.md:338 +msgid "`Data`(variadic, T): Input data tensor(shape [M][N])." +msgstr "`Data`(可变参数, T):输入数据 tensor (shape [M][N])。" -#: ../../reference/scql_operators.md:420 -msgid "`IntDiv`" -msgstr "`IntDiv`" +#: ../../reference/scql_operators.md:343 +msgid "`Out`(variadic, T): Output data tensor(shape [X][N])." +msgstr "`Out`(可变参数, T):输出数据 tensor (shape [X][N])。" -#: ../../reference/scql_operators.md:422 -msgid "Out = Left `IntDiv` Right" -msgstr "Out = Left `IntDiv` Right" +#: ../../reference/scql_operators.md:356 +msgid "`Greater`" +msgstr "`Greater`" -#: ../../reference/scql_operators.md:450 -msgid "`Mod`" -msgstr "`Mod`" +#: ../../reference/scql_operators.md:358 +msgid "Out = Left `Greater` Right" +msgstr "Out = Left `Greater` Right" -#: ../../reference/scql_operators.md:452 -msgid "Out = Left `Mod` Right" -msgstr "Out = Left `Mod` Right" +#: ../../reference/scql_operators.md:386 +msgid "`GreaterEqual`" +msgstr "`GreaterEqual`" -#: ../../reference/scql_operators.md:480 -msgid "`MakePublic`" -msgstr "`MakePublic`" +#: ../../reference/scql_operators.md:388 +msgid "Out = Left `GreaterEqual` Right" +msgstr "Out = Left `GreaterEqual` Right" + +#: ../../reference/scql_operators.md:416 +msgid "`Group`" +msgstr "`Group`" + +#: ../../reference/scql_operators.md:418 +msgid "" +"Definition: Assign a group id(start from 0) for each input element. " +"Example:" +msgstr "定义:为每个输入元素分配一个组id(从0开始)。定义:" + +#: ../../reference/scql_operators.md:430 +msgid "`Key`(variadic, T): input key tensors(shape [M][1])." +msgstr "`Key`(可变参数, T): input key tensors。" + +#: ../../reference/scql_operators.md:435 +msgid "`GroupId`(single, T): group id vector(shape [M][1])." +msgstr "`GroupId`(single, T): group id vector。" + +#: ../../reference/scql_operators.md:437 +msgid "`GroupNum`(single, T): number of groups vector(shape [1][1])" +msgstr "`GroupNum`(single, T): number of groups vector" + +#: ../../reference/scql_operators.md:450 +msgid "`GroupAvg`" +msgstr "`GroupAvg`" + +#: ../../reference/scql_operators.md:452 ../../reference/scql_operators.md:489 +#: ../../reference/scql_operators.md:526 ../../reference/scql_operators.md:563 +#: ../../reference/scql_operators.md:600 ../../reference/scql_operators.md:637 +#: ../../reference/scql_operators.md:674 +msgid "Definition: Aggregate `Data` for each group. Example:" +msgstr "定义:为每个组聚合 `Data`。例子:" + +#: ../../reference/scql_operators.md:465 ../../reference/scql_operators.md:502 +#: ../../reference/scql_operators.md:539 ../../reference/scql_operators.md:576 +#: ../../reference/scql_operators.md:613 ../../reference/scql_operators.md:650 +#: ../../reference/scql_operators.md:687 +msgid "`GroupId`(single, T): Input group id vector(shape [M][1])." +msgstr "`GroupId`(single, T): 输入组向量的id。" + +#: ../../reference/scql_operators.md:467 ../../reference/scql_operators.md:504 +#: ../../reference/scql_operators.md:541 ../../reference/scql_operators.md:578 +#: ../../reference/scql_operators.md:615 ../../reference/scql_operators.md:652 +#: ../../reference/scql_operators.md:689 +msgid "`GroupNum`(single, T): Input number of groups vector(shape [1][1])." +msgstr "`GroupNum`(single, T): 输入组向量的个数。" + +#: ../../reference/scql_operators.md:469 ../../reference/scql_operators.md:506 +#: ../../reference/scql_operators.md:543 ../../reference/scql_operators.md:580 +#: ../../reference/scql_operators.md:617 ../../reference/scql_operators.md:654 +#: ../../reference/scql_operators.md:691 +msgid "`In`(variadic, T): Input data tensor(shape [M][1])." +msgstr "`In`(可变参数, T): 输入数据 tensor" + +#: ../../reference/scql_operators.md:474 ../../reference/scql_operators.md:511 +#: ../../reference/scql_operators.md:548 ../../reference/scql_operators.md:585 +#: ../../reference/scql_operators.md:622 ../../reference/scql_operators.md:659 +#: ../../reference/scql_operators.md:696 +msgid "" +"`Out`(variadic, T): Output data tensors(shape [K][1], K equals to number " +"of groups), Out[i] is the agg result for i-th group." +msgstr "`Out`(可变参数, T):输出数据 tensors (shape [K][1], K 等于组的个数), Out[i] 是第 i 组聚合的结果。" -#: ../../reference/scql_operators.md:482 -msgid "Convert In tensor from share/private status to public status." -msgstr "将 tensor 从共享或私有状态转换为公开状态。" +#: ../../reference/scql_operators.md:487 +msgid "`GroupCount`" +msgstr "`GroupCount`" -#: ../../reference/scql_operators.md:486 ../../reference/scql_operators.md:512 -#: ../../reference/scql_operators.md:544 -#, fuzzy -msgid "`In`(variadic, T1): Input tensors." -msgstr "`In`(可变参数, T1):输入 tensor 。" +#: ../../reference/scql_operators.md:524 +msgid "`GroupCountDistinct`" +msgstr "`GroupCountDistinct`" -#: ../../reference/scql_operators.md:491 ../../reference/scql_operators.md:517 -#: ../../reference/scql_operators.md:549 -#, fuzzy -msgid "`Out`(variadic, T2): Output tensors." -msgstr "`Out`(可变参数, T2):输出 tensor 。" +#: ../../reference/scql_operators.md:561 +msgid "`GroupFirstOf`" +msgstr "`GroupFirstOf`" -#: ../../reference/scql_operators.md:500 -msgid "`T1`: private,secret" -msgstr "`T1`: 私有,密态" +#: ../../reference/scql_operators.md:598 +msgid "`GroupMax`" +msgstr "`GroupMax`" -#: ../../reference/scql_operators.md:502 -msgid "`T2`: public" -msgstr "`T2`: 公开" +#: ../../reference/scql_operators.md:635 +msgid "`GroupMin`" +msgstr "`GroupMin`" -#: ../../reference/scql_operators.md:506 -msgid "`MakePrivate`" -msgstr "`MakePrivate`" +#: ../../reference/scql_operators.md:672 +msgid "`GroupSum`" +msgstr "`GroupSum`" -#: ../../reference/scql_operators.md:508 -msgid "Convert In tensor from share status to private status." -msgstr "将 tensor 从共享状态转为私有状态。" +#: ../../reference/scql_operators.md:709 +msgid "`In`" +msgstr "`In`" -#: ../../reference/scql_operators.md:523 +#: ../../reference/scql_operators.md:711 msgid "" -"`reveal_to`: List of parties to see the private data. If it is revealed " -"to one party only, the other party also needs to run the op, but does not" -" have an output. Only the reveal_to party gets the output." +"Definition: Given an input tensor Left (its shape is [M]), and another " +"input tensor Right (its shape is [N]), check whether Left's element " +"exists in Right's elements and output a boolean tensor Out (its shape is " +"[M]). Left and Right must be the same type. Example:" msgstr "" -"`reveal_to`:一个包含可查看私有数据的方的列表。如果只向一方透露,那么另一方也需要运行该操作,但不会有结果。只有被指定为 " -"reveal_to 的一方才能获取结果。" +"定义:给定一个名为 Left 的输入 tensor (其 shape 为 [M]) 和另一个名为 Right 的 Tensor (其 shape 为 [N]),检查 Left 的元素是否存在于右的元素中,并输出一名为 Out 的布尔类型的 tensor (其 shape 为 [M])。左和右必须是相同的类型。例:" -#: ../../reference/scql_operators.md:532 -msgid "`T1`: secret" -msgstr "`T1`: 密态" +#: ../../reference/scql_operators.md:724 +msgid "`Left`(single, T): First operand." +msgstr "`Left`(single, T): 第一个操作数。" -#: ../../reference/scql_operators.md:534 ../../reference/scql_operators.md:615 -msgid "`T2`: private" -msgstr "`T2`: 私有" +#: ../../reference/scql_operators.md:726 +msgid "`Right`(single, T1): Second operand." +msgstr "`Right`(single, T1): 第二个操作数。" -#: ../../reference/scql_operators.md:538 -msgid "`MakeShare`" -msgstr "`MakeShare`" +#: ../../reference/scql_operators.md:731 +msgid "`Out`(single, T): Output Tensor." +msgstr "`Out`(single, T): 输出 tensor 。" -#: ../../reference/scql_operators.md:540 -msgid "Convert In tensor from private status to share status." -msgstr "将 tensor 从私有状态转变为共享状态。" +#: ../../reference/scql_operators.md:737 +msgid "`algorithm`: Int64. Algorithm to use for the op. 1: PSI" +msgstr "`algorithm`:Int64类型, 用于 IN 操作的算法,1表示使用PSI算法。" -#: ../../reference/scql_operators.md:558 ../../reference/scql_operators.md:613 -#: ../../reference/scql_operators.md:681 ../../reference/scql_operators.md:851 -#: ../../reference/scql_operators.md:1024 -msgid "`T1`: private" -msgstr "`T1`: 私有" +#: ../../reference/scql_operators.md:739 +msgid "" +"`input_party_codes`: List of parties the inputs belong to. This attribute" +" is required if algorithm = PSI." +msgstr "`input_party_codes`:参与In操作的输入,其所属的参与方的列表。如果采用 PSI 算法,则需要此属性。" -#: ../../reference/scql_operators.md:560 -msgid "`T2`: secret" -msgstr "`T2`: 密态" +#: ../../reference/scql_operators.md:741 +msgid "" +"`reveal_to`: A party can see the result. This attribute is required if " +"algorithm = PSI." +msgstr "`reveal_to`:可以看到结果的参与方。如果采用 PSI 算法,则需要此属性。" + +#: ../../reference/scql_operators.md:750 +msgid "`algorithm`: 0" +msgstr "`algorithm`: 0" -#: ../../reference/scql_operators.md:564 +#: ../../reference/scql_operators.md:763 +msgid "`IntDiv`" +msgstr "`IntDiv`" + +#: ../../reference/scql_operators.md:765 +msgid "Out = Left `IntDiv` Right" +msgstr "Out = Left `IntDiv` Right" + +#: ../../reference/scql_operators.md:793 msgid "`Join`" msgstr "`Join`" -#: ../../reference/scql_operators.md:566 +#: ../../reference/scql_operators.md:795 msgid "" "Definition: Create Join Index based on EQ-Join, return result's " "corresponding rows index in the original input. Example:" msgstr "定义:基于 EQ-Join 创建连接索引,返回原始输入中结果对应的行索引。例:" -#: ../../reference/scql_operators.md:580 +#: ../../reference/scql_operators.md:809 msgid "`Left`(single, T1): Left vector(shape [M][1])" -msgstr "`Left`(single, T1):Left vector" +msgstr "`Left`(single, T1): Left vector" -#: ../../reference/scql_operators.md:582 +#: ../../reference/scql_operators.md:811 msgid "`Right`(single, T1): Right vector(shape [N][1])" -msgstr "`Right`(single, T1):Right vector" +msgstr "`Right`(single, T1): Right vector" -#: ../../reference/scql_operators.md:587 +#: ../../reference/scql_operators.md:816 msgid "" "`LeftJoinIndex`(single, T2): Joined rows index for left vector(shape " "[K][1])" msgstr "`LeftJoinIndex`(single, T2):参与join操作的左侧向量的行索引。" -#: ../../reference/scql_operators.md:589 +#: ../../reference/scql_operators.md:818 msgid "" "`RightJoinIndex`(single, T2): Joined rows index for right vector(shape " "[K][1])" msgstr "`RightJoinIndex`(single, T2):参与join操作的右向量的行索引。" -#: ../../reference/scql_operators.md:595 +#: ../../reference/scql_operators.md:824 msgid "" "`input_party_codes`: List of parties the inputs belong to([PartyCodeLeft," " PartyCodeRight])." msgstr "`input_party_codes`:输入所属的各方列表([PartyCodeLeft, PartyCodeRight])。" -#: ../../reference/scql_operators.md:597 +#: ../../reference/scql_operators.md:826 msgid "`join_type`: Int64. 0: inner join;" -msgstr "`join_type`:Int64. 0:inner join;" - -#: ../../reference/scql_operators.md:604 ../../reference/scql_operators.md:756 -#: ../../reference/scql_operators.md:840 ../../reference/scql_operators.md:1013 -#: ../../reference/scql_operators.md:1093 -#: ../../reference/scql_operators.md:1434 -msgid "**Default Attribute Values:**" -msgstr "**默认属性值:**" +msgstr "`join_type`: Int64. 0: inner join;" -#: ../../reference/scql_operators.md:606 +#: ../../reference/scql_operators.md:835 msgid "`join_type`: 0" -msgstr "`join_type`:0" +msgstr "`join_type`: 0" -#: ../../reference/scql_operators.md:619 -msgid "`FilterByIndex`" -msgstr "`FilterByIndex`" +#: ../../reference/scql_operators.md:844 ../../reference/scql_operators.md:996 +msgid "`T2`: private" +msgstr "`T2`: private" -#: ../../reference/scql_operators.md:621 -msgid "Definition: Filter by rows index. Example:" -msgstr "定义:按行索引筛选。例:" +#: ../../reference/scql_operators.md:848 +msgid "`Less`" +msgstr "`Less`" -#: ../../reference/scql_operators.md:633 -msgid "`RowsIndexFilter`(single, T): Rows index filter vector(shape [K][1])." -msgstr "RowsIndexFilter (single, T):行索引筛选器向量(shape [K][1])" +#: ../../reference/scql_operators.md:850 +msgid "Out = Left `Less` Right" +msgstr "Out = Left `Less` Right" -#: ../../reference/scql_operators.md:635 -#, fuzzy -msgid "`Data`(variadic, T): Input data tensor(shape [M][N])." -msgstr "`Data`(可变参数, T):输入数据 tensor (shape [M][N])。" +#: ../../reference/scql_operators.md:878 +msgid "`LessEqual`" +msgstr "`LessEqual`" -#: ../../reference/scql_operators.md:640 -#, fuzzy -msgid "`Out`(variadic, T): Output data tensor(shape [X][N])." -msgstr "`Out`(可变参数, T):输出数据 tensor (shape [X][N])。" +#: ../../reference/scql_operators.md:880 +msgid "Out = Left `LessEqual` Right" +msgstr "Out = Left `LessEqual` Right" -#: ../../reference/scql_operators.md:653 -msgid "`Copy`" -msgstr "`Copy`" +#: ../../reference/scql_operators.md:908 +msgid "`LogicalAnd`" +msgstr "`LogicalAnd`" -#: ../../reference/scql_operators.md:655 -msgid "" -"Definition: Copy source tensor \"In\" to new tensor \"Out\" on target " -"party" -msgstr "定义:将源 tensor 复制到新的目前 tensor 中。" +#: ../../reference/scql_operators.md:910 +msgid "Out = Left `LogicalAnd` Right" +msgstr "Out = Left `LogicalAnd` Right" -#: ../../reference/scql_operators.md:659 -msgid "`In`(single, T1): source tensor" -msgstr "`In`(single, T1):源 tensor 。" +#: ../../reference/scql_operators.md:938 +msgid "`LogicalOr`" +msgstr "`LogicalOr`" -#: ../../reference/scql_operators.md:664 -msgid "`Out`(single, T1): target tensor" -msgstr "`Out`(single, T1):目标 tensor 。" +#: ../../reference/scql_operators.md:940 +msgid "Out = Left `LogicalOr` Right" +msgstr "Out = Left `LogicalOr` Right" -#: ../../reference/scql_operators.md:670 -msgid "`input_party_codes`: Input tensor `In` belongs to" -msgstr "`input_party_codes`:输入 tensor In 所属方。" +#: ../../reference/scql_operators.md:968 +msgid "`MakePrivate`" +msgstr "`MakePrivate`" -#: ../../reference/scql_operators.md:672 -msgid "`output_party_codes`: Output tensor `Out` belongs to" -msgstr "`output_party_codes`:输出 tensor Out 所属方。" +#: ../../reference/scql_operators.md:970 +msgid "Convert In tensor from share status to private status." +msgstr "将 tensor 从共享或私有状态转换为公开状态。" -#: ../../reference/scql_operators.md:685 -msgid "`Filter`" -msgstr "`Filter`" +#: ../../reference/scql_operators.md:974 ../../reference/scql_operators.md:1006 +#: ../../reference/scql_operators.md:1032 +msgid "`In`(variadic, T1): Input tensors." +msgstr "`In`(可变参数, T1):输入 tensor 。" -#: ../../reference/scql_operators.md:687 -#, fuzzy +#: ../../reference/scql_operators.md:979 ../../reference/scql_operators.md:1011 +#: ../../reference/scql_operators.md:1037 +msgid "`Out`(variadic, T2): Output tensors." +msgstr "`Out`(可变参数, T2):输出 tensor 。" + +#: ../../reference/scql_operators.md:985 msgid "" -"Given a boolean tensor Filter (its shape is [M]), and a number of tensors" -" In (variadic, each tensor's shape must be [M]), for i in [0, M-1], keep " -"the In tensors' element if and only if Filter[i] is True, output the " -"filter result tensors Out (variadic). Example:" -msgstr "" -"给定一个boolean tensorsFilter (其 shape 为[M]),以及一些 tensor In (可变参数,每个 tensor " -"的shape必须为[M])。对于i在[0, M-1]的范围内,仅当Filter[i]为真时,保留In tensor 的元素,并输出过滤结果 " -"tensor Out (可变参数)。例:" +"`reveal_to`: List of parties to see the private data. If it is revealed " +"to one party only, the other party also needs to run the op, but does not" +" have an output. Only the reveal_to party gets the output." +msgstr "`reveal_to`:一个包含可查看私有数据的方的列表。如果只向一方透露,那么另一方也需要运行该操作,但不会有结果。只有被指定为 reveal_to 的一方才能获取结果。" -#: ../../reference/scql_operators.md:700 -msgid "`Filter`(single, T1): Filter tensor." -msgstr "`Filter`(single, T1):Filter tensor 。" +#: ../../reference/scql_operators.md:994 +msgid "`T1`: secret,public" +msgstr "`T1`: secret,public" -#: ../../reference/scql_operators.md:702 -#, fuzzy -msgid "`In`(variadic, T): Tensors to be filtered." -msgstr "`In`(可变参数, T):待过滤的 tensor 。" +#: ../../reference/scql_operators.md:1000 +msgid "`MakePublic`" +msgstr "`MakePublic`" -#: ../../reference/scql_operators.md:707 -#, fuzzy -msgid "`Out`(variadic, T): Output tensor." -msgstr "`Out`(variadic, T):输出 tensor 。" +#: ../../reference/scql_operators.md:1002 +msgid "Convert In tensor from share/private status to public status." +msgstr "将 tensor 从私有状态转变为共享状态。" -#: ../../reference/scql_operators.md:716 ../../reference/scql_operators.md:882 -#: ../../reference/scql_operators.md:913 ../../reference/scql_operators.md:944 -#: ../../reference/scql_operators.md:978 ../../reference/scql_operators.md:1102 -#: ../../reference/scql_operators.md:1136 -msgid "`T`: private,secret" -msgstr "`T`:private,secret" +#: ../../reference/scql_operators.md:1020 +msgid "`T1`: private,secret" +msgstr "`T1`: 私有,密态" -#: ../../reference/scql_operators.md:722 -msgid "`Constant`" -msgstr "`Constant`" +#: ../../reference/scql_operators.md:1022 +msgid "`T2`: public" +msgstr "`T2`: 公开" -#: ../../reference/scql_operators.md:724 -msgid "Definition: Make constant from attribute. Example:" -msgstr "定义:根据 Attributes 生成常量。例如:" +#: ../../reference/scql_operators.md:1026 +msgid "`MakeShare`" +msgstr "`MakeShare`" -#: ../../reference/scql_operators.md:741 -msgid "`Out`(single, T): output tensor(shape [M]) from constant." -msgstr "`Out`(single, T):从常量输出 tensor " +#: ../../reference/scql_operators.md:1028 +msgid "Convert In tensor from private status to share status." +msgstr "将 tensor 从私有状态转变为共享状态。" -#: ../../reference/scql_operators.md:747 -msgid "`scalar`: scalar attribute(with shape [M])" -msgstr "`scalar`:标量属性" +#: ../../reference/scql_operators.md:1048 +msgid "`T2`: secret" +msgstr "`T2`: 密态" -#: ../../reference/scql_operators.md:749 -msgid "`to_status`: int64. to status, 0: to private, 1: to public." -msgstr "`to_status`:int64. to status, 0:to private, 1:to public." +#: ../../reference/scql_operators.md:1052 +msgid "`Minus`" +msgstr "`Minus`" -#: ../../reference/scql_operators.md:758 -msgid "`to_status`: 0" -msgstr "`to_status`:0" +#: ../../reference/scql_operators.md:1054 +msgid "Out = Left `Minus` Right" +msgstr "Out = Left `Minus` Right" -#: ../../reference/scql_operators.md:765 -msgid "`T`: public,private" -msgstr "`T`:公共,私有" +#: ../../reference/scql_operators.md:1082 +msgid "`Mod`" +msgstr "`Mod`" -#: ../../reference/scql_operators.md:769 -msgid "`DumpFile`" -msgstr "`DumpFile`" +#: ../../reference/scql_operators.md:1084 +msgid "Out = Left `Mod` Right" +msgstr "Out = Left `Mod` Right" + +#: ../../reference/scql_operators.md:1112 +msgid "`Mul`" +msgstr "`Mul`" + +#: ../../reference/scql_operators.md:1114 +msgid "Out = Left `Mul` Right" +msgstr "Out = Left `Mul` Right" + +#: ../../reference/scql_operators.md:1142 +msgid "`Not`" +msgstr "`Not`" + +#: ../../reference/scql_operators.md:1144 +msgid "Out = Not In" +msgstr "Out = Not In" + +#: ../../reference/scql_operators.md:1148 +msgid "`In`(single, T): Input tensor." +msgstr "" + +#: ../../reference/scql_operators.md:1153 +msgid "`Out`(single, T): Output tensor." +msgstr "" + +#: ../../reference/scql_operators.md:1166 +msgid "`NotEqual`" +msgstr "`NotEqual`" + +#: ../../reference/scql_operators.md:1168 +msgid "Out = Left `NotEqual` Right" +msgstr "Out = Left `NotEqual` Right" + +#: ../../reference/scql_operators.md:1196 +msgid "`ObliviousGroupAvg`" +msgstr "`ObliviousGroupAvg`" -#: ../../reference/scql_operators.md:771 +#: ../../reference/scql_operators.md:1198 +#: ../../reference/scql_operators.md:1232 +#: ../../reference/scql_operators.md:1300 +#: ../../reference/scql_operators.md:1334 +#: ../../reference/scql_operators.md:1368 msgid "" -"Definition: Dump the input tensor. Note: This op will change the affected" -" rows in the session" -msgstr "定义:将输入的 tensor 存储到文件中。注意:此操作将更改会话中受影响的行。" +"Definition: partially aggregate `In` according to end of group indicator." +" Example:" +msgstr "定义: 根据 group mask 来对输入进行分组求和。" -#: ../../reference/scql_operators.md:775 -#, fuzzy -msgid "`In`(variadic, T): Tensors to be dumped." -msgstr "`In`(可变参数, T):要存储的 tensor。" +#: ../../reference/scql_operators.md:1210 +#: ../../reference/scql_operators.md:1244 +#: ../../reference/scql_operators.md:1285 +#: ../../reference/scql_operators.md:1312 +#: ../../reference/scql_operators.md:1346 +#: ../../reference/scql_operators.md:1380 +msgid "" +"`Group`(single, T): End of group indicator(shape [M][1]). Element 1 means" +" the row is the last element of the group, 0 is not." +msgstr "`Group`(single, T): 生成的 groupMark (shape [M][1]),其中1表示是该分组中的最后一元素,0则表示不是最后一个元素。" -#: ../../reference/scql_operators.md:780 -#, fuzzy -msgid "`Out`(variadic, T): Tensors have been dumped." -msgstr "`Out`(可变参数, T): 已被转储的 tensor。" +#: ../../reference/scql_operators.md:1212 +#: ../../reference/scql_operators.md:1246 +#: ../../reference/scql_operators.md:1314 +#: ../../reference/scql_operators.md:1348 +#: ../../reference/scql_operators.md:1382 +msgid "`In`(variadic, T): Values to be aggregated (shape [M][1])." +msgstr "`In`(可变参数, T): 需要聚合的值。" -#: ../../reference/scql_operators.md:786 -msgid "`file_path`: String. Absolute file path to dump the tensors." -msgstr "`file_path`:字符串。用于转储 tensor 的绝对文件路径。" +#: ../../reference/scql_operators.md:1217 +#: ../../reference/scql_operators.md:1251 +#: ../../reference/scql_operators.md:1319 +#: ../../reference/scql_operators.md:1353 +#: ../../reference/scql_operators.md:1387 +msgid "`Out`(variadic, T): Partially aggregated values (shape [M][1])." +msgstr "`Out`(可变参数, T): 部分聚合的值。" -#: ../../reference/scql_operators.md:788 -msgid "`deliminator`: String. Column deliminator, e.g. comma `,`" -msgstr "deliminator:字符串。列分隔符,例如逗号" +#: ../../reference/scql_operators.md:1230 +msgid "`ObliviousGroupCount`" +msgstr "`ObliviousGroupCount`" -#: ../../reference/scql_operators.md:801 -msgid "`In`" -msgstr "`In`" +#: ../../reference/scql_operators.md:1264 +msgid "`ObliviousGroupMark`" +msgstr "`ObliviousGroupMark`" -#: ../../reference/scql_operators.md:803 +#: ../../reference/scql_operators.md:1266 msgid "" -"Definition: Given an input tensor Left (its shape is [M]), and another " -"input tensor Right (its shape is [N]), check whether Left's element " -"exists in Right's elements and output a boolean tensor Out (its shape is " -"[M]). Left and Right must be the same type. Example:" -msgstr "" -"定义:给定一个名为 Left 的输入 tensor (其 shape 为 [M]) 和另一个名为 Right 的 Tensor (其 shape " -"为 [N]),检查 Left 的元素是否存在于右的元素中,并输出一名为 Out 的布尔类型的 tensor (其 shape 为 " -"[M])。左和右必须是相同的类型。例:" +"Definition: generate end of group indicator `Group` based on `Key`. The " +"operator calculates Group[i] = not_eq(Key[i+1], Key[i]). Example:" +msgstr "定义:根据输入的 key 生成一个 group ,group 的计算规则为 Group[i] = not_eq(Key[i+1], Key[i])。例:" + +#: ../../reference/scql_operators.md:1280 +msgid "`Key`(variadic, T): Pre-sorted group keys (shape [M][1])." +msgstr "`Key`(可变参数, T): 排序过的 group key。" -#: ../../reference/scql_operators.md:816 -msgid "`Left`(single, T): First operand." -msgstr "`Left`(single, T): 第一个操作数。" +#: ../../reference/scql_operators.md:1298 +msgid "`ObliviousGroupMax`" +msgstr "`ObliviousGroupMax`" -#: ../../reference/scql_operators.md:818 -msgid "`Right`(single, T1): Second operand." -msgstr "`Right`(single, T1): 第二个操作数。" +#: ../../reference/scql_operators.md:1332 +msgid "`ObliviousGroupMin`" +msgstr "`ObliviousGroupMin`" -#: ../../reference/scql_operators.md:823 -msgid "`Out`(single, T): Output Tensor." -msgstr "`Out`(single, T): 输出 tensor 。" +#: ../../reference/scql_operators.md:1366 +msgid "`ObliviousGroupSum`" +msgstr "`ObliviousGroupSum`" -#: ../../reference/scql_operators.md:829 -msgid "`algorithm`: Int64. Algorithm to use for the op. 1: PSI" -msgstr "`algorithm`:Int64类型, 用于 IN 操作的算法,1表示使用PSI算法。" +#: ../../reference/scql_operators.md:1400 +msgid "`Publish`" +msgstr "`Publish`" -#: ../../reference/scql_operators.md:831 -msgid "" -"`input_party_codes`: List of parties the inputs belong to. This attribute" -" is required if algorithm = PSI." -msgstr "`input_party_codes`:参与In操作的输入,其所属的参与方的列表。如果采用 PSI 算法,则需要此属性。" +#: ../../reference/scql_operators.md:1402 +msgid "This operator publishes the DAG results." +msgstr "该算子披露 DAG 结果。" -#: ../../reference/scql_operators.md:833 -msgid "" -"`reveal_to`: A party can see the result. This attribute is required if " -"algorithm = PSI." -msgstr "`reveal_to`:可以看到结果的参与方。如果采用 PSI 算法,则需要此属性。" +#: ../../reference/scql_operators.md:1406 +msgid "`In`(variadic, T): Tensors to be published." +msgstr "`In`(可变参数, T1):要披露的 Tensors。" -#: ../../reference/scql_operators.md:842 -msgid "`algorithm`: 0" -msgstr "`algorithm`: 0" +#: ../../reference/scql_operators.md:1411 +msgid "" +"`Out`(variadic, T): Result tensors of the publish op. Tensors are in " +"TensorOption VALUE." +msgstr "`Out`(可变参数, T2):披露 publish op tensors 结果 。Tensors 位于 TensorOption VALUE 中。" -#: ../../reference/scql_operators.md:855 -msgid "`ReduceSum`" -msgstr "`ReduceSum`" +#: ../../reference/scql_operators.md:1424 +msgid "`ReduceAvg`" +msgstr "`ReduceAvg`" -#: ../../reference/scql_operators.md:857 +#: ../../reference/scql_operators.md:1426 msgid "" -"Definition: Given an input tensor In, return the sum of input tensor's " -"elements. Example:" -msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的总和。例:" +"Definition: Given a input tensor In, return the average of input tensor's" +" elements. Example:" +msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的平均值。例:" -#: ../../reference/scql_operators.md:868 -msgid "`In`(single, T): Tensor to be summed (shape [M])." -msgstr "`In`(single, T):要求和的 tensor 。" +#: ../../reference/scql_operators.md:1440 +msgid "`In`(single, T): Tensor to be reduced (shape [M])." +msgstr "`In`(single, T):需要求平均的 tensor。" -#: ../../reference/scql_operators.md:873 -msgid "`Out`(single, T): The summed Tensor (shape [1])." -msgstr "`Out`(single, T): tensor 的和。" +#: ../../reference/scql_operators.md:1445 +msgid "`Out`(single, T): The average Tensor (shape [1])." +msgstr "`Out`(single, T):平均值 tensor 。" -#: ../../reference/scql_operators.md:886 +#: ../../reference/scql_operators.md:1458 msgid "`ReduceMax`" msgstr "`ReduceMax`" -#: ../../reference/scql_operators.md:888 +#: ../../reference/scql_operators.md:1460 msgid "" "Definition: Given a input tensor In, return the max of input tensor's " "elements. Example:" msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的最大值。例:" -#: ../../reference/scql_operators.md:899 +#: ../../reference/scql_operators.md:1471 msgid "`In`(single, T): Tensor to be maxed (shape [M])." msgstr "`In`(single, T): 需要计算最大值的 tensor。" -#: ../../reference/scql_operators.md:904 +#: ../../reference/scql_operators.md:1476 msgid "`Out`(single, T): The maxed Tensor (shape [1])." msgstr "`Out`(single, T):最大值的 tensor。" -#: ../../reference/scql_operators.md:917 +#: ../../reference/scql_operators.md:1489 msgid "`ReduceMin`" msgstr "`ReduceMin`" -#: ../../reference/scql_operators.md:919 +#: ../../reference/scql_operators.md:1491 msgid "" "Definition: Given a input tensor In, return the min of input tensor's " "elements. Example:" msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的最小值。例:" -#: ../../reference/scql_operators.md:930 +#: ../../reference/scql_operators.md:1502 msgid "`In`(single, T): Tensor to be mined (shape [M])." msgstr "`In`(single, T):需要计算最小值的 tensor。" -#: ../../reference/scql_operators.md:935 +#: ../../reference/scql_operators.md:1507 msgid "`Out`(single, T): The mined Tensor (shape [1])." msgstr "`Out`(single, T):最小值的tensor。" -#: ../../reference/scql_operators.md:948 -msgid "`ReduceAvg`" -msgstr "`ReduceAvg`" - -#: ../../reference/scql_operators.md:950 -msgid "" -"Definition: Given a input tensor In, return the average of input tensor's" -" elements. Example:" -msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的平均值。例:" - -#: ../../reference/scql_operators.md:964 -msgid "`In`(single, T): Tensor to be reduced (shape [M])." -msgstr "`In`(single, T):需要求平均的 tensor。" - -#: ../../reference/scql_operators.md:969 -msgid "`Out`(single, T): The average Tensor (shape [1])." -msgstr "`Out`(single, T):平均 tensor 。" - -#: ../../reference/scql_operators.md:982 -msgid "`Shape`" -msgstr "`Shape`" +#: ../../reference/scql_operators.md:1520 +msgid "`ReduceSum`" +msgstr "`ReduceSum`" -#: ../../reference/scql_operators.md:984 +#: ../../reference/scql_operators.md:1522 msgid "" -"Definition: Given tensors In, return shapes of each tensor. Axis starts " -"from 0. If axis is set, dimensions of each shape are returned. If axis is" -" not set(default -1), shapes are returned. Example:" -msgstr "" -"定义:给定 tensor ,返回每个 tensor 的 shapes,Axis从 0 开始。如果设置了 Axis,则返回每个 shapes " -"的维度。如果未设置 Axis (默认为 -1),则返回 shapes 。例:" - -#: ../../reference/scql_operators.md:995 -#, fuzzy -msgid "`In`(variadic, T): Input Tensors" -msgstr "`In`(可变参数, T):输入 tensor " - -#: ../../reference/scql_operators.md:1000 -#, fuzzy -msgid "`Out`(variadic, T1): Shape Tensors" -msgstr "`Out`(可变参数, T1): 输出 Shape" - -#: ../../reference/scql_operators.md:1006 -msgid "`axis`: Int. Specific dimension of the shape." -msgstr "`axis`: Int. 特定的 shape 维度" - -#: ../../reference/scql_operators.md:1015 -msgid "`axis`: -1" -msgstr "`axis`: -1" - -#: ../../reference/scql_operators.md:1028 -msgid "`Unique`" -msgstr "`Unique`" - -#: ../../reference/scql_operators.md:1030 -msgid "Definition: Unique of Key tensor. Example:" -msgstr "定义:Key tensor 的唯一性。例:" - -#: ../../reference/scql_operators.md:1041 -msgid "`Key`(single, T): Input key tensors(shape [M][1])." -msgstr "`Key`(single, T): 输入 Key tensor(shape [M][1])" - -#: ../../reference/scql_operators.md:1046 -msgid "`UniqueKey`(single, T): Output unique key tensor(shape [K][1])." -msgstr "`UniqueKey`(single, T): 输出唯一 key tensor(shape [K][1])" - -#: ../../reference/scql_operators.md:1059 -msgid "`Sort`" -msgstr "`Sort`" +"Definition: Given an input tensor In, return the sum of input tensor's " +"elements. Example:" +msgstr "定义:给定一个输入 tensor ,返回输入 tensor 元素的总和。例:" -#: ../../reference/scql_operators.md:1061 -msgid "Definition: sort `In` using `Key`. Example:" -msgstr "定义: 使用 `Key` 对输入内容进行排序。例:" +#: ../../reference/scql_operators.md:1533 +msgid "`In`(single, T): Tensor to be summed (shape [M])." +msgstr "`In`(single, T):要求和的 tensor 。" -#: ../../reference/scql_operators.md:1073 -#, fuzzy -msgid "`Key`(variadic, T): Sort Key(shape [M][1])." -msgstr "`Key`(可变参数, T): 排序键" +#: ../../reference/scql_operators.md:1538 +msgid "`Out`(single, T): The summed Tensor (shape [1])." +msgstr "`Out`(single, T): tensor 的和。" -#: ../../reference/scql_operators.md:1075 -#, fuzzy -msgid "`In`(variadic, T): Sort Value(shape [M][1])." -msgstr "`In`(可变参数, T): 所需排序的值。" +#: ../../reference/scql_operators.md:1551 +msgid "`RunSQL`" +msgstr "`RunSQL`" -#: ../../reference/scql_operators.md:1080 -#, fuzzy -msgid "`Out`(variadic, T): Sorted Value(shape [M][1])" -msgstr "`Out`(可变参数, T):排序后的结果。" +#: ../../reference/scql_operators.md:1553 +msgid "Run a SQL statement and return a list of tensors in private status" +msgstr "运行 SQL 语句并返回私有状态下的 tensors 列表" -#: ../../reference/scql_operators.md:1086 -msgid "`reverse`: Bool. If True, the sorted tensor in descending order." -msgstr "`reverse`: Bool, 如果为 True, 则 tensor 按照从大到小的顺序排列。" +#: ../../reference/scql_operators.md:1562 +msgid "`Out`(variadic, T): Result tensors of the SQL statement." +msgstr "Out`(可变参数, T): SQL 语句的结果 tensors。" -#: ../../reference/scql_operators.md:1095 -msgid "`reverse`: false" -msgstr "`reverse`: false" +#: ../../reference/scql_operators.md:1568 +msgid "`sql`: SQL statement" +msgstr "`sql`:SQL 语句" -#: ../../reference/scql_operators.md:1106 -msgid "`ObliviousGroupMark`" -msgstr "`ObliviousGroupMark`" +#: ../../reference/scql_operators.md:1570 +msgid "`table_refs`: tables referenced by query" +msgstr "`table_refs`:query中引用的表" -#: ../../reference/scql_operators.md:1108 -msgid "" -"Definition: generate end of group indicator `Group` based on `Key`. The " -"operator calculates Group[i] = not_eq(Key[i+1], Key[i]). Example:" -msgstr "" -"定义:根据输入的 key 生成一个 group ,group 的计算规则为 Group[i] = not_eq(Key[i+1], " -"Key[i])。例:" +#: ../../reference/scql_operators.md:1583 +msgid "`Shape`" +msgstr "`Shape`" -#: ../../reference/scql_operators.md:1122 -#, fuzzy -msgid "`Key`(variadic, T): Pre-sorted group keys (shape [M][1])." -msgstr "`Key`(可变参数, T): 排序过的 group key。" -#: ../../reference/scql_operators.md:1127 -#: ../../reference/scql_operators.md:1154 -#: ../../reference/scql_operators.md:1188 -#: ../../reference/scql_operators.md:1222 -#: ../../reference/scql_operators.md:1256 -#: ../../reference/scql_operators.md:1290 +#: ../../reference/scql_operators.md:1585 msgid "" -"`Group`(single, T): End of group indicator(shape [M][1]). Element 1 means" -" the row is the last element of the group, 0 is not." -msgstr "" -"`Group`(single, T): 生成的 groupMark (shape [M][1]),其中1表示是该分组中的最后一元素,0则表示不是最后一个元素" - -#: ../../reference/scql_operators.md:1140 -msgid "`ObliviousGroupSum`" -msgstr "`ObliviousGroupSum`" +"Definition: Given tensors In, return shapes of each tensor. Axis starts " +"from 0. If axis is set, dimensions of each shape are returned. If axis is" +" not set(default -1), shapes are returned. Example:" +msgstr "定义:给定 tensor ,返回每个 tensor 的 shapes,Axis从 0 开始。如果设置了 Axis,则返回每个 shapes 的维度。如果未设置 Axis (默认为 -1),则返回 shapes 。例" -#: ../../reference/scql_operators.md:1142 -#: ../../reference/scql_operators.md:1176 -#: ../../reference/scql_operators.md:1210 -#: ../../reference/scql_operators.md:1244 -#: ../../reference/scql_operators.md:1278 -msgid "" -"Definition: partially aggregate `In` according to end of group indicator." -" Example:" -msgstr "定义: 根据 group mask 来对输入进行分组求和。" +#: ../../reference/scql_operators.md:1596 +msgid "`In`(variadic, T): Input Tensors" +msgstr "`In`(可变参数, T1):要披露的 Tensors。" -#: ../../reference/scql_operators.md:1156 -#: ../../reference/scql_operators.md:1190 -#: ../../reference/scql_operators.md:1224 -#: ../../reference/scql_operators.md:1258 -#: ../../reference/scql_operators.md:1292 -#, fuzzy -msgid "`In`(variadic, T): Values to be aggregated (shape [M][1])." -msgstr "`In`(可变参数, T): 需要聚合的值。" -#: ../../reference/scql_operators.md:1161 -#: ../../reference/scql_operators.md:1195 -#: ../../reference/scql_operators.md:1229 -#: ../../reference/scql_operators.md:1263 -#: ../../reference/scql_operators.md:1297 -#, fuzzy -msgid "`Out`(variadic, T): Partially aggregated values (shape [M][1])." -msgstr "`Out`(可变参数, T): 部分聚合的值。" +#: ../../reference/scql_operators.md:1601 +msgid "`Out`(variadic, T1): Shape Tensors" +msgstr "`Out`(可变参数, T1): 输出 Shape" -#: ../../reference/scql_operators.md:1170 -#: ../../reference/scql_operators.md:1204 -#: ../../reference/scql_operators.md:1238 -#: ../../reference/scql_operators.md:1272 -#: ../../reference/scql_operators.md:1306 -#: ../../reference/scql_operators.md:1337 -#: ../../reference/scql_operators.md:1443 -msgid "`T`: secret" -msgstr "`T`: secret" -#: ../../reference/scql_operators.md:1174 -msgid "`ObliviousGroupCount`" -msgstr "`ObliviousGroupCount`" +#: ../../reference/scql_operators.md:1607 +msgid "`axis`: Int64. Specific dimension of the shape." +msgstr "`axis`: Int64. shape 的特定维度。" -#: ../../reference/scql_operators.md:1208 -msgid "`ObliviousGroupMax`" -msgstr "`ObliviousGroupMax`" -#: ../../reference/scql_operators.md:1242 -msgid "`ObliviousGroupMin`" -msgstr "`ObliviousGroupMin`" +#: ../../reference/scql_operators.md:1616 +msgid "`axis`: -1" +msgstr "`axis`: -1" -#: ../../reference/scql_operators.md:1276 -msgid "`ObliviousGroupAvg`" -msgstr "`ObliviousGroupAvg`" -#: ../../reference/scql_operators.md:1310 +#: ../../reference/scql_operators.md:1629 msgid "`Shuffle`" msgstr "`Shuffle`" -#: ../../reference/scql_operators.md:1312 + +#: ../../reference/scql_operators.md:1631 msgid "Definition: Shuffle `In`. Example:" msgstr "定义:Shuffle `In`。例:" -#: ../../reference/scql_operators.md:1323 -#, fuzzy +#: ../../reference/scql_operators.md:1642 msgid "`In`(variadic, T): Input Value(shape [M][1])." msgstr "`In`(可变参数, T):输入值。" -#: ../../reference/scql_operators.md:1328 -#, fuzzy +#: ../../reference/scql_operators.md:1647 msgid "`Out`(variadic, T): Output Value(shape [M][1])" msgstr "`Out`(可变参数, T):输出值。" -#: ../../reference/scql_operators.md:1341 -msgid "`BroadcastTo`" -msgstr "`BroadcastTo`" -#: ../../reference/scql_operators.md:1343 -msgid "" -"Definition: Broadcast Input tensor `In` to the same shape as " -"`ShapeRefTensor`. Example:" -msgstr "将输入的 tensor `In` 广播转变为与 ShapeRefTensor 相同的 shape。例:" +#: ../../reference/scql_operators.md:1660 +msgid "`Sort`" +msgstr "`Sort`" -#: ../../reference/scql_operators.md:1355 -#, fuzzy -msgid "`In`(variadic, T): Input tensor" -msgstr "`In`(可变参数, T):输入 tensor " -#: ../../reference/scql_operators.md:1357 -msgid "`ShapeRefTensor`(single, T1): Shape reference tensor" -msgstr "`ShapeRefTensor`(single, T1):Shape reference tensor" +#: ../../reference/scql_operators.md:1662 +msgid "Definition: sort `In` using `Key`. Example:" +msgstr "定义: 使用 `Key` 对输入内容进行排序。例:" -#: ../../reference/scql_operators.md:1362 -#, fuzzy -msgid "`Out`(variadic, T2): Result tensor" -msgstr "`Out`(可变参数, T2): tensor 结果" +#: ../../reference/scql_operators.md:1674 +msgid "`Key`(variadic, T): Sort Key(shape [M][1])." +msgstr "`Key`(可变参数, T): 排序键" -#: ../../reference/scql_operators.md:1371 -msgid "`T`: public" -msgstr "`T`:公开" -#: ../../reference/scql_operators.md:1375 -msgid "`T2`: public,private" -msgstr "`T2`:公开,私有" +#: ../../reference/scql_operators.md:1676 +msgid "`In`(variadic, T): Sort Value(shape [M][1])." +msgstr "`In`(可变参数, T): 所需排序的值。" -#: ../../reference/scql_operators.md:1379 -msgid "`Not`" -msgstr "`Not`" -#: ../../reference/scql_operators.md:1381 -msgid "Out = Not In" -msgstr "Out = Not In" +#: ../../reference/scql_operators.md:1681 +msgid "`Out`(variadic, T): Sorted Value(shape [M][1])" +msgstr "`Out`(可变参数, T):排序后的结果。" -#: ../../reference/scql_operators.md:1385 -msgid "`In`(single, T): Input tensor." -msgstr "`In`(single, T):输入 tensor ." -#: ../../reference/scql_operators.md:1390 -msgid "`Out`(single, T): Output tensor." -msgstr "`Out`(single, T):输出 tensor 。" +#: ../../reference/scql_operators.md:1687 +msgid "`reverse`: Bool. If True, the sorted tensor in descending order." +msgstr "`reverse`: Bool, 如果为 True, 则 tensor 按照从大到小的顺序排列。" -#: ../../reference/scql_operators.md:1403 -msgid "`Concat`" -msgstr "`Concat`" +#: ../../reference/scql_operators.md:1696 +msgid "`reverse`: false" +msgstr "`reverse`: false" -#: ../../reference/scql_operators.md:1405 -#, fuzzy -msgid "" -"Definition: Given a number of tensors In (variadic, each tensor's shape " -"must be the same except for the axis), concat the In tensors along the " -"axis. Example:" -msgstr "定义:给定多个 tensor (可以有多个,但每个 tensor 的 shape 必须相同,除了某一个轴),将它们沿着这个轴拼接起来。例如:" -#: ../../reference/scql_operators.md:1416 -#, fuzzy -msgid "`In`(variadic, T): Tensors to be concat." -msgstr "`In`(可变参数, T):要连接的 tensor 。" +#: ../../reference/scql_operators.md:1707 +msgid "`Unique`" +msgstr "`Unique`" -#: ../../reference/scql_operators.md:1421 -msgid "`Out`(single, T): Concated Tensor." -msgstr "`Out`(single, T):整合 tensor 。" +#: ../../reference/scql_operators.md:1709 +msgid "Definition: Unique of Key tensor. Example:" +msgstr "定义:Key tensor 的唯一性。例:" -#: ../../reference/scql_operators.md:1427 -msgid "`axis`: Int. Dimension along which to concatenate." -msgstr "`axis`:要连接的维度。" +#: ../../reference/scql_operators.md:1720 +msgid "`Key`(single, T): Input key tensors(shape [M][1])." +msgstr "`Key`(single, T): 输入 Key tensor(shape [M][1])" -#: ../../reference/scql_operators.md:1436 -msgid "`axis`: 0" -msgstr "`axis`:0" +#: ../../reference/scql_operators.md:1725 +msgid "`UniqueKey`(single, T): Output unique key tensor(shape [K][1])." +msgstr "`UniqueKey`(single, T): 输出唯一 key tensor(shape [K][1])" -#~ msgid "`Left`(可变参数, T): First operand." -#~ msgstr "`Left`(可变参数, T):第一个操作数。" +#~ msgid "`In`(variadic, T1): Tensors to be published." +#~ msgstr "" -#~ msgid "`Right`(可变参数, T1): Second operand." -#~ msgstr "`Right`(可变参数, T1):第二个操作数。" +#~ msgid "" +#~ "`Out`(variadic, T2): Result tensors of " +#~ "the publish op. Tensors are in " +#~ "TensorOption VALUE." +#~ msgstr "" -#~ msgid "`Out`(可变参数, T2): Output Tensor." -#~ msgstr "`Out`(可变参数, T2):输出 tensor 。" +#~ msgid "`T2`: unknown" +#~ msgstr "T2`: unknown" -#~ msgid "`Out`(可变参数, T): Output tensor." -#~ msgstr "`Out`(可变参数, T):输出 tensor 。" +#~ msgid "`T1`: secret" +#~ msgstr "`T1`: secret" -#~ msgid "`In`(可变参数, T): Input Tensors" -#~ msgstr "`In`(可变参数, T): 输入 tensor " +#~ msgid "`axis`: Int. Specific dimension of the shape." +#~ msgstr "" +#~ msgid "`axis`: Int. Dimension along which to concatenate." +#~ msgstr "`axis`:要连接的维度。"