Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 347 for ucast (0.12 sec)

  1. platforms/software/dependency-management/src/main/java/org/gradle/internal/component/resolution/failure/ResolutionCandidateAssessor.java

                        compatible.add(new AssessedAttribute<>(attribute, Cast.uncheckedCast(consumerValue.get()), Cast.uncheckedCast(producerValue.get())));
                    } else {
                        incompatible.add(new AssessedAttribute<>(attribute, Cast.uncheckedCast(consumerValue.get()), Cast.uncheckedCast(producerValue.get())));
                    }
                } else if (consumerValue.isPresent()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 11.4K 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/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)
  4. 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)
  5. tensorflow/compiler/mlir/lite/transforms/dilated_conv.h

          // Expand/Squeeze op must come in pair.
          return rewriter.notifyMatchFailure(
              op, "ExpandDimsOp and SqueezeOp should come in pair");
        }
        expand_op = llvm::cast<TF::ExpandDimsOp>(producer_op);
        squeeze_op = llvm::cast<TF::SqueezeOp>(consumer_op);
        if (!expand_op.getResult().hasOneUse()) {
          return rewriter.notifyMatchFailure(
              expand_op, "result for current op has more than 1 use");
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 20K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

          /*effective_hidden_scale_intermediate=*/mlir::TypeAttr());
    
      // Cast the static shaped lstm result to FuncOp's signature -
      // Ranked but unknown 2nd dimension to support stacking these.
      SmallVector<int64_t, 2> func_output_shape = {1, tensorflow::kTFDynamicSize};
      auto func_result_type = tensorflow::GetTypeFromTFTensorShape(
          func_output_shape,
          mlir::cast<RankedTensorType>(input_.getType()).getElementType());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

    LogicalResult VerifyTensorTypesCompatible(Type t1, Type t2) {
      if (!mlir::isa<TensorType>(t1) || !mlir::isa<TensorType>(t2)) {
        return failure();
      }
      return verifyCompatibleShape(mlir::cast<TensorType>(t1),
                                   mlir::cast<TensorType>(t2));
    }
    
    LogicalResult GlobalTensorOp::verify() {
      GlobalTensorOp global_tensor = *this;
      if (global_tensor.getValue()) {
        if (failed(VerifyTensorTypesCompatible(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

      "SliceDenseIntElementsAttrColumn2D($0.cast<ElementsAttr>(), " # column # " )">;
    
    class SliceDenseIntElementsAttr<string index, string axis> : NativeCodeCall<
      "SliceDenseIntElementsAttr($0.cast<ElementsAttr>(), " # index # ", " # axis # ")">;
    
    // Interior padding attribute based on the TF padding.
    def GetInteriorPadding : NativeCodeCall <
      "GetInteriorPadding($0.cast<ElementsAttr>())">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  9. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFilePropertyFactory.java

            @Override
            public THIS value(@Nullable T value) {
                super.value(value);
                return Cast.uncheckedNonnullCast(this);
            }
    
            @Override
            public THIS value(Provider<? extends T> provider) {
                super.value(provider);
                return Cast.uncheckedNonnullCast(this);
            }
    
            @Override
            public void set(@Nullable File file) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 09:53:33 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/replace_cast_hacks_with_tf_xla_ops.cc

        // This is the argument used to refer to the pass in
        // the textual format (on the commandline for example).
        return "quant-replace-cast-hacks-with-tf-xla-ops";
      }
      StringRef getDescription() const final {
        // This is a brief description of the pass.
        return "Replace mixed-type Conv and Matmul cast hacks with TF XLA ops.";
      }
    
      void runOnOperation() override;
    };
    
    // Generates params for the XLA Convolution op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 47.1K bytes
    - Viewed (0)
Back to top