2020-09-29 03:02:35 +08:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
|
|
|
// Part of the LLVM Project, 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
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "npcomp/Dialect/Torch/IR/TorchOps.h"
|
|
|
|
|
2020-09-30 05:17:34 +08:00
|
|
|
#include "mlir/IR/Builders.h"
|
|
|
|
#include "npcomp/Dialect/Basicpy/IR/BasicpyDialect.h"
|
|
|
|
#include "npcomp/Dialect/Basicpy/IR/BasicpyOps.h"
|
|
|
|
#include "npcomp/Dialect/Numpy/IR/NumpyDialect.h"
|
|
|
|
#include "npcomp/Dialect/Numpy/IR/NumpyOps.h"
|
|
|
|
|
2020-09-29 03:02:35 +08:00
|
|
|
using namespace mlir;
|
|
|
|
using namespace mlir::NPCOMP;
|
2020-09-30 05:17:34 +08:00
|
|
|
using namespace mlir::NPCOMP::Basicpy;
|
|
|
|
using namespace mlir::NPCOMP::Numpy;
|
2020-09-29 03:02:35 +08:00
|
|
|
using namespace mlir::NPCOMP::Torch;
|
|
|
|
|
|
|
|
#define GET_OP_CLASSES
|
|
|
|
#include "npcomp/Dialect/Torch/IR/TorchOps.cpp.inc"
|