MLIR
22.0.0git
|
Specialization of linalg.batch_matmul
op that has a transpose map on B.
More...
#include "mlir/Dialect/Linalg/IR/Linalg.h"
Static Public Member Functions | |
::mlir::TypeID | resolveTypeID () |
static void | build (OpBuilder &builder, OperationState &result, ValueRange inputs, ValueRange outputs, ArrayRef< NamedAttribute > attributes={}) |
Build a transpose B matmul. More... | |
static BatchMatmulTransposeBOp | create (OpBuilder &builder, Location location, ValueRange inputs, ValueRange outputs, ArrayRef< NamedAttribute > attributes={}) |
static void | build (OpBuilder &builder, OperationState &result, TypeRange resultTensorTypes, ValueRange inputs, ValueRange outputs, ArrayRef< NamedAttribute > attributes={}) |
Build a transpose B matmul with a specific result type. More... | |
static BatchMatmulTransposeBOp | create (OpBuilder &builder, Location location, TypeRange resultTensorTypes, ValueRange inputs, ValueRange outputs, ArrayRef< NamedAttribute > attributes={}) |
static void | build (OpBuilder &builder, OperationState &result, TypeRange resultTensorTypes, ValueRange inputs, ValueRange outputs, Attribute cast, ArrayRef< NamedAttribute > attributes={}) |
Build a transpose B matmul with a specific result type and a cast type. More... | |
static BatchMatmulTransposeBOp | create (OpBuilder &builder, Location location, TypeRange resultTensorTypes, ValueRange inputs, ValueRange outputs, Attribute cast, ArrayRef< NamedAttribute > attributes={}) |
static bool | isDefaultIndexingMaps (Attribute attr) |
Checks if the affine map is the expected one for this operation. More... | |
static bool | classof (Operation *op) |
Specialization of linalg.batch_matmul
op that has a transpose map on B.
|
static |
Build a transpose B matmul with a specific result type.
Definition at line 4284 of file LinalgOps.cpp.
References buildMatmulOp().
|
static |
Build a transpose B matmul with a specific result type and a cast type.
Definition at line 4305 of file LinalgOps.cpp.
References mlir::OperationState::addAttribute(), and buildMatmulOp().
|
static |
Build a transpose B matmul.
Definition at line 4265 of file LinalgOps.cpp.
References buildMatmulOp().
|
static |
Definition at line 4327 of file LinalgOps.cpp.
References mlir::Operation::getAttr(), and isDefaultIndexingMaps().
|
static |
Definition at line 4294 of file LinalgOps.cpp.
|
static |
Definition at line 4316 of file LinalgOps.cpp.
|
static |
Definition at line 4274 of file LinalgOps.cpp.
Referenced by mlir::linalg::transposeBatchMatmul().
|
static |
Checks if the affine map is the expected one for this operation.
Definition at line 4251 of file LinalgOps.cpp.
References mlir::remark::failed(), and mlir::linalg::getAffineResultPositions().
Referenced by classof().
|
inlinestatic |