Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 102 for result_types (0.56 sec)

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

      if (shape_value) {
        return rewriter.createOrFold<mhlo::DynamicBroadcastInDimOp>(
            loc, result_type, value1d, shape_value, dims);
      }
      assert(result_type.hasStaticShape());
      return rewriter.create<mhlo::BroadcastInDimOp>(loc, result_type, value1d,
                                                     dims);
    }
    
    // Gets the shape of operand, assuming it is a dynamic shape with static rank.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

                               llvm::function_ref<APFloat(APFloat)> calculate) {
      assert(IsF32ShapedType(result_type) || IsBF16ShapedType(result_type));
      auto result_shape_type = result_type.cast<ShapedType>();
    
      if (!result_shape_type.hasStaticShape()) return {};
    
      if (auto dense_elements = operand.dyn_cast_or_null<DenseElementsAttr>()) {
        SmallVector<APFloat, 16> new_values;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

      // result of 'resultType'. If a conversion can not be generated, nullptr
      // should be returned.
      Operation *materializeCallConversion(OpBuilder &builder, Value input,
                                           Type result_type,
                                           Location conversion_loc) const final {
        if (!mlir::isa<TensorType>(result_type) ||
            !mlir::isa<TensorType>(input.getType()))
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/ops/tf_quantize_op.cc

    // Pre-actions before adding quantization logics. It creates a function with the
    // func_name where input_val is an input and result_type is a result.
    func::FuncOp PrepareFunctionRegister(PatternRewriter& rewriter, Value input_val,
                                         ShapedType result_type,
                                         StringRef func_name,
                                         Value& func_input_arg) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

    Attribute ConstFoldBroadcastInDim(ShapedType result_type,
                                      DenseElementsAttr operand,
                                      DenseIntElementsAttr bcast_dims) {
      auto dimensions = llvm::to_vector(bcast_dims.getValues<int64_t>());
      const auto result_shape = result_type.getShape();
      // Index for the broadcasted matrix.
      llvm::SmallVector<int64_t, 16> current_index(result_type.getRank(), 0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/TestCompleteEvent.java

        private final TestResult.ResultType resultType;
    
        @UsedByScanPlugin("test-distribution")
        public TestCompleteEvent(long endTime) {
            this(endTime, null);
        }
    
        @UsedByScanPlugin("test-distribution")
        public TestCompleteEvent(long endTime, TestResult.ResultType resultType) {
            this.endTime = endTime;
            this.resultType = resultType;
        }
    
        public long getEndTime() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessorTest.groovy

            then: 1 * processor.completed(3, { it.resultType == ResultType.FAILURE })
    
            then: 1 * processor.started({ it.name == 'test' && it.className == ATestNGClassWithBrokenSetupMethod.name }, _)
            then: 1 * processor.completed(4, { it.resultType == ResultType.SKIPPED})
    
            then: 1 * processor.completed(2, { it.resultType == null})
            then: 1 * processor.completed(1, { it.resultType == null})
    
            0 * processor._
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/post_quantize.cc

            shape_data.push_back(it.getSExtValue());
          }
          result_type =
              RankedTensorType::get(shape_data, input_type.getElementType());
        }
        auto values_type = RankedTensorType::get(
            result_type.getShape(),
            mlir::cast<quant::UniformQuantizedType>(result_type.getElementType())
                .getStorageType());
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_arith_ops_folder.h

      if (rhs_attr && is_valid_broadcasting(lhs_type, rhs_type, result_type)) {
        if (rhs_attr.isSplat() &&
            rhs_attr.getSplatValue<Attribute>() == identity_attr)
          return arithmetic_op.getX();
      }
    
      // Fold: Op(Identity, Operand) -> Operand for commutative operations.
      if (lhs_attr && is_commutative &&
          is_valid_broadcasting(rhs_type, lhs_type, result_type)) {
        if (lhs_attr.isSplat() &&
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

            !mlir::isa<TensorType>(input.getType()))
          return nullptr;
        return builder.create<TF::CastOp>(conversion_loc, result_type, input,
                                          /*truncate=*/builder.getBoolAttr(false));
      }
    };
    
    // Checks if a block wraps a single operation and the single operation results
    // are perfectly forwarded to the block's terminator.
    bool BlockWrapsSingleOp(Block* block) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
Back to top