Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetResourceHandleValueAndIdBase (0.43 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.cc

      return llvm::StringRef();
    }
    
    // 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: Tue Aug 03 15:22:46 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
Back to top