Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for pos (0.15 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      if (finish < offset + n) {
        finish += block_size_;
      }
      size_t total_bytes_transferred = 0;
      // Now iterate through the blocks, reading them one at a time.
      for (size_t pos = start; pos < finish; pos += block_size_) {
        Key key = std::make_pair(filename, pos);
        // Look up the block, fetching and inserting it if necessary, and update the
        // LRU iterator for the key and block.
        std::shared_ptr<Block> block = Lookup(key);
    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)
  2. tensorflow/c/c_api.cc

    TF_Operation* TF_GraphNextOperation(TF_Graph* graph, size_t* pos) {
      if (*pos == 0) {
        // Advance past the first sentinel nodes in every graph (the source & sink).
        *pos += 2;
      } else {
        // Advance to the next node.
        *pos += 1;
      }
    
      mutex_lock l(graph->mu);
      while (*pos < static_cast<size_t>(graph->graph.num_node_ids())) {
        Node* node = graph->graph.FindNodeId(*pos);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_test.cc

      // Test iterating through the nodes of a graph.
      found_placeholder = false;
      found_scalar_const = false;
      found_add = false;
      bool found_neg = false;
      size_t pos = 0;
      TF_Operation* oper;
      while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) {
        if (oper == feed) {
          EXPECT_FALSE(found_placeholder);
          found_placeholder = true;
        } else if (oper == three) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. tensorflow/c/c_api.h

    // Iterate through the operations of a graph.  To use:
    // size_t pos = 0;
    // TF_Operation* oper;
    // while ((oper = TF_GraphNextOperation(graph, &pos)) != nullptr) {
    //   DoSomethingWithOperation(oper);
    // }
    TF_CAPI_EXPORT extern TF_Operation* TF_GraphNextOperation(TF_Graph* graph,
                                                              size_t* pos);
    
    // Write out a serialized representation of `graph` (as a GraphDef protocol
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

                                   ? std::get<std::string>(value)
                                   : std::get<gcs::ObjectMetadata>(value).name();
        auto pos = children.find(prefix);
        if (pos != 0) {
          TF_SetStatus(status, TF_INTERNAL,
                       absl::StrCat("Unexpected response: the returned file name ",
                                    children, " doesn't match the prefix ", prefix)
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
Back to top