Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 23 for sameType (0.14 sec)

  1. tensorflow/compiler/mlir/tfr/tests/canonicalize.mlir

      %1 = tfr.constant f32 -> !tfr.attr
      %2 = tfr.constant i32 -> !tfr.attr
      %same_type = tfr.equal %0,%1 -> i1
      %diff_type = tfr.equal %0,%2 -> i1
    
      %3 = tfr.constant "hello" -> !tfr.attr
      %4 = tfr.constant "hello" -> !tfr.attr
      %5 = tfr.constant "how are you" -> !tfr.attr
      %same_str = tfr.equal %3,%4 -> i1
      %diff_str = tfr.equal %3,%5 -> i1
      func.return %same_type, %diff_type, %same_str, %diff_str  : i1, i1, i1, i1
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  2. docs/bn/docs/python-types.md

    * 🚨 `Optional[SomeType]` ব্যবহার এড়িয়ে চলুন।
    * এর পরিবর্তে ✨ **`Union[SomeType, None]` ব্যবহার করুন** ✨।
    
    উভয়ই সমতুল্য এবং মূলে একই, কিন্তু আমি `Union`-এর পক্ষে সুপারিশ করব কারণ "**অপশনাল**" শব্দটি মনে হতে পারে যে মানটি ঐচ্ছিক,অথচ এটি আসলে মানে "এটি হতে পারে `None`", এমনকি যদি এটি ঐচ্ছিক না হয়েও আবশ্যিক হয়।
    
    আমি মনে করি `Union[SomeType, None]` এর অর্থ আরও স্পষ্টভাবে প্রকাশ করে।
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Apr 03 15:34:37 UTC 2024
    - 36K bytes
    - Viewed (0)
  3. docs/vi/docs/python-types.md

    * 🚨 Tránh sử dụng `Optional[SomeType]`
    * Thay vào đó ✨ **sử dụng `Union[SomeType, None]`** ✨.
    
    Cả hai là tương đương và bên dưới chúng giống nhau, nhưng tôi sẽ đễ xuất `Union` thay cho `Optional` vì từ "**tùy chọn**" có vẻ ngầm định giá trị là tùy chọn, và nó thực sự có nghĩa rằng "nó có thể là `None`", do đó nó không phải là tùy chọn và nó vẫn được yêu cầu.
    
    Tôi nghĩ `Union[SomeType, None]` là rõ ràng hơn về ý nghĩa của nó.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. docs/de/docs/python-types.md

        ```
    
    #### `Union` oder `Optional` verwenden?
    
    Wenn Sie eine Python-Version unterhalb 3.10 verwenden, hier ist mein sehr **subjektiver** Standpunkt dazu:
    
    * 🚨 Vermeiden Sie `Optional[SomeType]`
    * Stattdessen ✨ **verwenden Sie `Union[SomeType, None]`** ✨.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:29:25 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  5. src/crypto/x509/verify.go

    // given name, of type nameType. The argument parsedName contains the parsed
    // form of name, suitable for passing to the match function. The total number
    // of comparisons is tracked in the given count and should not exceed the given
    // limit.
    func (c *Certificate) checkNameConstraints(count *int,
    	maxConstraintComparisons int,
    	nameType string,
    	name string,
    	parsedName any,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 22:58:39 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirImportOptimizer.kt

                    val mostOuterTypeQualifier = generateSequence(qualifier) { it.outerTypeQualifier }.last()
                    if (mostOuterTypeQualifier.isQualified) return
    
                    saveType(mostOuterTypeQualifier)
                }
    
                private fun saveType(qualifier: TypeQualifier) {
                    val importableName = qualifier.referencedClassId.asSingleFqName()
                    val referencedByName = qualifier.referencedByName
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  7. src/database/sql/fakedb_test.go

    	stmt.table = parts[0]
    	for n, colspec := range strings.Split(parts[1], ",") {
    		nameType := strings.Split(colspec, "=")
    		if len(nameType) != 2 {
    			stmt.Close()
    			return nil, errf("CREATE table %q has invalid column spec of %q (index %d)", stmt.table, colspec, n)
    		}
    		stmt.colName = append(stmt.colName, nameType[0])
    		stmt.colType = append(stmt.colType, nameType[1])
    	}
    	return stmt, nil
    }
    
    // parts are table|col=?,col2=val
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultResolvedDependencySpec.groovy

            def id = DefaultModuleVersionIdentifier.newId("group", name, "1.2")
            IvyArtifactName artifactStub = Mock() {
                getName() >> name
                getType() >> "someType"
                getExtension() >> "someExt"
                getClassifier() >> null
            }
            def calculatedValueContainerFactory = TestUtil.calculatedValueContainerFactory()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  9. pkg/wasm/convert_test.go

    		TypedConfig: protoconv.MessageToAny(
    			&structpb.Struct{},
    		),
    	},
    	"no-wasm": {
    		Name: "no-wasm",
    		TypedConfig: protoconv.MessageToAny(
    			&udpa.TypedStruct{TypeUrl: resource.APITypePrefix + "sometype"},
    		),
    	},
    	"no-remote-load": buildTypedStructExtensionConfig("no-remote-load", &wasm.Wasm{
    		Config: &v3.PluginConfig{
    			Vm: &v3.PluginConfig_VmConfig{
    				VmConfig: &v3.VmConfig{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/Task.java

     * {@code task} keyword in your build file: </p>
     * <pre>
     * task myTask
     * task myTask { configure closure }
     * task myTask(type: SomeType)
     * task myTask(type: SomeType) { configure closure }
     * </pre>
     *
     * <p>Each task has a name, which can be used to refer to the task within its owning project, and a fully qualified
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 17:25:12 UTC 2024
    - 31.6K bytes
    - Viewed (0)
Back to top