Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for complex_abs (0.37 sec)

  1. tensorflow/compiler/mlir/lite/schema/schema_v3b.fbs

      BATCH_MATMUL = 126,
      PLACEHOLDER_FOR_GREATER_OP_CODES = 127,
      CUMSUM = 128,
      CALL_ONCE = 129,
      BROADCAST_TO = 130,
      RFFT2D = 131,
      CONV_3D = 132,
      IMAG=133,
      REAL=134,
      COMPLEX_ABS=135,
      HASHTABLE = 136,
      HASHTABLE_FIND = 137,
      HASHTABLE_IMPORT = 138,
      HASHTABLE_SIZE = 139,
      REDUCE_ALL = 140,
      CONV_3D_TRANSPOSE = 141,
      VAR_HANDLE = 142,
      READ_VARIABLE = 143,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 14:28:27 UTC 2024
    - 30K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/schema/schema.fbs

      BATCH_MATMUL = 126,
      PLACEHOLDER_FOR_GREATER_OP_CODES = 127,
      CUMSUM = 128,
      CALL_ONCE = 129,
      BROADCAST_TO = 130,
      RFFT2D = 131,
      CONV_3D = 132,
      IMAG=133,
      REAL=134,
      COMPLEX_ABS=135,
      HASHTABLE = 136,
      HASHTABLE_FIND = 137,
      HASHTABLE_IMPORT = 138,
      HASHTABLE_SIZE = 139,
      REDUCE_ALL = 140,
      CONV_3D_TRANSPOSE = 141,
      VAR_HANDLE = 142,
      READ_VARIABLE = 143,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      // CHECK:  return [[BCT]] : tensor<?x?x?x?x?xf32>
    }
    
    func.func @complex_abs(%arg0: tensor<1 x complex<f32>>) -> tensor<1xf32> {
      %0 = "tf.ComplexAbs"(%arg0) : (tensor<1 x complex<f32>>) -> tensor<1xf32>
      func.return %0: tensor<1xf32>
    
    // CHECK-LABEL: complex_abs
    // CHECK:  "tfl.complex_abs"(%arg0) : (tensor<1xcomplex<f32>>) -> tensor<1xf32>
    // 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. tensorflow/compiler/mlir/lite/tests/ops.mlir

      func.return %0 : tensor<?x?x?x?x?xf32>
    }
    
    // -----
    
    // CHECK-LABEL: testComplexAbs
    func.func @testComplexAbs(%arg0: tensor<? x complex<f32>>) -> tensor<?xf32> {
      // CHECK: "tfl.complex_abs"(%arg0)
      %0 = "tfl.complex_abs"(%arg0): (tensor<? x complex<f32>>) -> tensor<?xf32>
      func.return %0 : tensor<?xf32>
    }
    
    // -----
    
    func.func @testComplexAbsUnsupportedType(%arg0: tensor<?xf32>) -> tensor<?xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  5. src/go/parser/testdata/linalg.go2

    	if a < 0 {
    		return -a
    	}
    	return a
    }
    
    // ComplexAbs is a helper type that defines an Abs method for
    // complex types.
    type ComplexAbs[T Complex] T
    
    func (a ComplexAbs[T]) Abs() ComplexAbs[T] {
    	r := float64(real(a))
    	i := float64(imag(a))
    	d := math.Sqrt(r * r + i * i)
    	return ComplexAbs[T](complex(d, 0))
    }
    
    func OrderedAbsDifference[T OrderedNumeric](a, b T) T {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 15:34:22 UTC 2021
    - 2K bytes
    - Viewed (0)
  6. test/typeparam/absdiff.go

    // 	if a < 0 {
    // 		return -a
    // 	}
    // 	return a
    // }
    //
    // // complexAbs is a helper type that defines an Abs method for
    // // complex types.
    // type complexAbs[T Complex] T
    //
    // func (a complexAbs[T]) Abs() complexAbs[T] {
    // 	r := float64(real(a))
    // 	i := float64(imag(a))
    // 	d := math.Sqrt(r*r + i*i)
    // 	return complexAbs[T](complex(d, 0))
    // }
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  7. test/typeparam/absdiffimp.dir/a.go

    // 	if a < 0 {
    // 		return -a
    // 	}
    // 	return a
    // }
    //
    // // complexAbs is a helper type that defines an Abs method for
    // // complex types.
    // type complexAbs[T Complex] T
    //
    // func (a complexAbs[T]) Abs() complexAbs[T] {
    // 	r := float64(real(a))
    // 	i := float64(imag(a))
    // 	d := math.Sqrt(r*r + i*i)
    // 	return complexAbs[T](complex(d, 0))
    // }
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 00:11:24 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/linalg.go

    // 	if a < 0 {
    // 		return -a
    // 	}
    // 	return a
    // }
    // 
    // // ComplexAbs is a helper type that defines an Abs method for
    // // complex types.
    // type ComplexAbs[T Complex] T
    // 
    // func (a ComplexAbs[T]) Abs() ComplexAbs[T] {
    // 	r := float64(real(a))
    // 	i := float64(imag(a))
    // 	d := math.Sqrt(r * r + i * i)
    // 	return ComplexAbs[T](complex(d, 0))
    // }
    // 
    // func OrderedAbsDifference[T OrderedNumeric](a, b T) T {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/syntax/testdata/linalg.go

    	if a < 0 {
    		return -a
    	}
    	return a
    }
    
    // ComplexAbs is a helper type that defines an Abs method for
    // complex types.
    type ComplexAbs[T Complex] T
    
    func (a ComplexAbs[T]) Abs() ComplexAbs[T] {
    	r := float64(real(a))
    	i := float64(imag(a))
    	d := math.Sqrt(r * r + i * i)
    	return ComplexAbs[T](complex(d, 0))
    }
    
    func OrderedAbsDifference[T OrderedNumeric](a, b T) T {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 30 18:02:18 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  10. test/typeparam/absdiffimp2.dir/a.go

    // implications on the spec. See issue #51576.
    // Use accessor method instead.
    
    func (a orderedAbs[T]) Value() T {
    	return a.Value_
    }
    
    // complexAbs is a helper type that defines an Abs method for
    // a struct containing a complex type.
    type complexAbs[T Complex] struct {
    	Value_ T
    }
    
    func realimag(x any) (re, im float64) {
    	switch z := x.(type) {
    	case complex64:
    		re = float64(real(z))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 09 21:26:42 UTC 2022
    - 2.8K bytes
    - Viewed (0)
Back to top