- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for GetResourceHandleValueAndIdBase (0.41 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc
for (const auto &iter : llvm::enumerate(getResults())) { auto index = iter.index(); if (mlir::isa<TF::ResourceType>( getElementTypeOrSelf(iter.value().getType()))) { resource_vec.push_back(GetResourceHandleValueAndIdBase( mlir::cast<mlir::StringAttr>(getContainer()[index]).getValue(), mlir::cast<mlir::StringAttr>(getSharedName()[index]).getValue(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.h
llvm::StringRef GetDeviceOrEmpty(Operation* op); // Returns resource handle value and id for resource op based on attributes. If // a resource handle is anonymous, a new id is always returned. ResourceHandleValueAndId GetResourceHandleValueAndIdBase( llvm::StringRef container, llvm::StringRef shared_name, llvm::StringRef device, Value resource, llvm::SmallDenseMap<ResourceHandle, int64_t>& resource_handle_id_map, int64_t& next_id);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 03 19:26:14 UTC 2023 - 6.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
SummaryWriterOp::GetResourceHandleValueAndIdList( llvm::SmallDenseMap<ResourceHandle, int64_t> &resource_handle_id_map, int64_t &next_id) { llvm::StringRef device = GetDeviceOrEmpty(getOperation()); return {GetResourceHandleValueAndIdBase(getContainer(), getSharedName(), device, getWriter(), resource_handle_id_map, next_id)}; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0)