Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for h_scale (0.16 sec)

  1. tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc

        "'h_scale' type: 'float'} attr : { name: 'max_classes_per_detection' "
        "type: 'int'} attr : { name: 'max_detections' type: 'int'} attr : { "
        "name: 'nms_iou_threshold' type: 'float'} attr : { name: "
        "'nms_score_threshold' type: 'float'} attr : { name: 'num_classes' type: "
        "'int'} attr : { name: 'w_scale' type: 'float'} attr : { name: 'x_scale' "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:39:37 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

        for (RequantizeState& rescale : rescales) {
          if (rescale.params == quantized_type) {
            rescale.users.emplace_back(op, operand_index);
            return true;
          }
        }
        RequantizeState& rescale = rescales.emplace_back();
        rescale.pos = RequantizeState::ON_OUTPUT;
        rescale.params = quantized_type;
        rescale.users.emplace_back(op, operand_index);
        return true;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/api/resource/quantity.go

    	}
    	return q.i.Sign()
    }
    
    // AsScale returns the current value, rounded up to the provided scale, and returns
    // false if the scale resulted in a loss of precision.
    func (q *Quantity) AsScale(scale Scale) (CanonicalValue, bool) {
    	if q.d.Dec != nil {
    		return q.d.AsScale(scale)
    	}
    	return q.i.AsScale(scale)
    }
    
    // RoundUp updates the quantity to the provided scale, ensuring that the value is at
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 21:48:10 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/quantization/quantization_context.cc

      auto &state = GetResultQuantState(op, res_index);
      if (state.params == params) {
        return false;
      }
      if (!state.IsEmpty()) {
        auto &rescale = GetResultRequantizeState(op, res_index);
        rescale.params = params;
        rescale.pos = RequantizeState::ON_INPUT;
        return false;
      }
      state.params = params;
      return true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  5. pkg/registry/core/replicationcontroller/storage/storage_test.go

    		t.Fatalf("error updating scale %v: %v", update, err)
    	}
    	obj, err := storage.Scale.Get(ctx, name, &metav1.GetOptions{})
    	if err != nil {
    		t.Fatalf("error fetching scale for %s: %v", name, err)
    	}
    	scale := obj.(*autoscaling.Scale)
    	if scale.Spec.Replicas != replicas {
    		t.Errorf("wrong replicas count expected: %d got: %d", replicas, rc.Spec.Replicas)
    	}
    
    	update.ResourceVersion = rc.ResourceVersion
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 06:57:01 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_discovery_controller.go

    				})
    			}
    			if subresources != nil && subresources.Scale != nil {
    				apiResourceDiscovery.Subresources = append(apiResourceDiscovery.Subresources, apidiscoveryv2.APISubresourceDiscovery{
    					Subresource: "scale",
    					ResponseKind: &metav1.GroupVersionKind{
    						Group:   autoscaling.GroupName,
    						Version: "v1",
    						Kind:    "Scale",
    					},
    					Verbs: metav1.Verbs([]string{"get", "patch", "update"}),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 21 11:40:03 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  9. 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)
  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