Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,266 for maxs (0.05 sec)

  1. 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)
  2. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h

            mins.push_back(rmin);
            maxs.push_back(rmax);
          }
          quant_type = quantfork::fakeQuantAttrsToType(
              op.getLoc(), num_bits, *op.getAxis(), mins, maxs, narrow_range,
              expressed, is_signed);
          if (legacy_float_scale) {
            quant_type = DownCastScale(quant_type, mins, maxs, op->getLoc());
          }
        } else if (auto stats =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/main/java/org/codelibs/core/collection/Maps.java

         * @return 指定されたキーと値を持つ{@link HashMap}を構築するための{@literal Maps}
         */
        public static <KEY, VALUE> Maps<KEY, VALUE> hashMap(final KEY key, final VALUE value) {
            return new Maps<>(new HashMap<KEY, VALUE>()).$(key, value);
        }
    
        /**
         * 指定されたキーと値を持つ{@link Hashtable}を構築するための{@literal Maps}を返します。
         *
         * @param <KEY>
         *            <code>Map</code>のキーの型
         * @param <VALUE>
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. pkg/maps/maps.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package maps
    
    import "maps" // nolint: depguard
    
    // Equal reports whether two maps contain the same key/value pairs.
    // Values are compared using ==.
    func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool {
    	return maps.Equal(m1, m2)
    }
    
    // Clone returns a copy of the map.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 01 22:48:35 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. src/maps/maps.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Package maps defines various functions useful with maps of any type.
    package maps
    
    import (
    	_ "unsafe"
    )
    
    // Equal reports whether two maps contain the same key/value pairs.
    // Values are compared using ==.
    func Equal[M1, M2 ~map[K]V, K, V comparable](m1 M1, m2 M2) bool {
    	if len(m1) != len(m2) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 28 20:35:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top