Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for new_results (0.23 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc

          return failure();
        }
    
        // Update the results.
        SmallVector<Type, 4> new_results;
        if (failed(getTypeConverter()->convertTypes(op->getResultTypes(),
                                                    new_results)))
          return failure();
    
        // Update the regions. The dialect conversion framework wants new regions to
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/unwrap_xla_call_module_op.cc

            Value new_result = new_op_mapper.lookup(return_value);
    
            call_result.replaceAllUsesWith(new_result);
          }
          continue;
        }
    
        Operation& new_op = *builder.clone(op, arg_mapper);
        for (auto [result, new_result] :
             llvm::zip_equal(op.getResults(), new_op.getResults())) {
          new_op_mapper.map(result, new_result);
        }
      }
    
      call_op.erase();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/merge_fusion_with_dequantize.cc

              req_op.getLoc(), rewriter.getF32FloatAttr(6));
          new_result = rewriter.create<mlir::stablehlo::ClampOp>(
              req_op.getLoc(), min, new_result, max);
        } else if (func_name.contains("_relu_")) {
          auto min = rewriter.create<mlir::stablehlo::ConstantOp>(
              req_op.getLoc(), rewriter.getF32FloatAttr(0));
          new_result = rewriter.create<mlir::chlo::BroadcastMaxOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_common.cc

        return mlir::failure();
    
      int64_t num_results = 0;
      if (succeeded(parser.parseOptionalColon())) {
        mlir::IntegerAttr attr;
        mlir::NamedAttrList attrs;
        if (failed(parser.parseAttribute(attr, "num_results", attrs)))
          return mlir::failure();
        num_results = attr.getValue().getSExtValue();
      }
      if (num_results < 0) return mlir::failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/decompose_hybrid_quantization.cc

        }
    
        auto newResults = rewriter
                              .create<SrcOp>(loc, newResultTys, newOperands,
                                             op->getAttrDictionary().getValue())
                              .getOperation()
                              ->getResults();
    
        SmallVector<Value> replaceResults;
        for (int i = 0; i < newResults.size(); i++) {
          Value result = newResults[i];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

          auto result_type = result.getType();
    
          Value new_result = new_op->getResult(i);
          if (IsQI8Type(result_type) || IsQUI8Type(result_type)) {
            builder->setInsertionPoint(op);
            TFL::QuantizeOp quant_op = builder->create<TFL::QuantizeOp>(
                op->getLoc(), result_type, new_result, TypeAttr::get(result_type));
            new_result = quant_op.getResult();
          }
    
          // Rewire the outputs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc

      auto rhs_vals = const_oprs[1].getValues<ResultType>();
      const auto num_results = std::max(lhs_vals.size(), rhs_vals.size());
      std::vector<ResultType> res;
      res.reserve(num_results);
    
      auto lhs_start = lhs_vals.begin();
      auto rhs_start = rhs_vals.begin();
    
      for (int i = 0; i < num_results; ++i) {
        auto lhs_val = lhs_splat ? *lhs_start : *(lhs_start++);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 06:11:55 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/AbstractCrossBuildPerformanceTestRunner.groovy

            PerformanceTestJvmOptions.normalizeJvmOptions(jvmOptions)
        }
    
        abstract R newResult()
    
        R run() {
            assert !specs.empty
            assert testId
    
            Assume.assumeTrue(TestScenarioSelector.shouldRun(testId))
            TestProjects.validateTestProject(testProject)
    
            def results = newResult()
    
            try {
                runAllSpecifications(results)
            } catch (Exception e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 25 14:54:56 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java

         *
         * @param model
         * @param problems
         */
        public static <T> Result<T> newResult(T model, Iterable<? extends ModelProblem> problems) {
            return new Result<>(hasErrors(problems), model, problems);
        }
    
        /**
         * New result consisting of given result and new problem. Convenience for newResult(result.get(),
         * concat(result.getProblems(),problems)).
         *
         * @param result
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/Result.java

         *
         * @param model
         * @param problems
         */
        public static <T> Result<T> newResult(T model, Iterable<? extends ModelProblem> problems) {
            return new Result<>(hasErrors(problems), model, problems);
        }
    
        /**
         * New result consisting of given result and new problem. Convenience for newResult(result.get(),
         * concat(result.getProblems(),problems)).
         *
         * @param result
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top