Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for UnknownResourceSet (0.27 sec)

  1. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

    using ResourceIdSet = llvm::SmallSet<ResourceId, 8>;
    
    // Note that we cannot simply define a `static const llvm::SmallSet` here
    // because of missing `initializer_list` support for `llvm::SmallSet`.
    const ResourceIdSet& UnknownResourceSet() {
      // clang-format off
      static auto* id_set = new ResourceIdSet();
      id_set->insert(kUnknownResourceId);
      return *id_set;
    }
    
    // Helper function to avoid frequent checks for unknown IDs.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top