Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 107 for Scales (0.17 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

        func.func @main(%arg0 : tensor<1xf32>) -> tensor<1xf32> {
          %scales = "tf.Const"() { value = dense<1.0> : tensor<f32> } : () -> tensor<f32>
          %zps = "tf.Const"() { value = dense<3> : tensor<i32> } : () -> tensor<i32>
    
          %0 = "tf.UniformQuantize"(%arg0, %scales, %zps) {
            quantization_axis = -1 : i64, quantization_min_val = -128 : i64, quantization_max_val = 127 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/verify-quant-legalization.mlir

    func.func @illegal_tf_uniform_quantize(%arg0 : tensor<1xf32>) -> tensor<1xf32> {
      %scales = "tf.Const"() { value = dense<1.0> : tensor<f32> } : () -> tensor<f32>
      %zps = "tf.Const"() { value = dense<3> : tensor<i32> } : () -> tensor<i32>
    
      // expected-error@+1 {{'tf.UniformQuantize' op is illegal as it is a UQ op or contains uq/qint types}}
      %0 = "tf.UniformQuantize"(%arg0, %scales, %zps) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 18 18:54:14 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/shape_inference_with_shape_specialization.mlir

        // CHECK-NEXT: return %[[UDQ]] : tensor<1xf32>
        func.func @main(%arg0 : tensor<?xf32>) -> tensor<?xf32> {
          %scales = "tf.Const"() { value = dense<1.0> : tensor<f32> } : () -> tensor<f32>
          %zps = "tf.Const"() { value = dense<3> : tensor<i32> } : () -> tensor<i32>
    
          %0 = "tf.UniformQuantize"(%arg0, %scales, %zps) {
            quantization_axis = -1 : i64, quantization_min_val = -128 : i64, quantization_max_val = 127 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 12:49:45 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow_to_stablehlo/tests/test_tf_to_stablehlo.mlir

        func.func @main(%arg0 : tensor<?xf32>) -> tensor<?xf32> {
          %scales = "tf.Const"() { value = dense<1.0> : tensor<f32> } : () -> tensor<f32>
          %zps = "tf.Const"() { value = dense<3> : tensor<i32> } : () -> tensor<i32>
    
          %0 = "tf.UniformQuantize"(%arg0, %scales, %zps) {
            quantization_axis = -1 : i64, quantization_min_val = -128 : i64, quantization_max_val = 127 : i64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 22:58:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/common/ir/FakeQuantSupport.cc

        }
    
        double scale;
        int64_t nudgedZeroPoint;
        getNudgedScaleAndZeroPoint(qmin, qmax, rmin, rmax, scale, nudgedZeroPoint);
        scales.push_back(scale);
        zeroPoints.push_back(nudgedZeroPoint);
      }
    
      unsigned flags = isSigned ? quant::QuantizationFlags::Signed : 0;
      return quant::UniformQuantizedPerAxisType::getChecked(
          loc, flags, storageType, expressedType, scales, zeroPoints,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 11:52:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.h

    UniformQuantizedPerAxisType CreateI8F32UniformQuantizedPerAxisType(
        Location loc, MLIRContext& context, ArrayRef<double> scales,
        ArrayRef<int64_t> zero_points, int quantization_dimension,
        bool narrow_range = false);
    
    // Creates a `UniformQuantizedPerAxisType` with the given `scales` and
    // `zero_points` values. The produced type has f32 as its expressed type and
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/uniform_quantized_types.cc

          SmallVector<double>(scales), SmallVector<int64_t>(zero_points),
          quantization_dimension,
          /*storageTypeMin=*/llvm::minIntN(8) + (narrow_range ? 1 : 0),
          /*storageTypeMax=*/llvm::maxIntN(8));
    }
    
    UniformQuantizedPerAxisType CreateI32F32UniformQuantizedPerAxisType(
        const Location loc, MLIRContext& context, const ArrayRef<double> scales,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  8. pkg/controller/deployment/recreate.go

    	return false
    }
    
    // scaleUpNewReplicaSetForRecreate scales up new replica set when deployment strategy is "Recreate".
    func (dc *DeploymentController) scaleUpNewReplicaSetForRecreate(ctx context.Context, newRS *apps.ReplicaSet, deployment *apps.Deployment) (bool, error) {
    	scaled, _, err := dc.scaleReplicaSetAndRecordEvent(ctx, newRS, *(deployment.Spec.Replicas), deployment)
    	return scaled, err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 13 20:32:13 UTC 2021
    - 4.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/device_target.h

      OutputInputSameScale,
      OutputInputFreeScale,
      CustomScale,
    };
    
    // Each kernel signature has its own specification for scales.
    struct KernelSpec {
      // Scale constraint
      ScaleConstraintType type;
    
      // Custom function to derive the scales. Only available when the scale
      // constraint is `CustomScale`.
      ScaleFn scale_fn;
    };
    
    class KernelSpecs {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. cluster/addons/dns-horizontal-autoscaler/README.md

    # DNS Horizontal Autoscaler
    
    DNS Horizontal Autoscaler enables horizontal autoscaling feature for DNS service
    in Kubernetes clusters. This autoscaler runs as a Deployment. It collects cluster
    status from the APIServer, horizontally scales the number of DNS backends based
    on demand. Autoscaling parameters could be tuned by modifying the `kube-dns-autoscaler`
    ConfigMap in `kube-system` namespace.
    
    Learn more about:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 13 20:03:37 UTC 2020
    - 596 bytes
    - Viewed (0)
Back to top