Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DialectAsmPrinter (0.37 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.cc

      parser.emitError(parser.getNameLoc(), "unknown type: ") << keyword;
      return Type();
    }
    
    /// Print a type registered to this dialect.
    void FallbackDialect::printType(Type type, DialectAsmPrinter &os) const {
      if (mlir::isa<TFTensorType>(type)) {
        os << "tf_tensor";
        return;
      }
    
      if (mlir::isa<TFAllocatorType>(type)) {
        os << "tf_allocator";
        return;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc

      return mlir::Type();
    }
    
    // Print a type registered to this dialect.
    void TensorflowMlrtDialect::printType(mlir::Type type,
                                          mlir::DialectAsmPrinter &os) const {
      if (mlir::isa<TFTensorType>(type)) {
        os << "tensor";
        return;
      }
    
      llvm_unreachable("unexpected tf_mlrt type kind");
    }
    
    }  // namespace tf_mlrt
    }  // namespace tensorflow
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

      return mlir::Type();
    }
    
    // Print a type registered to this dialect.
    void MlrtDialect::printType(mlir::Type type,
                                mlir::DialectAsmPrinter &os) const {
      if (mlir::isa<FutureType>(type)) {
        os << "future";
        return;
      }
    
      if (mlir::isa<PromiseType>(type)) {
        os << "promise";
        return;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top