- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for Complex64 (0.27 sec)
-
tensorflow/cc/gradients/math_grad_test.cc
} float RV(const std::vector<float>& v) { return v[random::New64() % v.size()]; } complex64 CRV(const std::vector<complex64>& v) { return v[random::New64() % v.size()]; } complex64 conjugate(const complex64& val) { return complex64(val.real(), -val.imag()); } Scope scope_; }; TEST_F(CWiseUnaryGradTest, Abs) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 36K bytes - Viewed (0) -
src/internal/types/testdata/check/const1.go
) const ( _ complex64 = - /* ERROR "overflow" */ (maxFloat32 + delta32) _ complex64 = -maxFloat32 _ complex64 = maxFloat32 _ complex64 = maxFloat32 /* ERROR "overflow" */ + delta32 _ = complex64(- /* ERROR "cannot convert" */ (maxFloat32 + delta32)) _ = complex64(-maxFloat32) _ = complex64(maxFloat32) _ = complex64(maxFloat32 /* ERROR "cannot convert" */ + delta32) )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 31 16:11:16 UTC 2023 - 8.5K bytes - Viewed (0) -
src/internal/types/testdata/check/shifts.go
_ = 1<<1075 /* ERROR "invalid shift" */ _ = 2.0<<1 _ = 1<<1.0 _ = 1<<(1+0i) _ int = 2<<s _ float32 = 2<<s _ complex64 = 2<<s _ int = 2.0<<s _ float32 = 2.0<<s _ complex64 = 2.0<<s _ int = 'a'<<s _ float32 = 'a'<<s _ complex64 = 'a'<<s ) } func shifts1() { // basic non-constant shifts var ( i int u uint _ = 1<<0 _ = 1<<i _ = 1<<u
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 17 19:54:27 UTC 2023 - 12.7K bytes - Viewed (0) -
src/cmd/cgo/internal/testcshared/testdata/issue36233/issue36233.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main // #include <complex.h> import "C" //export exportComplex64 func exportComplex64(v complex64) complex64 { return v } //export exportComplex128 func exportComplex128(v complex128) complex128 { return v } //export exportComplexfloat func exportComplexfloat(v C.complexfloat) C.complexfloat {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 601 bytes - Viewed (0) -
tensorflow/cc/framework/gradient_checker.h
/// /// if y = Square(x), where x (and so y) are DT_COMPLEX64, /// <X_T, Y_T, JAC_T> should be <complex64, complex64, float> /// Note that JAC_T is always real-valued, and should be an appropriate /// precision to host the partial derivatives for dy/dx /// /// if y = ComplexAbs(x) where x is DT_COMPLEX64 (so y is DT_FLOAT) /// <X_T, Y_T, JAC_T> should be <complex64, float, float> /// /// if y = Complex(x, x) where x is DT_FLOAT (so y is DT_COMPLEX64)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 15:35:17 UTC 2022 - 2.8K bytes - Viewed (0) -
src/go/types/builtins_test.go
{"imag", `var c complex64; _ = imag(c)`, `func(complex64) float32`}, {"imag", `var c complex128; _ = imag(c)`, `func(complex128) float64`}, {"imag", `type C64 complex64; var c C64; _ = imag(c)`, `func(p.C64) float32`}, {"imag", `type C128 complex128; var c C128; _ = imag(c)`, `func(p.C128) float64`}, {"real", `_ = real(1i)`, `invalid type`}, // constant {"real", `var c complex64; _ = real(c)`, `func(complex64) float32`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 10.9K bytes - Viewed (0) -
src/cmd/compile/internal/types2/builtins_test.go
{"imag", `var c complex64; _ = imag(c)`, `func(complex64) float32`}, {"imag", `var c complex128; _ = imag(c)`, `func(complex128) float64`}, {"imag", `type C64 complex64; var c C64; _ = imag(c)`, `func(p.C64) float32`}, {"imag", `type C128 complex128; var c C128; _ = imag(c)`, `func(p.C128) float64`}, {"real", `_ = real(1i)`, `invalid type`}, // constant {"real", `var c complex64; _ = real(c)`, `func(complex64) float32`},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 20 18:06:31 UTC 2024 - 10.8K bytes - Viewed (0) -
src/internal/types/testdata/check/decls1.go
t6 byte = array[t1] t7 byte = array[x /* ERROR "must be integer" */] t8 *int = & /* ERRORx `cannot use .* variable declaration` */ a t10 *int = &42 /* ERROR "cannot take address" */ t11 *complex64 = &v t12 complex64 = -(u + *t11) / *&v t13 int = a /* ERROR "shifted operand" */ << d t14 int = i << j t15 math /* ERROR "math is not a type" */ t16 math.xxx /* ERROR "undefined" */ t17 math /* ERROR "not a type" */ .Pi
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 05 18:13:11 UTC 2024 - 3.8K bytes - Viewed (0) -
src/strconv/ctoa.go
// It rounds the result assuming that the original was obtained from a complex // value of bitSize bits, which must be 64 for complex64 and 128 for complex128. func FormatComplex(c complex128, fmt byte, prec, bitSize int) string { if bitSize != 64 && bitSize != 128 { panic("invalid bitSize") } bitSize >>= 1 // complex64 uses float32 internally // Check if imaginary part has a sign. If not, add one.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:21:28 UTC 2024 - 1K bytes - Viewed (0) -
src/strconv/atoc.go
} } return err, nil } // ParseComplex converts the string s to a complex number // with the precision specified by bitSize: 64 for complex64, or 128 for complex128. // When bitSize=64, the result still has type complex128, but it will be // convertible to complex64 without changing its value. // // The number represented by s must be of the form N, Ni, or N±Ni, where N stands
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:26 UTC 2024 - 3.1K bytes - Viewed (0)