Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,054 for incrementBy (0.3 sec)

  1. tensorflow/cc/saved_model/loader.cc

        load_attempt_count->GetCell(export_dir, status_str)->IncrementBy(1);
      };
      if (status.ok()) {
        log_and_count(kLoadAttemptSuccess);
        metrics::SavedModelReadPath().Set(export_dir);
      } else {
        log_and_count(kLoadAttemptFail);
      }
      load_latency->GetCell(export_dir)
          ->IncrementBy(GetLatencyMicroseconds(start_microseconds));
      return status;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 02 04:36:00 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfr/integration/node_expansion_pass.cc

          "VarHandleOp",       // b/176819198
      };
      for (const char* skip : kOpsToSkip) {
        if (absl::StartsWith(orig_op->op_name(), skip)) return absl::OkStatus();
      }
    
      tf_core_op_expansion_node_counter->GetCell()->IncrementBy(1);
    
      LOG_FIRST_N(INFO, 1) << "Run Node Expansion Passes";
    
      // Get the FunctionDef and insert that into the context
      const NodeDef& ndef = orig_op->MutableAttrs()->BuildNodeDef();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Feb 25 16:22:36 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

      auto op_name = op->getName();
      auto name_string = op_name.getStringRef().str();
      auto op_legality = OperationLegalityString(op, target);
    
      mlir_failed_legalization_count->GetCell(name_string, op_legality)
          ->IncrementBy(1);
    }
    
    mlir::LogicalResult ApplyPatterns(Operation *op, RewritePatternSet &patterns,
                                      bool legalize_chlo) {
      ConversionTarget target =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/test_matchers_test.cc

    }
    
    TEST(TestUtil, MatchesFiltered) { ASSERT_THAT(filtered(), IsOkOrFiltered()); }
    
    TEST(TestUtil, IncrementsOk) {
      CellReader<int64_t> reader(kMetric);
      counter->GetCell(kOkStatus)->IncrementBy(1);
    
      ASSERT_THAT(success(), IncrementedOrFiltered(reader.Delta(kOkStatus), 1));
    }
    
    TEST(TestUtil, FilteredDoesntIncrementsOk) {
      CellReader<int64_t> reader(kMetric);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc

          compilation_result);
      if (comp_status.ok()) {
        phase2_bridge_compilation_status->GetCell(kOldBridgeNoMlirSuccess)
            ->IncrementBy(1);
      } else {
        phase2_bridge_compilation_status->GetCell(kOldBridgeNoMlirFailure)
            ->IncrementBy(1);
      }
    
      return comp_status;
    }
    
    absl::Status CompileMLIRTFFunction(
        tpu::MlirToHloArgs mlir_computation,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 22:19:26 UTC 2024
    - 14K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc

      void runOnOperation() override;
    };
    
    static void IncrementCounterFor(tensorflow::monitoring::Counter<1>* counter,
                                    Operation* op) {
      counter->GetCell(op->getName().getStringRef().str())->IncrementBy(1);
    }
    
    bool HasBounds(RankedTensorType type) {
      auto encoding = mlir::dyn_cast_or_null<mlir::mhlo::TypeExtensionsAttr>(
          type.getEncoding());
      return (encoding && !encoding.getBounds().empty());
    }
    
    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/transforms/prepare_quantize.cc

      }
    
      if (quant_specs_.post_training_quantization) {
        tflite_quantizer_usage_stats->GetCell("post_training")->IncrementBy(1);
        RemoveRedundantStats(func);
      } else {
        tflite_quantizer_usage_stats->GetCell("during_training")->IncrementBy(1);
        // Set the quantization parameters for the quantizable input nodes. If this
        // failed, return the function immediately. This is only required for
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/AbstractCache.java

          loadSuccessCount.increment();
          totalLoadTime.add(loadTime);
        }
    
        @SuppressWarnings("GoodTime") // b/122668874
        @Override
        public void recordLoadException(long loadTime) {
          loadExceptionCount.increment();
          totalLoadTime.add(loadTime);
        }
    
        @Override
        public void recordEviction() {
          evictionCount.increment();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/AbstractCache.java

          loadSuccessCount.increment();
          totalLoadTime.add(loadTime);
        }
    
        @SuppressWarnings("GoodTime") // b/122668874
        @Override
        public void recordLoadException(long loadTime) {
          loadExceptionCount.increment();
          totalLoadTime.add(loadTime);
        }
    
        @Override
        public void recordEviction() {
          evictionCount.increment();
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  10. tensorflow/cc/saved_model/bundle_v2.cc

    }
    
    }  // namespace
    
    absl::Status SavedModelV2Bundle::Load(const std::string& export_dir,
                                          SavedModelV2Bundle* const bundle) {
      metrics::SavedModelReadApi(kCCLoadBundleV2Label).IncrementBy(1);
      SavedModel saved_model_proto;
      TF_RETURN_IF_ERROR(ReadSavedModel(export_dir, &saved_model_proto));
      metrics::SavedModelReadPath().Set(export_dir);
    
      // Load MetaGraphDef.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 18:28:37 UTC 2023
    - 9.1K bytes
    - Viewed (0)
Back to top