Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for DialectAsmPrinter (0.12 sec)

  1. tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc

      } else {
        parser.emitError(parser.getNameLoc(), "unknown type " + typeNameSpelling);
        return {};
      }
    }
    
    void TFRDialect::printType(Type type, DialectAsmPrinter &os) const {
      llvm::ArrayRef<StringAttr> attrs;
    
      if (type.isa<TFRAttrType>()) {
        os << "attr";
        return;
      }
      if (auto tensor_ty = type.dyn_cast<TFRTensorType>()) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 21 16:55:41 UTC 2023
    - 38.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc

      parser.emitError(parser.getNameLoc())
          << "unknown tf_executor type: " << data_type;
      return nullptr;
    }
    
    void TensorFlowExecutorDialect::printType(Type type,
                                              DialectAsmPrinter &os) const {
      if (mlir::isa<ControlType>(type)) {
        os << "control";
        return;
      }
      if (mlir::isa<TokenType>(type)) {
        os << "token";
        return;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 42.7K bytes
    - Viewed (0)
Back to top