Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DenseMapInfo (0.11 sec)

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

    }  // namespace TF
    }  // namespace mlir
    
    namespace llvm {
    template <>
    struct DenseMapInfo<mlir::TF::ResourceHandle> {
      static mlir::TF::ResourceHandle getEmptyKey() {
        return {/*container=*/"", /*name=*/"", /*device=*/"",
                /*op=*/DenseMapInfo<mlir::Operation*>::getEmptyKey()};
      }
    
      static mlir::TF::ResourceHandle getTombstoneKey() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 03 19:26:14 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_structs.h

      std::optional<GpuDeviceMetadata> GetGpuDeviceMetadata(
          const ParsedName& device) const;
    
     private:
      llvm::SmallVector<ParsedName, 8> device_names_;
      // TODO(ezhulenev): Add DenseMapInfo<ParsedName> specialization to be able to
      // use ParsedName as a key in a DenseMap.
      llvm::StringMap<GpuDeviceMetadata> gpu_metadata_;
    };
    
    }  // namespace TF
    }  // namespace mlir
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 02 20:41:19 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/device_target.h

      }
    
      KernelSpecs& WithImpl(const ScaleDecomposeFn& dfn) {
        decompose_fn_ = dfn;
        return *this;
      }
    
     private:
      // The signature is pattern match based.
      struct SignatureInfo : public llvm::DenseMapInfo<Signature> {
        static inline Signature getEmptyKey() { return {}; }
        static inline Signature getTombstoneKey() { return {nullptr}; }
        static unsigned getHashValue(Signature val) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 7.1K bytes
    - Viewed (0)
Back to top