mirror of https://github.com/llvm/torch-mlir
32 lines
941 B
C
32 lines
941 B
C
|
//===------------------------------------------------------------*- C++ -*-===//
|
||
|
//
|
||
|
// This file is licensed under the Apache License v2.0 with LLVM Exceptions.
|
||
|
// See https://llvm.org/LICENSE.txt for license information.
|
||
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
#ifndef NPCOMP_DIALECT_REFBACKRT_IR_REFBACKRTDIALECT_H
|
||
|
#define NPCOMP_DIALECT_REFBACKRT_IR_REFBACKRTDIALECT_H
|
||
|
|
||
|
#include "mlir/IR/Dialect.h"
|
||
|
|
||
|
namespace mlir {
|
||
|
namespace NPCOMP {
|
||
|
namespace refbackrt {
|
||
|
|
||
|
class TensorType : public Type::TypeBase<TensorType, Type, TypeStorage> {
|
||
|
public:
|
||
|
using Base::Base;
|
||
|
|
||
|
static TensorType get(MLIRContext *context) { return Base::get(context); }
|
||
|
};
|
||
|
|
||
|
} // namespace refbackrt
|
||
|
} // namespace NPCOMP
|
||
|
} // namespace mlir
|
||
|
|
||
|
#include "npcomp/Dialect/Refbackrt/IR/RefbackrtOpsDialect.h.inc"
|
||
|
|
||
|
#endif // NPCOMP_DIALECT_REFBACKRT_IR_REFBACKRTDIALECT_H
|