Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for GetResourceHandleValueAndIdList (0.44 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.cc

    // _TfrtGetResourceOp
    //===----------------------------------------------------------------------===//
    
    namespace mlir {
    namespace TF {
    
    llvm::SmallVector<ResourceHandleValueAndId, 4>
    _TfrtGetResourceOp::GetResourceHandleValueAndIdList(
        llvm::SmallDenseMap<ResourceHandle, int64_t> &resource_handle_id_map,
        int64_t &next_id) {
      llvm::SmallVector<ResourceHandleValueAndId, 4> resource_vec;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_op_interfaces.td

                     vector are the order of those resources in the results of the
                     op.}],
          /*retTy=*/"llvm::SmallVector<ResourceHandleValueAndId, 4>",
          /*methodName=*/"GetResourceHandleValueAndIdList",
          /*args=*/(ins "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 Nov 30 19:07:07 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

        : public TraitBase<ConcreteType, UniqueResourceAllocation> {
     public:
      // Implements method required for `ResourceHandleAllocatorInterface`.
      llvm::SmallVector<mlir::TF::ResourceHandleValueAndId>
      GetResourceHandleValueAndIdList(
          llvm::SmallDenseMap<mlir::TF::ResourceHandle, int64_t>&
              resource_handle_id_map,
          int64_t& next_id) {
        llvm::SmallVector<mlir::TF::ResourceHandleValueAndId> resource_vec;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

      func_op.walk([&](Operation* op) {
        if (auto resource_alloc = dyn_cast<ResourceHandleAllocatorInterface>(op)) {
          llvm::SmallVector<ResourceHandleValueAndId, 4> resources =
              resource_alloc.GetResourceHandleValueAndIdList(
                  resource_handle_id_map, next_unique_instance_id);
          for (auto& resource_handle : resources) {
            AddValueUniqueIDMapping(resource_handle.value, resource_handle.id);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

    // SummaryWriterOp
    //===----------------------------------------------------------------------===//
    
    llvm::SmallVector<ResourceHandleValueAndId, 4>
    SummaryWriterOp::GetResourceHandleValueAndIdList(
        llvm::SmallDenseMap<ResourceHandle, int64_t> &resource_handle_id_map,
        int64_t &next_id) {
      llvm::StringRef device = GetDeviceOrEmpty(getOperation());
    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