Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 88 for tuple (0.2 sec)

  1. docs/em/docs/python-types.md

    #### 🔢 & ⚒
    
    👆 🔜 🎏 📣 `tuple`Ⓜ & `set`Ⓜ:
    
    === "🐍 3️⃣.6️⃣ & 🔛"
    
        ```Python hl_lines="1  4"
        {!> ../../../docs_src/python_types/tutorial007.py!}
        ```
    
    === "🐍 3️⃣.9️⃣ & 🔛"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/python_types/tutorial007_py39.py!}
        ```
    
    👉 ⛓:
    
    * 🔢 `items_t` `tuple` ⏮️ 3️⃣ 🏬, `int`, ➕1️⃣ `int`, & `str`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  2. docs/zh/docs/python-types.md

    注意,变量 `item` 是列表 `items` 中的元素之一。
    
    而且,编辑器仍然知道它是一个 `str`,并为此提供了支持。
    
    #### 元组和集合
    
    声明 `tuple` 和 `set` 的方法也是一样的:
    
    ```Python hl_lines="1  4"
    {!../../../docs_src/python_types/tutorial007.py!}
    ```
    
    这表示:
    
    * 变量 `items_t` 是一个 `tuple`,其中的前两个元素都是 `int` 类型, 最后一个元素是 `str` 类型。
    * 变量 `items_s` 是一个 `set`,其中的每个元素都是 `bytes` 类型。
    
    #### 字典
    
    定义 `dict` 时,需要传入两个子类型,用逗号进行分隔。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  3. api/go1.5.txt

    pkg go/types, method (*Struct) Tag(int) string
    pkg go/types, method (*Struct) Underlying() Type
    pkg go/types, method (*Tuple) At(int) *Var
    pkg go/types, method (*Tuple) Len() int
    pkg go/types, method (*Tuple) String() string
    pkg go/types, method (*Tuple) Underlying() Type
    pkg go/types, method (*TypeName) Exported() bool
    pkg go/types, method (*TypeName) Id() string
    pkg go/types, method (*TypeName) Name() string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  4. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // List of MutatingWebhookConfiguration.
      repeated MutatingWebhookConfiguration items = 2;
    }
    
    // Rule is a tuple of APIGroups, APIVersion, and Resources.It is recommended
    // to make sure that all the tuple expansions are valid.
    message Rule {
      // APIGroups is the API groups the resources belong to. '*' is all groups.
      // If '*' is present, the length of the slice must be one.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  5. api/go1.18.txt

    pkg go/types, func Instantiate(*Context, Type, []Type, bool) (Type, error)
    pkg go/types, func NewContext() *Context
    pkg go/types, func NewSignature //deprecated
    pkg go/types, func NewSignatureType(*Var, []*TypeParam, []*TypeParam, *Tuple, *Tuple, bool) *Signature
    pkg go/types, func NewTerm(bool, Type) *Term
    pkg go/types, func NewTypeParam(*TypeName, Type) *TypeParam
    pkg go/types, func NewUnion([]*Term) *Union
    pkg go/types, method (*ArgumentError) Error() string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 13K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/gradients/custom_gradient_test.cc

    #include "tensorflow/core/platform/test.h"
    
    namespace tensorflow {
    namespace gradients {
    namespace internal {
    namespace {
    using std::vector;
    
    class CustomGradientTest
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/array_grad_test.cc

      // for computing gradient so we could safely drop it.
      outputs[0] = temp_outputs[1];
      temp_outputs[0]->Unref();
      return absl::OkStatus();
    }
    
    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/admissionregistration/v1alpha1/generated.proto

    }
    
    // NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
    // +structType=atomic
    message NamedRuleWithOperations {
      // ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
      // +listType=atomic
      // +optional
      repeated string resourceNames = 1;
    
      // RuleWithOperations is a tuple of Operations and Resources.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 25.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradients_test.cc

    namespace gradients {
    namespace internal {
    namespace {
    using std::vector;
    using tensorflow::TF_StatusPtr;
    using tracing::TracingOperation;
    
    class CppGradients
        : public ::testing::TestWithParam<std::tuple<const char*, bool, bool>> {
     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 7K bytes
    - Viewed (0)
  10. internal/grid/msg.go

    	// Subroute will be 32 bytes long and added before any CRC.
    	FlagSubroute
    )
    
    // This struct cannot be changed and retain backwards compatibility.
    // If changed, endpoint version must be bumped.
    //
    //msgp:tuple message
    type message struct {
    	MuxID      uint64    // Mux to receive message if any.
    	Seq        uint32    // Sequence number.
    	DeadlineMS uint32    // If non-zero, milliseconds until deadline (max 1193h2m47.295s, ~49 days)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Nov 28 19:22:29 GMT 2023
    - 7.3K bytes
    - Viewed (0)
Back to top