Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for getWho (0.12 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize.cc

        if (!dot.getLhs().getType().hasStaticShape() ||
            !dot.getRhs().getType().hasStaticShape())
          return rewriter.notifyMatchFailure(
              dot, "all dot_general operands must be statically shaped");
        if (dot.getLhs().getType().getElementType() !=
                first_dot.getLhs().getType().getElementType() ||
            dot.getRhs().getType().getElementType() !=
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc

      StringAttr conv_padding = op.getPaddingAttr();
      SmallVector<int64_t> padding_nums;
      ShapedType lhs_shape = mlir::cast<ShapedType>(op.getLhs().getType());
      ShapedType rhs_shape = mlir::cast<ShapedType>(op.getRhs().getType());
    
      // Handle only static shape cases.
      // TODO(b/260284866): Handle dynamic shape cases.
      if (!lhs_shape.hasStaticShape()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        if (!mlir::cast<ShapedType>(conv_op.getRhs().getType()).hasStaticShape()) {
          return false;
        }
        if (!mlir::cast<ShapedType>(conv_op.getLhs().getType()).hasStaticShape() &&
            !mlir::cast<ShapedType>(conv_op.getType()).hasStaticShape()) {
          auto dnums = conv_op.getDimensionNumbers();
          auto lhs_type = mlir::cast<ShapedType>(conv_op.getLhs().getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

    }
    
    template <typename Op, typename ElementType = Type, typename ValType,
              typename Convert>
    static Attribute BinaryFolder(Op *op) {
      auto lhs_op = op->getLhs().template getDefiningOp<mhlo::ConstantOp>();
      auto rhs_op = op->getRhs().template getDefiningOp<mhlo::ConstantOp>();
      if (!lhs_op || !lhs_op) return {};
    
      auto lhs = dyn_cast_or_null<DenseElementsAttr>(lhs_op.getValue());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        Value constant_val = add_op ? add_op.getRhs() : sub_op.getRhs();
        if (!matchPattern(constant_val, m_Constant(&added_value))) return failure();
    
        // Check the add op is applied to begin.
        mlir::TypedValue<::mlir::TensorType> begin_tensor =
            strided_slice_op.getBegin();
        mlir::TypedValue<::mlir::TensorType> add_source_tensor =
            add_op ? add_op.getLhs() : sub_op.getLhs();
        if (begin_tensor != add_source_tensor) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc

      }
    
      const auto input_type = op.getLhs().getType().cast<TensorType>();
      if (input_type.getRank() != 4) {
        LLVM_DEBUG(llvm::dbgs() << "Only 2D convolution op is supported. "
                                   "Expected input rank of 4. Got: "
                                << input_type.getRank() << ".\n");
        return failure();
      }
    
      const auto filter_type = op.getRhs().getType().cast<TensorType>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 09:00:19 UTC 2024
    - 99.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/dot_general.cc

      return ConvertDot(
          rewriter, dot_op.getLhs(), dot_op.getRhs(), dot_dimension_numbers,
          mlir::cast<ShapedType>(dot_op.getResult().getType()), dot_op.getLoc());
    }
    
    Value ConvertDotGeneralOp(PatternRewriter& rewriter, Operation* old_op) {
      auto dot_general_op = cast<mhlo::DotGeneralOp>(old_op);
      return ConvertDot(
          rewriter, dot_general_op.getLhs(), dot_general_op.getRhs(),
          dot_general_op.getDotDimensionNumbers(),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  8. bin/update_deps.sh

    # Get the sha of top commit
    # $1 = repo
    function getSha() {
      git ls-remote "https://github.com/istio/${1}.git" "refs/heads/${UPDATE_BRANCH}" | cut -f 1
    }
    
    make update-common
    
    export GO111MODULE=on
    go get -u "istio.io/api@${UPDATE_BRANCH}"
    go get -u "istio.io/client-go@${UPDATE_BRANCH}"
    go mod tidy
    
    sed -i "s/^BUILDER_SHA=.*\$/BUILDER_SHA=$(getSha release-builder)/" prow/release-commit.sh
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 00:17:51 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/api/provider/ProviderConventionMappingIntegrationTest.groovy

                    @Inject abstract ProviderFactory getProviderFactory()
    
                    @Internal abstract Property<String> getOther()
    
                    @Internal Provider<String> getFoo() {
                        return other;
                    }
    
                    @TaskAction
                    void useIt() {
                        assert foo.get() == "foobar"
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 12:27:37 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc

        auto max_op = dyn_cast_or_null<MaxOp>(
            return_op.getOperands().front().getDefiningOp());
        if (!max_op) return false;
    
        return (max_op.getLhs() == block.getArgument(0)) &&
               (max_op.getRhs() == block.getArgument(1));
      }
    
      // Whether `op` has the `padding` attribute (which is optional).
      bool HasPadding(mlir::stablehlo::ReduceWindowOp op) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top