Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 723 for ucast (0.05 sec)

  1. guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return cast(type, put(type, value));
      }
    
      @Override
      @CheckForNull
      public <T extends @NonNull B> T getInstance(Class<T> type) {
        return cast(type, get(type));
      }
    
      @CanIgnoreReturnValue
      @CheckForNull
      private static <T> T cast(Class<T> type, @CheckForNull Object value) {
        return Primitives.wrap(type).cast(value);
      }
    
      private Object writeReplace() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

      %accum_zp = "tf.Const"() { value = dense<0> : tensor<i32> } : () -> tensor<i32>
      %quant_input = "tf.Cast"(%input) {} : (tensor<1x9x9x9xi8>) ->
        tensor<1x9x9x9x!tf_type.qint8>
      %quant_filter = "tf.Cast"(%filter) {} : (tensor<3x3x9x10xi8>) ->
        tensor<3x3x9x10x!tf_type.qint8>
      %0 = "tf.UniformQuantizedConvolution"(
        %quant_input, %quant_filter, %input_scale, %input_zp,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc

      // etc.
      constexpr int64_t kLookupTableFindCostScale = 8;
      constexpr int64_t kLookupTableFindStringKeyCostScale = 16;
    
      auto value_type = mlir::cast<mlir::TensorType>(op.getValues().getType());
      auto key_type = mlir::cast<mlir::TensorType>(op.getKeys().getType());
    
      int64_t output_size = InferTensorSize(context, value_type);
    
      int64_t cost = kLookupTableFindCostScale * output_size;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return cast(type, put(type, value));
      }
    
      @Override
      @CheckForNull
      public <T extends @NonNull B> T getInstance(Class<T> type) {
        return cast(type, get(type));
      }
    
      @CanIgnoreReturnValue
      @CheckForNull
      private static <T> T cast(Class<T> type, @CheckForNull Object value) {
        return Primitives.wrap(type).cast(value);
      }
    
      private Object writeReplace() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/legalize_patterns.td

    def LegalizeTopKV2 : Pat<(TF_TopKV2Op $input, $k, $ignored_sorted),
                             (TFL_TopKV2Op $input, $k)>;
    
    def ReductionDimensionIsLastDim : Constraint<CPred<"($0.cast<IntegerAttr>().getInt() == "
      "$1.getType().cast<ShapedType>().getRank() - 1 || $0.cast<IntegerAttr>().getInt() == -1)">>;
    
    // Legalizes TF_ApproxTopKOp to TFL_TopKV2Op with the following constraints:
    //    1. It computes max k
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 04 13:30:42 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/CachingServiceLocator.java

                return Cast.uncheckedNonnullCast(services.get(serviceType));
            }
            T t = delegate.get(serviceType);
            services.put(serviceType, t);
            return t;
        }
    
        @Override
        public synchronized <T> List<T> getAll(Class<T> serviceType) throws UnknownServiceException {
            if (allServices.containsKey(serviceType)) {
                return Cast.uncheckedNonnullCast(allServices.get(serviceType));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:05 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/transforms/optimize.cc

    bool IsLastDimEqualToNumElements(Type type1, Type type2) {
      return (mlir::cast<ShapedType>(type1).getRank() >= 1 &&
              mlir::cast<ShapedType>(type1).getDimSize(
                  mlir::cast<ShapedType>(type1).getRank() - 1) ==
                  mlir::cast<ShapedType>(type2).getNumElements());
    }
    
    bool CanFuseConvOrDepthwiseConvShapes(const ArrayRef<int64_t> filter_shape,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/plugins/ImperativeOnlyPluginTarget.java

        }
    
        @Override
        public void applyImperative(@Nullable String pluginId, Plugin<?> plugin) {
            // TODO validate that the plugin accepts this kind of argument
            Plugin<T> cast = uncheckedCast(plugin);
            cast.apply(target);
        }
    
        @Override
        public void applyRules(@Nullable String pluginId, Class<?> clazz) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 20:42:21 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/quantization/ir/QuantizeUtils.cc

        return nullptr;
      }
      DenseElementsAttr quantDenseAttr =
          convertDenseFPElementsAttr(mlir::cast<DenseFPElementsAttr>(realDenseAttr),
                                     quantizedElementType, converter);
      if (!quantDenseAttr) {
        return nullptr;
      }
    
      // Cast from an expressed-type-based type to storage-type-based type,
      // preserving the sparse shape (i.e. tensor<4xf32> -> tensor<4xi8>).
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

    // TFR function call defines the signatures of the TF ops.
    //
    namespace mlir {
    namespace TFR {
    
    namespace {
    
    // This pattern is to rewrite the "tfr.call" op and the "tfr.cast" ops on the
    // operands by a TF op with "tfr.cast" ops on the results. The result type of
    // the new TF op is an unranked tensor with element type derived.
    class RewriteTFRCallOp : public OpRewritePattern<CallOp> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top