Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for name_counts (0.19 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

      absl::flat_hash_map<std::string, int> name_counts{};
      for (auto const_op : target_const_ops) {
        OpBuilder builder{const_op};
    
        // TODO(b/254635554): Hoist VarHandleOp to the outermost function and pass
        // down as arguments to avoid relying on shared variables.
        const std::string name = GetConstOpName(const_op);
        const int cnt = name_counts[name]++;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/dump_mlir_util.cc

    #include "tsl/lib/io/buffered_file.h"
    
    using llvm::raw_ostream;
    
    namespace tensorflow {
    namespace {
    
    struct NameCounts {
      mutex counts_mutex;
      llvm::StringMap<int64_t> counts;
    };
    
    std::string MakeUniqueFilename(string name) {
      static NameCounts& instance = *new NameCounts;
    
      // Remove illegal characters from `name`.
      for (int i = 0, e = name.size(); i < e; ++i) {
        char ch = name[i];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 03:03:46 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  3. src/internal/trace/traceviewer/static/trace_viewer_full.html

    let processName=tr.e.chrome.chrome_processes.canonicalizeProcessName(process.name);nameCounts.set(processName,(nameCounts.get(processName)||0)+1);processName=`${processName}_${nameCounts.get(processName)}`;for(const[name,events]of histogramEvents){const values=histogramValues.get(name)||{sum:0,bins:[]};if(!histogramValues.has(name))histogramValues.set(name,values);const endValues=parseBuckets_(events[ev...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (1)
Back to top