Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 152 for result_types (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/fold_broadcast.cc

      if (op->getNumOperands() != 2 || op->getResultTypes().size() != 1)
        return failure();
    
      // Check that the result shape is fully defined.
      auto result_type =
          mlir::dyn_cast_or_null<RankedTensorType>(op->getResultTypes().front());
      if (!result_type || !result_type.hasStaticShape()) return failure();
    
      bool changed = false;
      for (uint64_t i = 0, e = op->getNumOperands(); i < e; ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/reduce_type_precision.cc

        auto const_type = mlir::dyn_cast<ShapedType>(op.getOperand(0).getType());
        auto result_type = mlir::dyn_cast<ShapedType>(op.getResult().getType());
        if (!const_type || !const_type.getElementType().isSignlessInteger(4) ||
            !result_type || !result_type.getElementType().isSignlessInteger(8)) {
          return failure();
        }
    
        auto input_op =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/BaseCrossBuildResultsStore.java

    public class BaseCrossBuildResultsStore<R extends CrossBuildPerformanceResults> extends AbstractWritableResultsStore<R> {
    
        private final String resultType;
    
        public BaseCrossBuildResultsStore(String resultType) {
            super(new PerformanceDatabase("cross_build_results"));
            this.resultType = resultType;
        }
    
        @Override
        public void report(final R results) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_traits.h

       public:
        QuantizedType GetResultQuantizedType(int index) {
          auto op = this->getOperation();
          const auto result_type =
              op->getResult(index).getType().template cast<ShapedType>();
          if (!result_type.getElementType().template isa<FloatType>()) return {};
          Builder builder(op->getContext());
          const IntegerType storage_type = builder.getIntegerType(BitWidth);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestClassResultSpec.groovy

            result.add(new TestMethodResult(2, "fail").completed(new DefaultTestResult(TestResult.ResultType.FAILURE, 250, 300, 1, 0, 1, [new RuntimeException("bar")])))
            result.add(new TestMethodResult(3, "fail2").completed(new DefaultTestResult(TestResult.ResultType.FAILURE, 300, 450, 1, 0, 1, [new RuntimeException("foo")])))
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/report/CompositeTestResultsTest.groovy

            results.addTest(test())
    
            expect:
            results.resultType == SUCCESS;
        }
    
        def computesResultTypeWhenSuccessAndIgnored() {
            results.addTest(test())
            results.addTest(test())
            results.ignored(test())
    
            expect:
            results.resultType == SKIPPED;
        }
    
        def computesResultTypeWhenSuccessAndIgnoredAndFailed() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. platforms/software/testing-base/src/main/java/org/gradle/api/internal/tasks/testing/report/CompositeTestResults.java

            return ignored;
        }
    
        @Override
        public ResultType getResultType() {
            if (!failures.isEmpty()) {
                return ResultType.FAILURE;
            }
            if (getIgnoredCount() > 0) {
                return ResultType.SKIPPED;
            }
            return ResultType.SUCCESS;
        }
    
        public String getFormattedSuccessRate() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_tensor_helper.cc

      auto result_type =
          OpTrait::util::getBroadcastedType(x.getType(), y.getType());
      if (!result_type) {
        if (incompatible_shape_error.getValue()) {
          mlir::emitError(loc, "non-broadcastable operands");
        } else {
          return UnrankedTensorType::get(builder->getI1Type());
        }
      }
    
      auto ranked_type = mlir::dyn_cast<RankedTensorType>(result_type);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/testFixtures/groovy/org/gradle/api/internal/tasks/testing/SimpleTestResult.groovy

    package org.gradle.api.internal.tasks.testing
    
    import org.gradle.api.tasks.testing.TestFailure
    import org.gradle.api.tasks.testing.TestResult
    
    class SimpleTestResult implements TestResult {
        TestResult.ResultType resultType = TestResult.ResultType.SUCCESS
        List<Throwable> exceptions = []
        Throwable exception = exceptions[0]
        List<TestFailure> failures
        long startTime = 0
        long endTime = startTime + 100
        long testCount = 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top