Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for x_scale (0.16 sec)

  1. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

      // contain zero scale for zero values.
      llvm::SmallVector<double> scales;
      for (float scale : quant_params.scale) {
        if (scale == 0) {
          scales.push_back(std::numeric_limits<float>::min());
          continue;
        }
        scales.push_back(scale);
      }
    
      // Scale size can't be zero as it is checked before.
      if (quant_params.scale.size() != 1) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

          } else {
            new_output_types.push_back(result.getType());
          }
        }
    
        // Remove this rescale op.
        rewriter.replaceOp(op, {pre_quantized});
    
        // Replace the output scale of the preceding op.
        rewriter.setInsertionPointAfter(def);
        OperationState new_state(def->getLoc(), def->getName().getStringRef(),
                                 def->getOperands(), new_output_types,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. pkg/apis/autoscaling/validation/validation.go

    )
    
    // ValidateScale validates a Scale and returns an ErrorList with any errors.
    func ValidateScale(scale *autoscaling.Scale) field.ErrorList {
    	allErrs := field.ErrorList{}
    	allErrs = append(allErrs, apivalidation.ValidateObjectMeta(&scale.ObjectMeta, true, apimachineryvalidation.NameIsDNSSubdomain, field.NewPath("metadata"))...)
    
    	if scale.Spec.Replicas < 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:58:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold_test.cc

      constexpr absl::string_view kModuleCode = R"mlir(
        module {
          func.func @test_fold_constant() -> (tensor<1024x24x24x3xf32>) {
            %zp = "tf.Const"() {value = dense<2> : tensor<i32>} : () -> tensor<i32>
            %scale = "tf.Const"() {value = dense<2.0> : tensor<f32>} : () -> tensor<f32>
            %weight = "tf.Const"() {value = dense<1> : tensor<1024x24x24x3xi8>} : () -> tensor<1024x24x24x3xi8>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

        }
        return success(changed);
      }
    
     private:
      // Checks whether the operation is connected with a composite function.
      // If not, the same-scale op will not be quantized. This decision is based
      // on the current assumption that the performance gain of the same-scale
      // op itself could not beat the overhead of the quantize and dequantize
      // routines need to be added around that op. When the assumption changes,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt

    # CHECK:       quantization: {
    # CHECK:         scale: [ 0.093635 ],
    # CHECK:         zero_point: [ 22 ]
    # CHECK:       }
    # CHECK:     }, {
    # CHECK:       shape: [ 1, 6, 31 ],
    # CHECK:       type: INT8,
    # CHECK:       buffer: 6,
    # CHECK:       name: "output",
    # CHECK:       quantization: {
    # CHECK:         scale: [ 0.093635 ],
    # CHECK:         zero_point: [ 22 ]
    # CHECK:       }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1beta1/generated.proto

    }
    
    // Scale represents a scaling request for a resource.
    message Scale {
      // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 24.1K bytes
    - Viewed (0)
  8. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    		maxValue = int64(float64(maxValue) * r)
    	}
    
    	_, minUnit := measurement.Scale(minValue, o.SampleUnit, "minimum")
    	_, maxUnit := measurement.Scale(maxValue, o.SampleUnit, "minimum")
    
    	unit := minUnit
    	if minUnit != maxUnit && minValue*100 < maxValue && o.OutputFormat != Callgrind {
    		// Minimum and maximum values have different units. Scale
    		// minimum by 100 to use larger units, allowing minimum value to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/apps/v1beta2/generated.proto

    }
    
    // Scale represents a scaling request for a resource.
    message Scale {
      // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/apps/v1beta2/generated.proto

    }
    
    // Scale represents a scaling request for a resource.
    message Scale {
      // Standard object metadata; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 36.6K bytes
    - Viewed (0)
Back to top