- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 319 for maxs (0.13 sec)
-
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.cc
maxs[channel_index] = std::max(maxs[channel_index], ele_value); } // Expand range to include 0. for (int i = 0; i < dim_size; ++i) { maxs[i] = std::max(maxs[i], 0.0); mins[i] = std::min(mins[i], 0.0); } if (symmetric) { for (int i = 0; i < dim_size; ++i) { maxs[i] = std::max(std::abs(mins[i]), std::abs(maxs[i])); mins[i] = -maxs[i];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 02:10:16 UTC 2024 - 43.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
SmallVector<double, 4> mins(1, std::numeric_limits<double>::max()); SmallVector<double, 4> maxs(1, std::numeric_limits<double>::min()); // Computes the effective min/max values of the attribute values. quant::ExtractMinMaxFromAttr(attr, /*dim_size=*/1, /*slice_size=*/1, /*symmetric=*/true, mins, maxs); double scale = maxs[0] / -llvm::minIntN(tensor_property.number_of_bits);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_import.cc
auto maxs = tensor.quantization->max; if (mins.size() != maxs.size() || mins.empty()) return nullptr; llvm::SmallVector<llvm::APFloat, 4> min_maxs; min_maxs.reserve(mins.size() * 2); for (int i = 0, end = mins.size(); i < end; ++i) { llvm::APFloat min(mins[i]); llvm::APFloat max(maxs[i]); min_maxs.push_back(min); min_maxs.push_back(max); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 66.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
if (index_and_value.index() % 2 == 0) { mins.push_back(value.convertToFloat()); } else { maxs.push_back(value.convertToFloat()); } } return tflite::CreateQuantizationParameters( builder_, builder_.CreateVector<float>(mins), builder_.CreateVector<float>(maxs), /*scale=*/0, /*zero_point=*/0, tflite::QuantizationDetails_NONE, /*details=*/0,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
* "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#maps">{@code Maps}</a>. * * @author Kevin Bourrillion * @author Mike Bostock * @author Isaac Shum * @author Louis Wasserman * @since 2.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Maps { private Maps() {} private enum EntryFunction implements Function<Entry<?, ?>, @Nullable Object> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 165.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
* "https://github.com/google/guava/wiki/CollectionUtilitiesExplained#maps">{@code Maps}</a>. * * @author Kevin Bourrillion * @author Mike Bostock * @author Isaac Shum * @author Louis Wasserman * @since 2.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Maps { private Maps() {} private enum EntryFunction implements Function<Entry<?, ?>, @Nullable Object> {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sun Jun 02 13:36:19 UTC 2024 - 159.5K bytes - Viewed (0) -
src/internal/trace/mud_test.go
mass += area l, u, ok := mud.approxInvCumulativeSum() inv, ok2 := mud.invCumulativeSum(trackMass) if mass < trackMass { if ok { t.Errorf("approx(%g) = [%g, %g), but mass = %g", trackMass, l, u, mass) } if ok2 { t.Errorf("exact(%g) = %g, but mass = %g", trackMass, inv, mass) } } else { if !ok { t.Errorf("approx(%g) failed, but mass = %g", trackMass, mass) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 2.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
assertEquals(ImmutableSortedMap.of(2, 0), Maps.subMap(map, Range.open(0, 4))); assertEquals(ImmutableSortedMap.of(4, 0), Maps.subMap(map, Range.open(2, 6))); assertEquals(ImmutableSortedMap.of(4, 0, 6, 0), Maps.subMap(map, Range.open(3, 7))); assertEquals(empty, Maps.subMap(map, Range.open(20, 30))); assertEquals(map, Maps.subMap(map, Range.openClosed(0, 12)));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 67.1K bytes - Viewed (0) -
doc/next/6-stdlib/3-iter.md
sub-slices of up to n elements of a slice. The [maps] package adds several functions that work with iterators: - [All](/pkg/maps#All) returns an iterator over key-value pairs from m. - [Keys](/pkg/maps#Keys) returns an iterator over keys in m. - [Values](/pkg/maps#Values) returns an iterator over values in m. - [Insert](/pkg/maps#Insert) adds the key-value pairs from seq to m.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 18:34:13 UTC 2024 - 1.4K bytes - Viewed (0)