- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for minMax (0.13 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/calibrator/calibration_algorithm.py
min_value, max_value = mse_min[1], mse_min[2] return min_value, max_value @_implements(_CalibrationMethod.CALIBRATION_METHOD_MIN_MAX) class _MinMax(_CalibrationAlgorithmBase): """MinMaxCalibrationAlgorithm for calculating min and max values of calibration result. MinMax calibration calculates the global min and global max values. global min = min of given sample inputs global max = max of given sample inputs """
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 11 19:29:56 UTC 2024 - 14.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/converter_gen.cc
} os << " return std::nullopt;\n" "}\n"; } // Emits functions that return the min/max operand numbers for a given tflite op // name. // // Signature: // llvm::MinMax mlir::OperandNumbersMinMax(llvm::StringRef op_name) { // if(const auto *op = op_union.AsOptions()) { // return {min, max}; // } // ... // return {0, 0}; // }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 15:05:28 UTC 2023 - 23.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_operator.h
// While the last several tensors could be optional tensors for an tfl op, the // number of input operands could vary. This function gets the min/max number of // operands from tflite op name. llvm::MinMax OperandNumbersMinMax(llvm::StringRef op_name); // Populates the `custom_code` and `custom_options` to attributes. // `custom_code` is used to identify CustomOp.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 21:00:09 UTC 2024 - 11.2K bytes - Viewed (0) -
src/cmd/compile/internal/walk/walk.go
case ir.OCONV: n := n.(*ir.ConvExpr) return ssagen.Arch.SoftFloat && (isSoftFloat(n.Type()) || isSoftFloat(n.X.Type())) case ir.OMIN, ir.OMAX: // string or float requires runtime call, see (*ssagen.state).minmax method. return n.Type().IsString() || n.Type().IsFloat() case ir.OLITERAL, ir.ONIL, ir.ONAME, ir.OLINKSYMOFFSET, ir.OMETHEXPR, ir.OAND, ir.OANDNOT, ir.OLSH, ir.OOR, ir.ORSH, ir.OXOR, ir.OCOMPLEX, ir.OMAKEFACE,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Feb 27 20:56:00 UTC 2024 - 10.4K bytes - Viewed (0) -
internal/s3select/sql/value.go
// assumed to be numeric. Attempts conversion to numeric type for `a` // (first int, then float) only if the underlying values do not have a // type. func (v *Value) minmax(a *Value, isMax, isFirstRow bool) error { err := inferTypeForArithOp(a) if err != nil { return err } if !a.isNumeric() { return errArithMismatchedTypes }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Feb 25 20:31:19 UTC 2022 - 20.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java
int oneBased = ~~(index + 1); // for GWT checkState(oneBased > 0, "negative index"); return (oneBased & EVEN_POWERS_OF_TWO) > (oneBased & ODD_POWERS_OF_TWO); } /** * Returns {@code true} if the MinMax heap structure holds. This is only used in testing. * * <p>TODO(kevinb): move to the test class? */ @VisibleForTesting boolean isIntact() { for (int i = 1; i < size; i++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 34K bytes - Viewed (0) -
guava/src/com/google/common/collect/MinMaxPriorityQueue.java
int oneBased = ~~(index + 1); // for GWT checkState(oneBased > 0, "negative index"); return (oneBased & EVEN_POWERS_OF_TWO) > (oneBased & ODD_POWERS_OF_TWO); } /** * Returns {@code true} if the MinMax heap structure holds. This is only used in testing. * * <p>TODO(kevinb): move to the test class? */ @VisibleForTesting boolean isIntact() { for (int i = 1; i < size; i++) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 34K bytes - Viewed (1) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.cc
return; } auto min_max = GetMinMaxValuesForArgument(func_name, i); // The input min/max or mean/std are not specified, then skip. if (!min_max.first.has_value() || !min_max.second.has_value()) return; TypeAttr params = quant::GetQuantizedTypeAttr( builder, input_type, builder.getF64FloatAttr(min_max.first.value()),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc
return; } auto min_max = GetMinMaxValuesForArgument(func_name, i); // The input min/max or mean/std are not specified, then skip. if (!min_max.first.has_value() || !min_max.second.has_value()) return; TypeAttr params = quant::GetQuantizedTypeAttr( builder, input_type, builder.getF64FloatAttr(min_max.first.value()),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc
if (flag.has_mean_value() && flag.has_std_value()) { TF_ASSIGN_OR_RETURN( auto min_max, InputStatsToMinMax(flag.mean_value(), flag.std_value(), inference_type)); node_mins->push_back(min_max.first); node_maxs->push_back(min_max.second); } else { node_mins->push_back(std::nullopt); node_maxs->push_back(std::nullopt);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:39:37 UTC 2024 - 17.3K bytes - Viewed (0)