Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for quantize (0.36 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

            op_set=target_opset,
        )
    
        if target_opset != quant_opts_pb2.XLA:
          # Uniform quantized opset is not supported for weight-only
          with self.assertRaisesRegex(
              ValueError, 'TF/Uniform quantized opset does not support weight-only.'
          ):
            converted_model = quantize_model.quantize(
                input_saved_model_path,
                output_directory,
                quantization_options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    }
    // CHECK-LABEL: uniform_quantize_op_quantized_input
    // CHECK: stablehlo.uniform_quantize
    // CHECK-NOT: tfl.quantize
    
    // -----
    
    // Tests that the pattern doesn't match when the output tensor's storage type
    // is ui16. ui16 storage type for quantized type is not compatible with
    // `tfl.quantize`.
    
    func.func @uniform_quantize_op_uint16_output(%arg: tensor<2x2xf32>) -> tensor<2x2x!quant.uniform<ui16:f32, 3.000000e+0:127>> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

    //   * Input tensors are per-tensor uniform quantized (i8->f32)
    //     tensors (full integer) with shape [..., r_x, c_x] or [..., c_x, r_x].
    //   * The filter tensor is a per-tensor uniform quantized (i8->f32) tensor
    //     (constant or activation) with shape [..., r_y, c_y] or [..., c_y, r_y].
    //   * Output tensors are per-tensor uniform quantized (i8->f32) or
    //     per-channel uniform quantized (i32->f32) tensors.
    //
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/optimize.cc

          if (fc_op.getFilter() != filter) {
            // This filter goes through quantize and dequantize ops. Then we just
            // need to update the weight to the quantize op.
            filter.replaceAllUsesWith(new_filter_op);
          } else {
            // This filter doesn't go through quantize and dequantize ops, Then
            // we update the weight of the affine op directly.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      func.return %0 : tensor<8x8x8x8xf32>
    
      // CHECK-LABEL: fakeQuantArgsFalse
      // CHECK: "tfl.quantize"(%arg0) <{qtype = tensor<8x8x8x8x!quant.uniform<u8:f32, 0.0011764706057660721:85>>}>
      // CHECK: %1 = "tfl.dequantize"(%0) : (tensor<8x8x8x8x!quant.uniform<u8:f32, 0.0011764706057660721:85>>) -> tensor<8x8x8x8xf32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        }]>
      ];
    }
    
    def TFL_QuantizeOp: TFL_Op<"quantize", [
        FirstAttrDerivedResultType,
        SameOperandsAndResultShape, NoMemoryEffect]> {
      let summary = "Quantize operator";
    
      let description = [{
        Converts floating point tensors to quantized integer tensors according to
        the quantization parameters defined in the type attribute.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/ops.mlir

    // CHECK-LABEL: testQuantize
    func.func @testQuantize(tensor<? x f32>) -> tensor<? x !quant.uniform<u8:f32, 0.1:128>> {
    ^bb0(%arg0: tensor<? x f32>):
      // CHECK: %0 = "tfl.quantize"(%arg0) <{qtype = tensor<?x!quant.uniform<u8:f32, 1.000000e-01:128>>}>
      %0 = "tfl.quantize"(%arg0) {qtype = tensor<? x !quant.uniform<u8:f32, 0.1:128>>} : (tensor<? x f32>) -> tensor<? x !quant.uniform<u8:f32, 0.1:128>>
      func.return %0 : tensor<? x !quant.uniform<u8:f32, 0.1:128>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  8. pkg/kubelet/eviction/helpers_test.go

    					Value: evictionapi.ThresholdValue{
    						Quantity: quantityMustParse("150Mi"),
    					},
    					MinReclaim: &evictionapi.ThresholdValue{
    						Quantity: quantityMustParse("0"),
    					},
    				},
    				{
    					Signal:   evictionapi.SignalMemoryAvailable,
    					Operator: evictionapi.OpLessThan,
    					Value: evictionapi.ThresholdValue{
    						Quantity: quantityMustParse("150Mi"),
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/s390x/asmz.go

    	op_PTI     uint32 = 0xB99E // FORMAT_RRE        PROGRAM TRANSFER WITH INSTANCE
    	op_PTLB    uint32 = 0xB20D // FORMAT_S          PURGE TLB
    	op_QADTR   uint32 = 0xB3F5 // FORMAT_RRF2       QUANTIZE (long DFP)
    	op_QAXTR   uint32 = 0xB3FD // FORMAT_RRF2       QUANTIZE (extended DFP)
    	op_RCHP    uint32 = 0xB23B // FORMAT_S          RESET CHANNEL PATH
    	op_RISBG   uint32 = 0xEC55 // FORMAT_RIE6       ROTATE THEN INSERT SELECTED BITS
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  10. pkg/controller/podautoscaler/horizontal_test.go

    	CPUTarget                    int32
    	CPUCurrent                   int32
    	verifyCPUCurrent             bool
    	reportedLevels               []uint64
    	reportedCPURequests          []resource.Quantity
    	reportedPodReadiness         []v1.ConditionStatus
    	reportedPodStartTime         []metav1.Time
    	reportedPodPhase             []v1.PodPhase
    	reportedPodDeletionTimestamp []bool
    	scaleUpdated                 bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 199.3K bytes
    - Viewed (0)
Back to top