- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 522 for read_only (0.37 sec)
-
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc
bool read_only) { VLOG(4) << " Updating access for resource " << resource_id; op_to_resource_ids_[op].push_back({resource_id, read_only}); // For unknown ID case, first update access info for all other resource IDs. if (resource_id == kUnknownResourceId) { if (read_only) { // New unknown read is not tracked by any other access.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 41.2K bytes - Viewed (0) -
tensorflow/compiler/jit/variable_info.h
// by this thread. bool shared_lock_held() const { return shared_lock_held_; } void set_shared_lock_held() { shared_lock_held_ = true; } bool read_only() const { return read_only_; } void set_read_only() { read_only_ = true; } const std::optional<ManagedStackTrace>& definition_stack_trace() const { return definition_stack_trace_; } ~VariableInfo(); private: int index_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 14 21:57:02 UTC 2023 - 3.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.h
bool read_only); // Updates resource access for given `resource_id` and `op` in // `per_resource_access_info_` and `op_to_resource_ids_`. void UpdateAccess(ResourceId resource_id, Operation* op, bool read_only); // Returns true iff the last unknown resource access is already indirectly // tracked by a previous `resource` access. `read_only` specifies the type of // access considered.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 14.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/resource_op_lifting.cc
written_resources_.remove(resource); } // Replaces all resource loads in all regions attached to the op. void ReplaceResourceLoads(bool read_only) { llvm::for_each(op_->getRegions(), [&](Region& region) { ReplaceResourceLoads(region, read_only); }); } static LogicalResult ReplaceOpWithNewOp(Operation* op); private: // Returns if any resources need lifting.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 55.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/check_control_dependencies.cc
const ResourceIdVec& other_resource_ids) { for (const auto& [resource_id, read_only] : resource_ids) { for (const auto& [other_resource_id, other_read_only] : other_resource_ids) { if (IsPotentiallySameResource(resource_id, other_resource_id) && !(read_only && other_read_only)) { return true; } } } return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 10.2K bytes - Viewed (0) -
platforms/software/dependency-management/src/testFixtures/groovy/org/gradle/containers/GradleInContainer.groovy
executer.withGradleUserHomeDir(new File("/gradle-home")) } GradleInContainer bindReadOnly(File local, String containerPath) { container.addFileSystemBind(local.absolutePath, containerPath, BindMode.READ_ONLY, SelinuxContext.NONE) this } GradleInContainer bindWritable(File local, String containerPath) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Oct 10 21:10:11 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/jit/variable_info_util.h
// // `variables` is allowed to contain instances that don't track a resource // variable (i.e. variables[i].var() can be null for some i). // // If the variable is read_only(), only acquires reader locks. Status LockVariables(absl::Span<VariableInfo*> variables) TF_EXCLUSIVE_LOCK_FUNCTION(); Status LockVariables(absl::Span<VariableInfo> variables) TF_EXCLUSIVE_LOCK_FUNCTION();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 14 21:57:02 UTC 2023 - 4.3K bytes - Viewed (0) -
tensorflow/compiler/jit/variable_info_util.cc
// objects are destroyed. // TODO(b/128495870) Add support for passing aliased resource variables. return errors::Unimplemented("Duplicate variable passed to XLA cluster"); } if (variables[i]->read_only()) { VLOG(4) << "Acquiring reader lock for variable " << reinterpret_cast<void*>(variable); mu->lock_shared(); variables[i]->set_shared_lock_held(); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 22 08:47:20 UTC 2024 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* @see FileChannel#map(MapMode, long, long) * @since 2.0 */ public static MappedByteBuffer map(File file) throws IOException { checkNotNull(file); return map(file, MapMode.READ_ONLY); } /** * Fully maps a file in to memory as per {@link * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)} using the requested {@link * MapMode}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* @see FileChannel#map(MapMode, long, long) * @since 2.0 */ public static MappedByteBuffer map(File file) throws IOException { checkNotNull(file); return map(file, MapMode.READ_ONLY); } /** * Fully maps a file in to memory as per {@link * FileChannel#map(java.nio.channels.FileChannel.MapMode, long, long)} using the requested {@link * MapMode}. *
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 15 16:12:13 UTC 2024 - 33.1K bytes - Viewed (0)