- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for num_tasks (0.15 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc
mesh_shape_dim.value())); if (topology_proto.num_tasks() != num_tasks) return absl::InvalidArgumentError(absl::StrCat( "number of tasks from available TPU devices must be 'num_tasks' in '", kTopologyAttr, "' (", topology_proto.num_tasks(), "), got ", num_tasks)); if (topology_proto.num_tpu_devices_per_task() != num_tpus_per_task)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jun 10 20:10:40 UTC 2024 - 32.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.h
tensorflow::ServerDef GetServerDef(const tensorflow::string& job_name, int num_tasks); // Create a ServerDef with job name "localhost" and add `num_tasks` tasks in it. tensorflow::ServerDef GetServerDef(int num_tasks); // Create a multi-client ServerDef with the given `job_name`, add `num_tasks`
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jul 17 23:43:59 UTC 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
<< ", task: " << i; } return server_def; } tensorflow::ServerDef GetServerDef(int num_tasks) { return GetServerDef("localhost", num_tasks); } tensorflow::ServerDef GetMultiClientServerDef(const std::string& job_name, int num_tasks, int num_virtual_gpus) { tensorflow::ServerDef server_def;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 22:37:46 UTC 2024 - 23.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc
"(0, 0, 0, 0)"))); std::vector<std::string> MakeDeviceSet(int num_tasks, int num_devices_per_task) { std::vector<std::string> devices{ "/job:localhost/replica:0/task:0/device:CPU:0"}; devices.reserve(num_tasks * num_devices_per_task + num_tasks + 1); for (int task = 0; task < num_tasks; ++task) { devices.push_back(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 46.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc
tensorflow::ServerDef GetServerDef(const std::string& job_name, int num_tasks) { tensorflow::ServerDef server_def; server_def.set_protocol("grpc"); server_def.set_job_name(job_name); server_def.set_task_index(0); tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster(); tensorflow::JobDef* job_def = cluster_def->add_job(); job_def->set_name(job_name); for (int i = 0; i < num_tasks; i++) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 27 22:09:57 UTC 2023 - 6.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.h
// `num_replicas` = 4 // `num_cores_per_replica` = 2 // `topology_attr` (in proto debug string format) = // { // mesh_shape: 2 // mesh_shape: 2 // mesh_shape: 2 // num_tasks: 2 // num_tpu_devices_per_task: 4 // device_coordinates: 0 // device_coordinates: 0 // device_coordinates: 0 // device_coordinates: 0 // device_coordinates: 1
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 11.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir
} } // ----- // The following topology is used in subsequent test cases: // Proto debug string: // mesh_shape: 1 // mesh_shape: 1 // mesh_shape: 1 // mesh_shape: 2 // num_tasks: 1 // num_tpu_devices_per_task: 2 // device_coordinates: 0 // device_coordinates: 0 // device_coordinates: 0 // device_coordinates: 0 // device_coordinates: 0 // device_coordinates: 0
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 22:03:30 UTC 2024 - 172.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java
*/ public void test_delayBeforeProcessing() { // 同時実行数 final int numTasks = 100; // インターバル final Long waittime = 100L; CrawlingParameterUtil.setUrlQueue(new UrlQueueImpl()); final UrlQueue q = CrawlingParameterUtil.getUrlQueue(); for (int i = 0; i < numTasks; i++) { q.setUrl("http://example.com"); }
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 3.2K bytes - Viewed (0) -
pkg/kubelet/cm/topologymanager/bitmask/bitmask_test.go
// Iterate all masks and count them. numMasks := 0 IterateBitMasks(bits, func(BitMask) { numMasks++ }) // Compare the number of masks generated to the expected amount. if expectedNumMasks != numMasks { t.Errorf("Expected to iterate %v masks, got %v", expectedNumMasks, numMasks) } } } func TestIsLessThan(t *testing.T) { tcases := []struct {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 03 09:45:09 UTC 2022 - 16.2K bytes - Viewed (0)