Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for NeXT (3.27 sec)

  1. 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)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/experimental/next_pluggable_device/c_api.h"
    
    #include <cstdint>
    #include <cstdlib>
    #include <memory>
    #include <string>
    #include <string_view>
    #include <utility>
    #include <vector>
    
    #include "absl/status/status.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  3. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.h"
    
    #include <cstdint>
    #include <memory>
    #include <optional>
    #include <utility>
    #include <vector>
    
    #include <gtest/gtest.h>
    #include "absl/log/check.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

      {
        tensorflow::mutex_lock l(execution_mutex_);
        while (execution_state_ != ExecutionState::kIdle) {
          // If there's already a pending execution, wait until Join finishes before
          // starting on the next operation.
          finished_join_.wait(l);
        }
        context_ = context;
        operation_name_ = operation_name;
        step_id_ = step_id;
        op_inputs_ = inputs;
        attributes_ = attributes;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    #include "tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util.h"
    
    #include <memory>
    #include <utility>
    
    #include "absl/status/status.h"
    #include "absl/status/statusor.h"
    #include "absl/strings/str_cat.h"
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_experimental_test.cc

      // Load the library.
      TF_Status* status = TF_NewStatus();
      string lib_path =
          tensorflow::GetDataDependencyFilepath(tensorflow::io::JoinPath(
              "tensorflow", "core", "common_runtime", "next_pluggable_device", "c",
              "test_next_pluggable_device_plugin.so"));
      TF_Library* lib = TF_LoadPluggableDeviceLibrary(lib_path.c_str(), status);
      TF_Code code = TF_GetCode(status);
      string status_msg(TF_Message(status));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  7. tensorflow/c/checkpoint_reader.cc

      // First pass: filters out the entries of the slices.
      std::unordered_set<string> filtered_keys;
      BundleEntryProto entry;
      v2_reader_->Seek(kHeaderEntryKey);
      for (v2_reader_->Next(); v2_reader_->Valid(); v2_reader_->Next()) {
        CHECK(entry.ParseFromArray(v2_reader_->value().data(),
                                   v2_reader_->value().size()))
            << entry.InitializationErrorString();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      Key begin = std::make_pair(filename, 0);
      auto it = block_map_.lower_bound(begin);
      while (it != block_map_.end() && it->first.first == filename) {
        auto next = std::next(it);
        RemoveBlock(it);
        it = next;
      }
    }
    
    void RamFileBlockCache::RemoveBlock(BlockMap::iterator entry) {
      // This signals that the block is removed, and should not be inadvertently
    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)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    constexpr size_t kDefaultMaxCacheSize = 0;
    // The environment variable that overrides the maximum staleness of cached file
    // contents. Once any block of a file reaches this staleness, all cached blocks
    // will be evicted on the next read.
    constexpr char kMaxStaleness[] = "GCS_READ_CACHE_MAX_STALENESS";
    constexpr uint64_t kDefaultMaxStaleness = 0;
    
    constexpr char kStatCacheMaxAge[] = "GCS_STAT_CACHE_MAX_AGE";
    constexpr uint64_t kStatCacheDefaultMaxAge = 5;
    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)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      calls.push_back(0);
      TF_EXPECT_OK(ReadCache(&cache, "", 0, 1, &out));
      // Element at 2 * block_size is still in cache, and this read should update
      // its position in the LRU list so it doesn't get evicted by the next read.
      TF_EXPECT_OK(ReadCache(&cache, "", 2 * block_size, 1, &out));
      // Element at block_size was evicted.  Reading this element will also cause
      // the LRU element (at 0) to be evicted.
      calls.push_back(block_size);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
Back to top