14#ifndef MLIR_DIALECT_SHAPE_IR_SHAPE_H
15#define MLIR_DIALECT_SHAPE_IR_SHAPE_H
19#define GET_TYPEDEF_CLASSES
20#include "mlir/Dialect/Shape/IR/ShapeOpsTypes.h.inc"
29 int64_t rank = ShapedType::kDynamic);
35LogicalResult
getShapeVec(Value input, SmallVectorImpl<int64_t> &shapeValues);
41#include "mlir/Dialect/Shape/IR/ShapeOps.h.inc"
43#include "mlir/Dialect/Shape/IR/ShapeOpsDialect.h.inc"
bool isExtentTensorType(Type)
LogicalResult getShapeVec(Value input, SmallVectorImpl< int64_t > &shapeValues)
RankedTensorType getExtentTensorType(MLIRContext *ctx, int64_t rank=ShapedType::kDynamic)
Alias type for extent tensors.
Include the generated interface declarations.