Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for DialectAsmPrinter (0.34 sec)

  1. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.h

      static llvm::StringRef getDialectNamespace() { return "mlrt"; }
    
      mlir::Type parseType(mlir::DialectAsmParser &parser) const override;
      void printType(mlir::Type type, mlir::DialectAsmPrinter &os) const override;
    };
    
    // The MLIR type represents a C++ mlrt::Future.
    class FutureType
        : public mlir::Type::TypeBase<FutureType, mlir::Type, mlir::TypeStorage> {
     public:
      using Base::Base;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback.h

     public:
      explicit FallbackDialect(MLIRContext *context);
      static StringRef getDialectNamespace() { return "tfrt_fallback"; }
    
      Type parseType(DialectAsmParser &parser) const override;
      void printType(Type type, DialectAsmPrinter &os) const override;
    };
    
    // The MLIR type represents a tensorflow::Tensor.
    class TFTensorType : public Type::TypeBase<TFTensorType, Type, TypeStorage> {
     public:
      using Base::Base;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.h

      static llvm::StringRef getDialectNamespace() { return "tf_mlrt"; }
    
      mlir::Type parseType(mlir::DialectAsmParser &parser) const override;
      void printType(mlir::Type type, mlir::DialectAsmPrinter &os) const override;
    };
    
    // The MLIR type represents a tensorflow::Tensor.
    class TFTensorType
        : public mlir::Type::TypeBase<TFTensorType, mlir::Type, mlir::TypeStorage> {
     public:
      using Base::Base;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/ir/tfr_ops.h

      // Parse a type registered to this dialect.
      Type parseType(DialectAsmParser &parser) const override;
    
      // Prints a type registered to this dialect.
      void printType(Type ty, DialectAsmPrinter &os) const override;
    };
    
    }  // namespace TFR
    }  // namespace mlir
    
    #define GET_OP_CLASSES
    #include "tensorflow/compiler/mlir/tfr/ir/tfr_ops.h.inc"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 01 14:00:36 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_executor.h

      // Parses a type registered to this dialect.
      Type parseType(DialectAsmParser &parser) const override;
    
      // Prints a type registered to this dialect.
      void printType(Type type, DialectAsmPrinter &os) const override;
    };
    
    // The Control type is a token-like value that models control dependencies from
    // TensorFlow graphs.
    class ControlType : public Type::TypeBase<ControlType, Type, TypeStorage> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 05 07:17:01 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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