Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 143 for 3xcomplex (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/rewrite_util.h

        if (complex_element_ty.isF32()) {
          return DenseElementsAttr::get(
              scalar_ty, static_cast<std::complex<float>>(raw_value));
        } else if (complex_element_ty.isF64()) {
          return DenseElementsAttr::get(
              scalar_ty, static_cast<std::complex<double>>(raw_value));
        }
      }
      llvm_unreachable("unsupported type");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/builtins_test.go

    	{"complex", `_ = complex(1, 0)`, `invalid type`}, // constant
    	{"complex", `var re float32; _ = complex(re, 1.0)`, `func(float32, float32) complex64`},
    	{"complex", `var im float64; _ = complex(1, im)`, `func(float64, float64) complex128`},
    	{"complex", `type F32 float32; var re, im F32; _ = complex(re, im)`, `func(p.F32, p.F32) complex64`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 18:06:31 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/cmd/compile/internal/types2/gcsizes.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 (s *gcSizes) Offsetsof(fields []*Var) []int64 {
    	offsets := make([]int64, len(fields))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. src/text/template/parse/node.go

    			return nil, err
    		}
    		n.IsComplex = true
    		n.simplifyComplex()
    		return n, nil
    	}
    	// Imaginary constants can only be complex unless they are zero.
    	if len(text) > 0 && text[len(text)-1] == 'i' {
    		f, err := strconv.ParseFloat(text[:len(text)-1], 64)
    		if err == nil {
    			n.IsComplex = true
    			n.Complex128 = complex(0, f)
    			n.simplifyComplex()
    			return n, nil
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  10. src/internal/fmtsort/sort.go

    		return cmp.Compare(aVal.String(), bVal.String())
    	case reflect.Float32, reflect.Float64:
    		return cmp.Compare(aVal.Float(), bVal.Float())
    	case reflect.Complex64, reflect.Complex128:
    		a, b := aVal.Complex(), bVal.Complex()
    		if c := cmp.Compare(real(a), real(b)); c != 0 {
    			return c
    		}
    		return cmp.Compare(imag(a), imag(b))
    	case reflect.Bool:
    		a, b := aVal.Bool(), bVal.Bool()
    		switch {
    		case a == b:
    			return 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:31:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top