Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 262 for 3xcomplex (0.36 sec)

  1. src/go/constant/example_test.go

    	negOne := constant.MakeInt64(-1)
    
    	mkComplex := func(a, b constant.Value) constant.Value {
    		b = constant.MakeImag(b)
    		return constant.BinaryOp(a, token.ADD, b)
    	}
    
    	vs := []constant.Value{
    		negOne,
    		mkComplex(zero, negOne),
    		mkComplex(one, negOne),
    		mkComplex(negOne, one),
    		mkComplex(negOne, negOne),
    		zero,
    		mkComplex(zero, zero),
    		one,
    		mkComplex(zero, one),
    		mkComplex(one, one),
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typecheck/universe.go

    	okforarith [types.NTYPE]bool
    )
    
    var builtinFuncs = [...]struct {
    	name string
    	op   ir.Op
    }{
    	{"append", ir.OAPPEND},
    	{"cap", ir.OCAP},
    	{"clear", ir.OCLEAR},
    	{"close", ir.OCLOSE},
    	{"complex", ir.OCOMPLEX},
    	{"copy", ir.OCOPY},
    	{"delete", ir.ODELETE},
    	{"imag", ir.OIMAG},
    	{"len", ir.OLEN},
    	{"make", ir.OMAKE},
    	{"max", ir.OMAX},
    	{"min", ir.OMIN},
    	{"new", ir.ONEW},
    	{"panic", ir.OPANIC},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

      %res2 = "tf.DivNoNan"(%arg0, %comp2) : (tensor<2xcomplex<f32>>, tensor<2xcomplex<f32>>) -> tensor<2xcomplex<f32>>
      %res3 = "tf.MulNoNan"(%arg0, %comp3) : (tensor<2xcomplex<f32>>, tensor<2xcomplex<f32>>) -> tensor<2xcomplex<f32>>
      func.return %res1, %res2, %res3 : tensor<2xcomplex<f32>>, tensor<2xcomplex<f32>>, tensor<2xcomplex<f32>>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

      func.return %0 : tensor<4xcomplex<f32>>
    }
    
    func.func @complex128() -> tensor<4xcomplex<f64>> {
      // CHECK-LABEL: @complex128
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/const.go

    			if r != nil {
    				*rounded = r
    				return true
    			}
    		case UntypedFloat:
    			return true
    		default:
    			panic("unreachable")
    		}
    
    	case isComplex(typ):
    		x := constant.ToComplex(x)
    		if x.Kind() != constant.Complex {
    			return false
    		}
    		switch typ.kind {
    		case Complex64:
    			if rounded == nil {
    				return fitsFloat32(constant.Real(x)) && fitsFloat32(constant.Imag(x))
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 22 19:32:17 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

        tf_device.return
      }) : () -> ()
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/_gen/dec.rules

          mem)
    
    (ComplexReal x:(Load <t> ptr mem)) && t.IsComplex() && t.Size() == 8 => @x.Block (Load <typ.Float32> ptr mem)
    (ComplexImag x:(Load <t> ptr mem)) && t.IsComplex() && t.Size() == 8 => @x.Block (Load <typ.Float32>
          (OffPtr <typ.Float32Ptr> [4] ptr)
          mem)
    
    (ComplexReal x:(Load <t> ptr mem)) && t.IsComplex() && t.Size() == 16 => @x.Block (Load <typ.Float64> ptr mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewritedec.go

    		return true
    	}
    	// match: (ComplexImag x:(Load <t> ptr mem))
    	// cond: t.IsComplex() && t.Size() == 8
    	// result: @x.Block (Load <typ.Float32> (OffPtr <typ.Float32Ptr> [4] ptr) mem)
    	for {
    		x := v_0
    		if x.Op != OpLoad {
    			break
    		}
    		t := x.Type
    		mem := x.Args[1]
    		ptr := x.Args[0]
    		if !(t.IsComplex() && t.Size() == 8) {
    			break
    		}
    		b = x.Block
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 00:48:31 UTC 2023
    - 24.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/shape-attrs.pbtxt

    # CHECK-DAG: tf.IteratorGetNextSync{{.+}}-> (tensor<*xi16>, tensor<3x24xi32>, tensor<?x4x32xi64>)
    # CHECK-DAG: tf.MultiDeviceIteratorGetNextFromShard{{.+}}-> (tensor<5x40xf16>, tensor<*xcomplex<f32>>, tensor<6x48x?xcomplex<f64>>)
    # CHECK-DAG: tf.InfeedDequeueTuple{{.+}}-> (tensor<?x?x?xui16>, tensor<*xui32>, tensor<7x56xui64>)
    # CHECK-DAG: tf.InfeedDequeue{{.+}}-> tensor<?x8x?xi8>
    # CHECK-DAG: tf.InfeedDequeue{{.+}}-> tensor<8x64xui8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Dec 04 18:02:53 UTC 2020
    - 5K bytes
    - Viewed (0)
  10. src/text/template/parse/parse_test.go

    			t.Errorf("did not expect float for %q", test.text)
    		}
    		if test.isComplex {
    			if !n.IsComplex {
    				t.Errorf("expected complex for %q", test.text)
    			}
    			if n.Complex128 != test.complex128 {
    				t.Errorf("complex128 for %q should be %g Is %g", test.text, test.complex128, n.Complex128)
    			}
    		} else if n.IsComplex {
    			t.Errorf("did not expect complex for %q", test.text)
    		}
    	}
    }
    
    type parseTest struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
Back to top