- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for IsResourceHandleAnonymous (0.3 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.cc
llvm::StringRef device, Value resource, llvm::SmallDenseMap<ResourceHandle, int64_t> &resource_handle_id_map, int64_t &next_id) { // Always create a new ID for anonymous handle. if (IsResourceHandleAnonymous(shared_name)) return {resource, next_id++}; ResourceHandle handle(container, shared_name, device, /*op=*/nullptr); auto emplace_res = resource_handle_id_map.try_emplace(handle, next_id);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Aug 03 15:22:46 UTC 2021 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h
}; //===----------------------------------------------------------------------===// // TensorFlow Resource Handles. //===----------------------------------------------------------------------===// inline bool IsResourceHandleAnonymous(StringRef name) { return name == ::tensorflow::ResourceHandle::ANONYMOUS_NAME; } // Helper struct representing an identifier for a resource handle. For resource
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 03 19:26:14 UTC 2023 - 6.5K bytes - Viewed (0)