Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Fraser (0.2 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

          ABSL_EXCLUSIVE_LOCKS_REQUIRED(mu_) {
        auto it = cache_.find(key);
        if (it == cache_.end()) {
          return false;
        }
        lru_list_.erase(it->second.lru_iterator);
        if (timer_seconds_() - it->second.timestamp > max_age_) {
          cache_.erase(it);
          return false;
        }
        *value = it->second.value;
        lru_list_.push_front(it->first);
        it->second.lru_iterator = lru_list_.begin();
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.cc

      // in an initialized context.
      for (auto d = devices.begin(); d != devices.end();) {
        if (absl::StrContains(d->get()->name(), "CPU:0")) {
          d = devices.erase(d);
        } else {
          ++d;
        }
      }
    
      status->status = tensorflow::unwrap(ctx)->AddDevices(std::move(devices));
    }
    
    void TFE_InsertConfigKeyValue(TFE_Context* ctx, const char* key,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      // reinserted into the cache in UpdateLRU.
      entry->second->timestamp = 0;
      lru_list_.erase(entry->second->lru_iterator);
      lra_list_.erase(entry->second->lra_iterator);
      cache_size_ -= entry->second->data.capacity();
      block_map_.erase(entry);
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                                    children, " doesn't match the prefix ", prefix)
                           .c_str());
          return result;
        }
        children.erase(0, prefix.length());
        if (!children.empty() || include_self_directory_marker) {
          result.emplace_back(children);
        }
        ++count;
      }
    
      return result;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  5. RELEASE.md

            return a meaningful error message on failure.
    *   tf.data:
        *   Remove `num_parallel_parser_calls` argument from
            `tf.contrib.data.make_csv_dataset()`. [tf.data] Remove
            `num_parallel_parser_calls` argument from
            `tf.contrib.data.make_csv_dataset()`.
        *   `tf.data.Dataset.list_files()` raises an exception at initialization
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
  6. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

                   user_schemes->end();
          };
          auto end = std::remove_if(all_schemes->begin(), all_schemes->end(),
                                    is_requested_scheme);
          all_schemes->erase(end, all_schemes->end());
        }
      }
    
      return all_schemes;
    }
    
    static std::vector<std::string> GetSchemes() {
      static std::vector<std::string>* schemes = GetSchemesFromUserOrEnv();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.cc

      status->status = absl::OkStatus();
      if (s == nullptr) return;
      TF_Graph* const graph = s->graph;
      if (graph != nullptr) {
        graph->mu.lock();
        graph->sessions.erase(s);
        const bool del = graph->delete_requested && graph->sessions.empty();
        graph->mu.unlock();
        if (del) delete graph;
      }
      delete s->session;
      delete s;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  8. ci/official/utilities/extract_resultstore_links.py

      """Parses the commandline args."""
      parser = argparse.ArgumentParser(
          description='Extracts ResultStore links from a build log.\n'
                      'These can be then printed out, and/or output into a '
                      'JUnit-based XML file inside a specified directory.')
    
      parser.add_argument('build_log',
                          help='Path to a build log.')
      parser.add_argument('--xml-out-path',
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

      it->second--;
      if (it->second != 0) {
        return;
      }
      tensor_usage_.erase(it);
      auto tensor_op_it = tensor_tape_.find(tensor_id);
      if (tensor_op_it == tensor_tape_.end()) {
        return;
      }
      const int64_t op_id = tensor_op_it->second;
      if (op_id == -1) {
        // Do not delete watched tensors.
        return;
      }
      tensor_tape_.erase(tensor_op_it);
      auto op_it = op_tape_.find(op_id);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  10. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

     #if defined __LONG_DOUBLE_MATH_OPTIONAL && defined __NO_LONG_DOUBLE_MATH
     # define __LDBL_COMPAT 1
     # ifdef __REDIRECT
    diff --git a/nis/nss_nisplus/nisplus-parser.c b/nis/nss_nisplus/nisplus-parser.c
    index a4d76fb..41600f0 100644
    --- a/nis/nss_nisplus/nisplus-parser.c
    +++ b/nis/nss_nisplus/nisplus-parser.c
    @@ -82,7 +82,7 @@ _nss_nisplus_parse_pwent (nis_result *result, struct passwd *pw,
     
       char *numstr = NISOBJVAL (2, obj);
    Others
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
Back to top