Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for w_scale (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h

    namespace mlir::quant::stablehlo {
    
    // Checks whether an op is connected with a quantized 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, this policy might
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/measurement/measurement.go

    		}
    	}
    	return false
    }
    
    // Scale a measurement from a unit to a different unit and returns
    // the scaled value and the target unit. The returned target unit
    // will be empty if uninteresting (could be skipped).
    func Scale(value int64, fromUnit, toUnit string) (float64, string) {
    	// Avoid infinite recursion on overflow.
    	if value < 0 && -value > 0 {
    		v, u := Scale(-value, fromUnit, toUnit)
    		return -v, u
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1/types.go

    )
    
    // +genclient
    // +genclient:method=GetScale,verb=get,subresource=scale,result=k8s.io/api/autoscaling/v1.Scale
    // +genclient:method=UpdateScale,verb=update,subresource=scale,input=k8s.io/api/autoscaling/v1.Scale,result=k8s.io/api/autoscaling/v1.Scale
    // +genclient:method=ApplyScale,verb=apply,subresource=scale,input=k8s.io/api/autoscaling/v1.Scale,result=k8s.io/api/autoscaling/v1.Scale
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/end2end/quant_stats.pbtxt

    # CHECK-NEXT:          scale: [ 0.015686 ],
    # CHECK-NEXT:          zero_point: [ 128 ]
    # CHECK-NEXT:        },
    # CHECK-NEXT:        has_rank: true
    # CHECK-NEXT:      }, {
    # CHECK-NEXT:        shape: [ 4 ],
    # CHECK-NEXT:        type: UINT8,
    # CHECK-NEXT:        buffer: 2,
    # CHECK-NEXT:        name: "input1",
    # CHECK-NEXT:        quantization: {
    # CHECK-NEXT:          scale: [ 0.023529 ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. pkg/controller/statefulset/stateful_set_control_test.go

    	if err := scaleUpStatefulSetControl(set, ssc, om, invariants); err != nil {
    		t.Errorf("Failed to scale StatefulSet : %s", err)
    	}
    	var err error
    	set, err = om.setsLister.StatefulSets(set.Namespace).Get(set.Name)
    	if err != nil {
    		t.Fatalf("Error getting updated StatefulSet: %v", err)
    	}
    	if set.Status.Replicas != 4 {
    		t.Error("Failed to scale statefulset to 4 replicas")
    	}
    	if set.Status.ReadyReplicas != 4 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/importer_test_min_max.cc

            input_tensor->quantization->scale.clear();
            input_tensor->quantization->zero_point.clear();
            input_tensor->quantization->min.push_back(-1.0);
            input_tensor->quantization->max.push_back(1.0);
    
            auto& output_tensor = sub_graph->tensors[op->outputs[0]];
            auto shape = output_tensor->shape;
            output_tensor->quantization->scale.clear();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/autoscaling/v1/zz_generated.prerelease-lifecycle.go

    // It is controlled by "k8s:prerelease-lifecycle-gen:introduced" tags in types.go.
    func (in *Scale) APILifecycleIntroduced() (major, minor int) {
    	return 1, 2
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 1.7K bytes
    - Viewed (0)
Back to top