Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 262 for 3xcomplex (0.3 sec)

  1. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    }
    
    func.func @mul_complex32(%arg0: tensor<14xcomplex<f32>>, %arg1: tensor<14xcomplex<f32>>) -> tensor<14xcomplex<f32>> {
      %0 = "tf.Mul"(%arg0, %arg1) : (tensor<14xcomplex<f32>>, tensor<14xcomplex<f32>>) -> tensor<14xcomplex<f32>>
      func.return %0: tensor<14xcomplex<f32>>
    
    // CHECK-LABEL: mul_complex32
    // CHECK:  tfl.mul %arg0, %arg1 {fused_activation_function = "NONE"} : tensor<14xcomplex<f32>>
    // CHECK:  return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/conversions.go

    				return true
    			}
    		}
    	}
    
    	// "V and T are both integer or floating point types"
    	if isIntegerOrFloat(Vu) && isIntegerOrFloat(Tu) {
    		return true
    	}
    
    	// "V and T are both complex types"
    	if isComplex(Vu) && isComplex(Tu) {
    		return true
    	}
    
    	// "V is an integer or a slice of bytes or runes and T is a string type"
    	if (isInteger(Vu) || isBytesOrRunes(Vu)) && isString(Tu) {
    		return true
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:51:00 UTC 2024
    - 9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ssa/decompose.go

    				}
    				f.NamedValues[*hiName] = append(f.NamedValues[*hiName], v.Args[0])
    				f.NamedValues[*loName] = append(f.NamedValues[*loName], v.Args[1])
    				toDelete = append(toDelete, namedVal{i, j})
    			}
    		case t.IsComplex():
    			rName, iName := f.SplitComplex(name)
    			newNames = maybeAppend2(f, newNames, rName, iName)
    			for j, v := range f.NamedValues[*name] {
    				if v.Op != OpComplexMake {
    					continue
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 23 21:22:15 UTC 2022
    - 13.4K bytes
    - Viewed (0)
  4. test/fixedbugs/issue4813.go

    // Issue 4813: use of constant floats as indices.
    
    package main
    
    var A [3]int
    var S []int
    var T string
    
    const (
    	i  = 1
    	f  = 2.0
    	f2 = 2.1
    	c  = complex(2, 0)
    	c2 = complex(2, 1)
    )
    
    var (
    	vf = f
    	vc = c
    )
    
    var (
    	a1 = A[i]
    	a2 = A[f]
    	a3 = A[f2] // ERROR "truncated|must be integer"
    	a4 = A[c]
    	a5 = A[c2] // ERROR "truncated|must be integer"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 13 01:18:12 UTC 2013
    - 1.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/strategicpatch/patch_test.go

    		},
    		"add only not nulls": {
    			Original: `{}`,
    			Current:  `{}`,
    			Modified: `{"complex":{"nested":null,"nested2":"foo"}}`,
    
    			ExpectedTwoWay:         `{"complex":{"nested":null,"nested2":"foo"}}`,
    			ExpectedTwoWayResult:   `{"complex":{"nested2":"foo"}}`,
    			ExpectedThreeWay:       `{"complex":{"nested":null,"nested2":"foo"}}`,
    			ExpectedThreeWayResult: `{"complex":{"nested2":"foo"}}`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 16:45:45 UTC 2023
    - 130.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/sizes.go

    		panic("unreachable")
    	}
    	a := s.Sizeof(T) // may be 0 or negative
    	// spec: "For a variable x of any type: unsafe.Alignof(x) is at least 1."
    	if a < 1 {
    		return 1
    	}
    	// complex{64,128} are aligned like [2]float{32,64}.
    	if isComplex(T) {
    		a /= 2
    	}
    	if a > s.MaxAlign {
    		return s.MaxAlign
    	}
    	return a
    }
    
    func IsSyncAtomicAlign64(T Type) bool {
    	named := asNamed(T)
    	if named == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  7. src/fmt/fmt_test.go

    	{"%.1f", complex(posInf, posInf), "(+Inf+Infi)"},
    	{"% f", complex(posInf, posInf), "( Inf+Infi)"},
    	{"% f", complex(negInf, negInf), "(-Inf-Infi)"},
    	{"% f", complex(NaN, NaN), "( NaN+NaNi)"},
    	{"%8e", complex(posInf, posInf), "(    +Inf    +Infi)"},
    	{"%8x", complex(posInf, posInf), "(    +Inf    +Infi)"},
    	{"% 8E", complex(posInf, posInf), "(     Inf    +Infi)"},
    	{"% 8X", complex(posInf, posInf), "(     Inf    +Infi)"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/subr.go

    		if types.SimType[src.Kind()] == types.SimType[dst.Kind()] {
    			return ir.OCONVNOP, ""
    		}
    		return ir.OCONV, ""
    	}
    
    	// 5. src and dst are both complex types.
    	if src.IsComplex() && dst.IsComplex() {
    		if types.SimType[src.Kind()] == types.SimType[dst.Kind()] {
    			return ir.OCONVNOP, ""
    		}
    		return ir.OCONV, ""
    	}
    
    	// Special case for constant conversions: any numeric
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 19:45:58 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  9. test/fixedbugs/bug390.go

    package main
    
    import "unsafe"
    
    func main() {
    	var x *int
    	_ = unsafe.Pointer(x) - unsafe.Pointer(x) // ERROR "(operator|operation) - not defined on unsafe.Pointer|expected integer, floating, or complex type"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 21:28:48 UTC 2020
    - 459 bytes
    - Viewed (0)
  10. testing/internal-integ-testing/src/test/groovy/org/gradle/integtests/fixtures/executer/TaskOrderSpecsTest.groovy

                [':b', ':c', ':a'],
                [':b', ':a', ':c'],
                [':z', ':a', ':c', ':x'],
                [':c', ':z', ':b', ':x', ':a', ':d'],
                []
            ]
        }
    
        def "can match on complex rule (#executedTasks)"() {
            def spec = exact(any(':a', ':b'), any(':c', exact(':d', ':e', ':f')))
    
            when:
            spec.assertMatches(-1, executedTasks)
    
            then:
            noExceptionThrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top