Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Krause (0.2 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

                            const int in_flight_nodes_limit)
          : status_(TF_NewStatus()),
            // If the context's default exector is set to async, re-using that in
            // each thread would cause collectives to deadlock. For consistency we
            // create a new sync executor for every thread.
            //
            // TODO(allenl): We should have an async API that works with the
            // parallel device.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_distributed_test.cc

    // on both the main function side and the component function side, an error will
    // be thrown in the registered graph optimization pass.
    TEST(CAPI, DistributedFunctionGraphPassOnlyOnce) {
      // Register graph pass that will raise error if called more than once.
      tensorflow::optimization_registration::OptimizationPassRegistration
          register_test_pass(tensorflow::OptimizationPassRegistry::PRE_PLACEMENT, 0,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_cluster_test.cc

          "/job:localhost/replica:0/task:1/device:CPU:0";
      CheckRemoteMatMulExecutesOK(ctx, remote_device_name, local_device_name);
    
      // Adding a non-existent remote worker to cluster def. This should cause the
      // UpdateServerDef call to fail.
      tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster();
      tensorflow::JobDef* job_def = cluster_def->mutable_job(0);
      int port = tensorflow::testing::PickUnusedPortOrDie();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // 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);
      TF_EXPECT_OK(ReadCache(&cache, "", block_size, 1, &out));
      // Element at 0 was evicted again.
      calls.push_back(0);
    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)
  6. 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)
  7. 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)
Back to top