- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for calibrate (0.25 sec)
-
src/math/big/calibrate_test.go
// Usage: go test -run='^TestCalibrate$' -v -calibrate package big import ( "flag" "fmt" "testing" "time" ) var calibrate = flag.Bool("calibrate", false, "run calibration test") const ( sqrModeMul = "mul(x, x)" sqrModeBasic = "basicSqr(x)" sqrModeKaratsuba = "karatsubaSqr(x)" ) func TestCalibrate(t *testing.T) { if !*calibrate { return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 05 23:35:29 UTC 2023 - 4.6K bytes - Viewed (0) -
src/unicode/letter_test.go
// of an effective cutoff value. In practice we could probably set it higher // than what this function recommends. var calibrate = flag.Bool("calibrate", false, "compute crossover for linear vs. binary search") func TestCalibrate(t *testing.T) { if !*calibrate { return } if runtime.GOARCH == "amd64" { fmt.Printf("warning: running calibration on %s\n", runtime.GOARCH) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 09 01:46:03 UTC 2023 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/quantization_config.proto
// https://www.tensorflow.org/tutorials/load_data/tfrecord for details on the // TFRecord format. // Next ID: 2 message TfRecordFile { string path = 1; } // Configures a single representative dataset used to calibrate a single // function. // Next ID: 3 message RepresentativeDatasetConfig { oneof file { // Represents representative dataset saved as a .tfrecord file format. TfRecordFile tf_record = 1; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 14.3K bytes - Viewed (0) -
src/unicode/letter.go
// [Upper] [Lower] [Upper] [Lower]. const ( UpperLower = MaxRune + 1 // (Cannot be a valid delta.) ) // linearMax is the maximum size table for linear search for non-Latin1 rune. // Derived by running 'go test -calibrate'. const linearMax = 18 // is16 reports whether r is in the sorted slice of 16-bit ranges. func is16(ranges []Range16, r uint16) bool { if len(ranges) <= linearMax || r <= MaxLatin1 { for i := range ranges {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 20:02:46 UTC 2023 - 10K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.py
from tensorflow.compiler.mlir.quantization.tensorflow import quantization_options_pb2 from tensorflow.compiler.mlir.quantization.tensorflow.calibrator import calibration_algorithm from tensorflow.compiler.mlir.quantization.tensorflow.calibrator import calibration_statistics_pb2 from tensorflow.compiler.mlir.quantization.tensorflow.python import pywrap_function_lib
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 31 05:32:11 UTC 2024 - 27.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/statistics.cc
#include "tsl/platform/statusor.h" namespace stablehlo::quantization { namespace { using ::stablehlo::quantization::CalibrationOptions; using ::tensorflow::calibrator::CalibrationStatistics; using ::tensorflow::calibrator::CalibrationStatisticsMap; using ::tensorflow::quantization::PyFunctionLibrary; using CalibrationStatisticsFlatMap = absl::flat_hash_map<std::string, CalibrationStatistics>; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/statistics.h
#include "tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics.pb.h" #include "tensorflow/compiler/mlir/quantization/tensorflow/python/py_function_lib.h" namespace stablehlo::quantization { // Reads the calibration statistics from the given directory. absl::StatusOr<absl::flat_hash_map< std::string, tensorflow::calibrator::CalibrationStatistics>> ReadStatistics(absl::string_view calibration_data_dir);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/lstm.json
// CHECK-SAME: effective_hidden_scale_intermediate = tensor<*x!quant.calibrated<f32<-5.000000e-01:5.000000e-01>>> // CHECK-SAME: input_to_cell_intermediate = tensor<*x!quant.calibrated<f32<-4.000000e+00:4.000000e+00>>> // CHECK-SAME: input_to_forget_intermediate = tensor<*x!quant.calibrated<f32<-1.600000e+01:1.600000e+01>>> // CHECK-SAME: input_to_input_intermediate = tensor<*x!quant.calibrated<f32<-3.200000e+01:3.200000e+01>>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 06:25:50 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_min_max.cc
#include "tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics_collector_min_max.h" #include <algorithm> #include <cstdint> #include <limits> #include <optional> #include "absl/types/span.h" #include "tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_statistics.pb.h" namespace tensorflow { namespace calibrator { void CalibrationStatisticsCollectorMinMax::ClearData() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 05 03:57:26 UTC 2024 - 2.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/component.h
// Runs calibration on `module_op` and returns a calibrated ModuleOp with // calibrated statistics embedded. absl::StatusOr<ModuleOp> Run( ModuleOp module_op, const ::stablehlo::quantization::QuantizationConfig& config) override; private: // Exports `module_op` to SavedModel at `dst_saved_model_path`. This is used // to export the pre-calibrated `module_op` to SavedModel so that the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 06:31:57 UTC 2024 - 5.4K bytes - Viewed (0)