Searched refs:optional_attr (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/compiler/mlir/xla/ |
D | attribute_exporter.cc | 118 llvm::Optional<mlir::DenseIntElementsAttr> optional_attr) { in ConvertNx2Attribute() argument 119 if (!optional_attr.hasValue()) return std::vector<std::pair<int64, int64>>{}; in ConvertNx2Attribute() 120 mlir::DenseIntElementsAttr attr = *optional_attr; in ConvertNx2Attribute()
|
D | attribute_exporter.h | 41 llvm::Optional<mlir::DenseIntElementsAttr> optional_attr);
|
/external/llvm-project/mlir/test/mlir-tblgen/ |
D | pattern.mlir | 205 …op_attribute2"() {default_valued_attr = 3 : i32, more_attr = 4 : i32, optional_attr = 2 : i32, req… 206 …%0 = "test.match_op_attribute1"() {required_attr = 1: i32, optional_attr = 2: i32, default_valued_… 219 …p_attribute2"() {default_valued_attr = 42 : i32, more_attr = 4 : i32, optional_attr = 2 : i32, req… 220 …%0 = "test.match_op_attribute1"() {required_attr = 1: i32, optional_attr = 2: i32, more_attr = 4: … 227 …%0 = "test.match_op_attribute1"() {required_attr = 1: i32, optional_attr = 2: i32, more_attr = 5: … 495 // CHECK: "test.op_m"(%arg0) {optional_attr = 314159265 : i32} : (i32) -> i32
|
/external/llvm-project/mlir/test/Conversion/SCFToGPU/ |
D | parallel_loop.mlir | 313 …cessor = 0, map = affine_map<(d0) -> (d0)>, bound = affine_map<(d0) -> (d0)>}], optional_attr = 1 } 314 // CHECK: optional_attr = 1
|
/external/llvm-project/mlir/test/lib/Dialect/Test/ |
D | TestOps.td | 631 let arguments = (ins I32, OptionalAttr<I32Attr>:$optional_attr); 950 OptionalAttr<I32Attr>:$optional_attr,
|