Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsResourceType (1.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

    static constexpr char kLower[] = "_lower_using_switch_merge";
    static constexpr llvm::StringRef kTpuCompilationStatus =
        "_tpu_compilation_status";
    
    namespace mlir {
    namespace TFDevice {
    namespace {
    
    bool IsResourceType(Type val_type) {
      if (auto tensor_type = mlir::dyn_cast<mlir::TensorType>(val_type)) {
        if (mlir::isa<TF::ResourceType>(tensor_type.getElementType())) {
          return true;
        }
      }
      return false;
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
Back to top