Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 986 for Auto (0.16 sec)

  1. src/cmd/go/testdata/script/build_pgo_auto.txt

    go install -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    go run -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go'
    
    go test -a -n -pgo=auto ./a/a1
    stderr 'compile.*-pgoprofile=.*a1.go.*a1_test.go'
    stderr 'compile.*-pgoprofile=.*external_test.go'
    
    # go list commands should succeed as usual
    go list -pgo=auto ./a/a1
    
    go list -test -pgo=auto ./a/a1
    
    go list -deps -pgo=auto ./a/a1
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:39:17 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/analysis/resource_value_typed_analyzer.cc

    std::tuple<StringRef, StringRef, StringRef> GetResourceKey(Operation* op) {
      StringRef device;
      if (auto attr = op->getAttrOfType<StringAttr>("device")) {
        device = attr.getValue();
      }
    
      StringRef container;
      if (auto attr = op->getAttrOfType<StringAttr>("container")) {
        container = attr.getValue();
      }
    
      StringRef shared_name;
      if (auto attr = op->getAttrOfType<StringAttr>("shared_name")) {
        shared_name = attr.getValue();
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform.cc

        SmallVector<Value, 4> dequantized_inputs;
        for (auto& input : op->getOpOperands()) {
          auto input_type = input.get().getType();
          if (IsQI8Type(input_type) || IsQUI8Type(input_type) ||
              IsQI32Type(input_type)) {
            auto dequantized_input_type =
                mlir::quant::QuantizedType::castToExpressedType(input_type);
            builder->setInsertionPoint(op);
            auto dequantize_op = builder->create<TFL::DequantizeOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/op_stat_pass.cc

      // Compute the operation statistics for the currently visited operation.
      total_ops_ = 0;
    
      getOperation()->walk([&](Operation *op) {
        auto op_with_dialect_name = op->getName().getStringRef();
        auto op_name = op->getName().stripDialect();
        auto dialect_name = op->getDialect()->getNamespace();
    
        if (op->getNumResults() > 0 &&
            isa<ShapedType>(op->getResult(0).getType())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/transforms/quantize_variables.cc

      Type ref_qtype = nullptr;
      for (auto *var_handle_user : var_handle_op.getResult().getUsers()) {
        auto read_variable_op = dyn_cast_or_null<ReadVariableOp>(var_handle_user);
        if (!read_variable_op) continue;
        for (auto *read_variable_user : read_variable_op.getResult().getUsers()) {
          auto q_op = dyn_cast_or_null<QuantizeOp>(read_variable_user);
          if (!q_op || ref_qtype) continue;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc

        return false;
    
      if (auto arith_const_op = dyn_cast_or_null<arith::ConstantOp>(op)) {
        // arith ConstOp path.
        auto type =
            mlir::cast<ShapedType>(arith_const_op.getType()).getElementType();
        if (!type.isInteger(32) && !type.isInteger(64)) return false;
      } else if (auto const_op = dyn_cast_or_null<TFL::ConstOp>(op)) {
        // ConstOp path.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/quantization/numerical_utils_test.cc

    }
    
    TEST(NumericalUtils, ActivationRange) {
      // zero point = 0
      auto a =
          CalculateQuantizedRange(1e-6, 0, std::nullopt, std::nullopt, -128, 127);
      ASSERT_EQ(a.first, -128);
      ASSERT_EQ(a.second, 127);
    
      auto b = CalculateQuantizedRange(1e-6, 0, 0.0, std::nullopt, -128, 127);
      ASSERT_EQ(b.first, 0);
      ASSERT_EQ(b.second, 127);
    
      auto c = CalculateQuantizedRange(1e-6, 0, -1.0, 1.0, -128, 127);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 08 01:38:03 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc

      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++);
        auto rhs_val = rhs_splat ? *rhs_start : *(rhs_start++);
        auto signed_lhs_val = AddSign(lhs_val);
        auto signed_rhs_val = AddSign(rhs_val);
        if (signed_rhs_val.isZero()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 06:11:55 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_experimental_reader_test.cc

    TEST(CAPI, MonitoringCellReader0) {
      auto counter_name = "test/counter0";
      auto* counter = CreateCounter0(counter_name);
      auto* reader = TFE_MonitoringNewCounterReader(counter_name);
      IncrementCounter0(counter);
    
      int64_t actual = TFE_MonitoringReadCounter0(reader);
    
      CHECK_EQ(actual, 1);
    }
    
    TEST(CAPI, MonitoringCellReader1) {
      auto counter_name = "test/counter1";
      auto label_name = "test/label";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 20 03:14:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/op_or_arg_name_mapper.cc

      if (auto* op = op_or_val.dyn_cast<mlir::Operation*>()) {
        auto name_from_loc = mlir::GetNameFromLoc(op->getLoc());
        if (!name_from_loc.empty()) return name_from_loc;
        // If the location is none of the expected types, then simply use name
        // generated using the op type.
        return std::string(op->getName().getStringRef());
      }
      auto val = op_or_val.dyn_cast<mlir::Value>();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top