Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 103 for result_types (0.34 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. 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)
  7. pilot/pkg/networking/core/envoyfilter/monitoring.go

    		for pt, applied := range pmap {
    			if applied {
    				envoyFilterStatus.With(nameType.Value(name)).With(patchType.Value(pt)).
    					With(resultType.Value(string(Applied))).Record(1)
    			} else {
    				envoyFilterStatus.With(nameType.Value(name)).With(patchType.Value(pt)).
    					With(resultType.Value(string(Applied))).Record(0)
    			}
    		}
    	}
    	envoyFilterStatusMap = make(map[string]map[string]bool)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Mar 28 17:09:02 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/lstm_utils.cc

      // All the rest: states, device.
      for (int i = 2; i < 5; ++i) {
        auto result_type =
            mlir::dyn_cast<RankedTensorType>(func_op.getResultTypes()[i]);
        outputs.push_back(CreatTfF32ConstOp(builder, result_type.getShape(), 0.0f,
                                            func_op.getLoc()));
        output_types.push_back(result_type);
      }
    
      // Update function signatures.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  9. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestEventLoggerTest.groovy

            eventLogger.afterTest(methodDescriptor, result)
    
            then:
            textOutputFactory.toString().count("PASSED") == 1
    
            when:
            textOutputFactory.clear()
            result.resultType = TestResult.ResultType.FAILURE
            eventLogger.afterTest(methodDescriptor, result)
    
            then:
            textOutputFactory.toString().count("PASSED") == 0
        }
    
        def "logs event if granularity matches"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 08 14:45:02 UTC 2024
    - 4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

      if (x_type.getShape() != y_type.getShape()) return failure();
    
      auto result_type = squared_diff_op.getType();
      if (!result_type) return failure();
    
      auto sub_op =
          rewriter.create<TF::SubOp>(squared_diff_op.getLoc(), result_type, x, y);
      auto mul_op =
          rewriter.create<TF::MulOp>(squared_diff_op.getLoc(), result_type,
                                     sub_op.getResult(), sub_op.getResult());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top