A TUPLE - 翻译成中文

的元组
一个tuple

在 英语 中使用 A tuple 的示例及其翻译为 中文

{-}
  • Political category close
  • Ecclesiastic category close
  • Programming category close
In effect, tuple freezes a list, and list thaws a tuple.
从效果上看,tuple冻结一个list,而list解冻一个tuple
In this example,(404,"Not Found") is a tuple that describes an HTTP status code.
(404,"NotFound")是一个描述了HTTP状态代码的元组
Display and then pass set_mode() a tuple with the width and height of the window we want(800x600 in this case).
Display中的set_mode方法,然后向set_mode()传递包含屏幕窗口宽度和高度的元组(本教程中使用800×600尺寸)。
The broadcasting dimensions can be a tuple that describes how a smaller rank shape is broadcast into a larger rank shape.
广播尺寸可以是描述如何将更小的排列形状广播成更大排列形状的元组
In this example,(404,"Not Found") is a tuple that describes an HTTP status code.
在这里例子中(404,”NotFound”)是一个描述HTTP状态码的元组
To write a tuple containing a single value you have to include a comma, even though there is only one value.
为了编写含有一个单一的值,必须包含逗号,即使只有一个值的元组-.
T-- This is a tuple of 9 elements or struct_time representing a time as returned by gmtime() or localtime() function.
T--这是9个元素或struct_time表示,由gmtime()和localtime()函数返回的时间的元组
The final case, case let(x, y), declares a tuple of two placeholder constants that can match any value.
在最后一个分支caselet(x,y)中,声明了一个可以匹配任何值的有两个占位符常量的元组
Here,<bases> is a tuple with a single element Foo, specifying the parent class that Bar inherits from.
这里,<bases>是一个具有单个元素Foo的元组,指定了Bar继承的父类。
Hence, there are two%s symbols in the string and a tuple of values to insert:(offset, dt).
因此,在字符串中有两个%s符号和一个以进行插入的值的元组:(offset,dt)。
Would be the type of a function which, given a natural number n, returns a tuple of real numbers of size n.
表示这样的函数类型:给定一个自然数n,该函数返回一个大小为n实数元组
The final case, case let(x, y), declares a tuple of two placeholder constants that can match any value.
最后的情况,caselet(x,y),声明了一个带有两个占位符常量的元组,它可以匹配所有的值。
What's actually going on is that each element in the list most_common returns a tuple, a group of values distinguished by order.
实际发生的是,列表most_common中的每个元素返回一个元组,它们是一组按顺序区分的值。
A tuple is a fixed-length container that can hold any values, but cannot be modified(it is immutable).
一个元组是一个固定长度的容器,可以容纳任何值,但不可以被修改(是immutable的)。
You can decompose a tuple's contents into separate constants or variables, which you then access as usual.
你可以将一个元组的内容分解为单独的常量或变量,然后你就可以正常使用它们了:.
In contrast, a tuple is typically a collection of objects of different types, of fixed length.
相反,一个元组通常是不同类型的对象的集合,长度固定。
The mpsc::channel function returns a tuple, the first element of which is the sending end and the second element is the receiving end.
Mpsc::channel函数返回一个元组:第一个元素是发送端,而第二个元素是接收端。
However, you can also specify axis as a tuple, computing a mean over the last two axes, which should be more efficient than reshaping.
但是,你也可以将轴指定为元组,计算最后两个轴的平均值,这应该比重新整形更有效:.
It returns a tuple(or pair), in which the first element contains the input variables for the selected rows, and the second contains the targets.
它会返回一个元组(或配对),其中第一个元素包含所选行的输入变量,第二个元素包含目标,.
In the case of the code sample you posted, it would be much clearer to just return a tuple and append that to the list.
对于您发布的代码示例,只返回一个元组并将其附加到列表中将更加清晰。
结果: 136, 时间: 0.0297

单词翻译

顶级字典查询

英语 - 中文