Home
last modified time | relevance | path

Searched refs:typeNameSpelling (Results 1 – 2 of 2) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Quant/IR/
DTypeParser.cpp324 StringRef typeNameSpelling; in parseType() local
325 if (failed(parser.parseKeyword(&typeNameSpelling))) in parseType()
328 if (typeNameSpelling == "uniform") in parseType()
330 if (typeNameSpelling == "any") in parseType()
332 if (typeNameSpelling == "calibrated") in parseType()
336 "unknown quantized type " + typeNameSpelling); in parseType()
/external/tensorflow/tensorflow/compiler/mlir/tfr/ir/
Dtfr_ops.cc584 StringRef typeNameSpelling; in parseType() local
585 if (failed(parser.parseKeyword(&typeNameSpelling))) return {}; in parseType()
608 if (typeNameSpelling == "tensor") { in parseType()
610 } else if (typeNameSpelling == "tensor_list") { in parseType()
612 } else if (typeNameSpelling == "attr") { in parseType()
615 parser.emitError(parser.getNameLoc(), "unknown type " + typeNameSpelling); in parseType()