Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for rescale (0.35 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    // -----
    
    // Tests that a float `stablehlo.reshape` is not converted to `tfl.reshape`.
    
    func.func @reshape_float(%arg0: tensor<2x3x4xf32>) -> tensor<6x4xf32> {
      %0 = stablehlo.reshape %arg0 : (tensor<2x3x4xf32>) -> tensor<6x4xf32>
      return %0 : tensor<6x4xf32>
    }
    // CHECK-LABEL: reshape_float
    // CHECK-NOT: tfl.reshape
    // CHECK: stablehlo.reshape
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    // CHECK-LABEL: dynamicReshape
    // CHECK-NEXT:  %[[reshape:.*]] = "tfl.reshape"(%arg0, %arg1) : (tensor<*xf32>, tensor<2xi32>) -> tensor<?x?xf32>
    // CHECK-NEXT:  return %[[reshape]] : tensor<?x?xf32>
    }
    
    func.func @dynamicReshapeI64(%arg0: tensor<*xf32>, %arg1: tensor<2xi64>) -> tensor<?x?xf32> {
      %0 = "tf.Reshape"(%arg0, %arg1) : (tensor<*xf32>, tensor<2xi64>) -> tensor<?x?xf32>
      func.return %0 : tensor<?x?xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    			if quote == '"' {
    				// “The <backslash> shall retain its special meaning as an escape
    				// character … only when followed by one of the following characters
    				// when considered special:”
    				switch c {
    				case '$', '`', '"', '\\', '\n':
    					// Handle the escaped character normally.
    				default:
    					// Not an escape character after all.
    					flag = append(flag, '\\', c)
    					escaped = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      }
      BufferOffset<tflite::QuantizationParameters> q_params = 0;
      if (auto qtype =
              mlir::dyn_cast<mlir::quant::UniformQuantizedType>(element_type)) {
        std::vector<float> scales = {static_cast<float>(qtype.getScale())};
        std::vector<int64_t> zero_points = {qtype.getZeroPoint()};
        q_params = tflite::CreateQuantizationParameters(
            builder_, /*min=*/0, /*max=*/0, builder_.CreateVector<float>(scales),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  5. src/reflect/all_test.go

    	})
    }
    
    type Point struct {
    	x, y int
    }
    
    // This will be index 0.
    func (p Point) AnotherMethod(scale int) int {
    	return -1
    }
    
    // This will be index 1.
    func (p Point) Dist(scale int) int {
    	//println("Point.Dist", p.x, p.y, scale)
    	return p.x*p.x*scale + p.y*p.y*scale
    }
    
    // This will be index 2.
    func (p Point) GCMethod(k int) int {
    	runtime.GC()
    	return k + p.x
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  6. src/cmd/internal/obj/x86/asm6.go

    	P32  = 0x32 // 32-bit only
    	Pe   = 0x66 // operand escape
    	Pm   = 0x0f // 2byte opcode escape
    	Pq   = 0xff // both escapes: 66 0f
    	Pb   = 0xfe // byte operands
    	Pf2  = 0xf2 // xmm escape 1: f2 0f
    	Pf3  = 0xf3 // xmm escape 2: f3 0f
    	Pef3 = 0xf5 // xmm escape 2 with 16-bit prefix: 66 f3 0f
    	Pq3  = 0x67 // xmm escape 3: 66 48 0f
    	Pq4  = 0x68 // xmm escape 4: 66 0F 38
    	Pq4w = 0x69 // Pq4 with Rex.w 66 0F 38
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
Back to top