Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 190 for x_scale (0.12 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/tensorflow/tests/quantize_weights.mlir

    // CHECK-DAG: %[[SCALE:.*]] = "tf.Const"() <{value = dense<0.00866141729> : tensor<f32>}> : () -> tensor<f32>
    
    // CHECK-LABEL: func private @composite_dequantize_uniform_
    // CHECK-DAG: %[[SCALE:.*]] = "tf.Const"() <{value = dense<0.00866141729> : tensor<f32>}> : () -> tensor<f32>
    
    // CHECK-LABEL: func private @composite_dequantize_uniform
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 42K bytes
    - Viewed (0)
  3. 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)
  4. cluster/addons/calico-policy-controller/typha-horizontal-autoscaler-role.yaml

      namespace: kube-system
      labels:
        addonmanager.kubernetes.io/mode: Reconcile
    rules:
      - apiGroups: [""]
        resources: ["configmaps"]
        verbs: ["get"]
      - apiGroups: ["apps"]
        resources: ["deployments/scale"]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Dec 13 17:23:39 UTC 2019
    - 329 bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/lite/utils/lstm_utils.h

    // needed to construct the operands for the fused op. The caller provides the
    // containing FuncOp as input with arguments specifying the input, weight,
    // projection, bias and layer norm scale. The weight, projection, bias and
    // layer norm scale all need to be RankedTensorType.
    // This class overrides the layer norm coefficient setters from the base class.
    class ConvertLayerNormalizedLSTMCellSimpleToFusedLSTM
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/testdata/HEAD/apiextensions.k8s.io.v1beta1.CustomResourceDefinition.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. 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)
Back to top