- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for UnionWith (0.1 sec)
-
tensorflow/compiler/jit/device_util.cc
const int storage_size = storage_.size(); if (word_index >= storage_size) { storage_.resize(word_index + 1, 0); } storage_[word_index] |= (1ull << bit_index); } void DeviceSet::UnionWith(const DeviceSet& other) { if (other.storage_.size() > storage_.size()) { storage_.resize(other.storage_.size(), 0); } for (int i = 0, end = other.storage_.size(); i < end; i++) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 7.8K bytes - Viewed (0) -
tensorflow/compiler/jit/device_util.h
friend class DeviceInfoCache; friend class DeviceSet; }; // A set of DeviceIds, represented as a bitmap. class DeviceSet { public: void Insert(DeviceId device_id); void UnionWith(const DeviceSet& other); bool IsEmpty() const; // Calls `func` on each DeviceId in the set. Stops iterating early if `func` // return false. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 17:18:31 UTC 2024 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass.cc
cluster_size_ += other->cluster_size_; effective_cluster_size_ += other->effective_cluster_size_; has_functional_control_flow_ |= other->has_functional_control_flow_; devices_.UnionWith(other->devices_); DCHECK(!(resource_op_device_.has_value() && other->resource_op_device_.has_value()) || *resource_op_device_ == *other->resource_op_device_)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 12:19:41 UTC 2024 - 85.3K bytes - Viewed (0)