Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 82 for getWho (0.19 sec)

  1. 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)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/fuse_convolution_pass.cc

        mlir::DenseIntElementsAttr broadcast_dims;
    
        // Match and capture values/attributes.
        Value lhs = mul_op.getLhs();
        Value rhs = mul_op.getRhs();
        conv_op = lhs.getDefiningOp<mhlo::ConvolutionOp>();
        if (conv_op == nullptr) {
          return failure();
        }
        filter = conv_op.getRhs().getDefiningOp<mhlo::ConstantOp>();
        if (filter == nullptr) {
          return failure();
        }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 22:21:19 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_conversions/util.h

      ReductionOp reduce_op = dyn_cast_or_null<ReductionOp>(
          return_op.getOperands().front().getDefiningOp());
      if (!reduce_op) return failure();
      if (reduce_op.getLhs() != body.getArgument(0) ||
          reduce_op.getRhs() != body.getArgument(1))
        return failure();
    
      return success();
    }
    
    // Check if the specified region is a binary reduction function that takes 2
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 08 11:35:25 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. platforms/core-configuration/declarative-dsl-provider/src/testFixtures/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeFixture.groovy

                    @Restricted
                    Property<String> getId();
    
    
                    Foo getFoo();
    
                    @Configuring
                    default void foo(Action<? super Foo> action) {
                        action.execute(getFoo());
                    }
    
                    public abstract static class Foo {
                        public Foo() { }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:26 UTC 2024
    - 30.2K bytes
    - Viewed (0)
Back to top