Home
last modified time | relevance | path

Searched refs:emitOptionalError (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/
Dshape_inference_utils.cc135 return emitOptionalError( in EmitErrorFromShapeFunction()
188 return emitOptionalError(location, "op is unregistered"); in InferReturnTypeComponentsForTFOp()
199 return emitOptionalError(location, "op is unregistered"); in InferReturnTypeComponentsForTFOp()
205 return emitOptionalError(location, "missing shape function"); in InferReturnTypeComponentsForTFOp()
217 return emitOptionalError(location, attr_status.error_message()); in InferReturnTypeComponentsForTFOp()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_a_m.cc1473 if (!value) return emitOptionalError(location, "missing attribute 'value'"); in inferReturnTypes()
1478 return emitOptionalError(location, in inferReturnTypes()
1492 return emitOptionalError( in VerifyConvOpAttributes()
1498 return emitOptionalError(location, "requires positive strides"); in VerifyConvOpAttributes()
1502 return emitOptionalError( in VerifyConvOpAttributes()
1505 return emitOptionalError(location, "requires positive dilations"); in VerifyConvOpAttributes()
1586 return emitOptionalError(location, "Invalid data format provided"); in inferConvReturnTypes()
1591 return emitOptionalError(location, "Invalid padding format provided"); in inferConvReturnTypes()
1605 return emitOptionalError(location, "requires operands to be ", num_dims, in inferConvReturnTypes()
1610 return emitOptionalError(location, in inferConvReturnTypes()
[all …]
Dtf_ops_n_z.cc3129 return emitOptionalError( in inferReturnTypes()
3144 return emitOptionalError( in inferReturnTypes()
3156 return emitOptionalError(location, "out of range broadcast dim"); in inferReturnTypes()
3159 return emitOptionalError(location, "broadcast_dims has duplicates"); in inferReturnTypes()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dchlo_ops.cc140 return emitOptionalError(location, "mismatched operand types"); in InferBroadcastBinaryOpReturnTypeComponents()
200 return emitOptionalError(location, "expected ShapedType"); in inferReturnTypeComponents()
Dhlo_ops.cc1134 return emitOptionalError(location, "rank-0 values cannot be concatenated"); in inferReturnTypes()
1845 return emitOptionalError(location, "incompatible operand types: ", x_type, in inferReturnTypes()
1860 return emitOptionalError(location, in inferReturnTypes()
2381 return emitOptionalError(location, "start_indices has rank ", in inferReturnTypes()
2387 return emitOptionalError( in inferReturnTypes()
2401 return emitOptionalError(location, in inferReturnTypes()
/external/llvm-project/mlir/lib/IR/
DBuiltinTypes.cpp428 return emitOptionalError(location, "invalid memref element type"), in getImpl()
434 return emitOptionalError(location, "invalid memref size"), MemRefType(); in getImpl()
/external/llvm-project/mlir/test/lib/Dialect/Test/
DTestDialect.cpp683 return emitOptionalError(location, "operand type mismatch ", in inferReturnTypes()
699 return emitOptionalError(location, "only shaped type operands allowed"); in inferReturnTypeComponents()
/external/tensorflow/tensorflow/compiler/mlir/lite/ir/
Dtfl_ops.cc1770 return emitOptionalError(loc, "input count should be equal to 1"); in inferReturnTypes()
1783 return emitOptionalError( in inferReturnTypes()
1789 return emitOptionalError(loc, "input should be of rank larger than 0"); in inferReturnTypes()
1797 return emitOptionalError( in inferReturnTypes()
1804 return emitOptionalError(loc, "output count should match 'num' attribute"); in inferReturnTypes()
/external/llvm-project/mlir/include/mlir/IR/
DDiagnostics.h471 LogicalResult emitOptionalError(Optional<Location> loc, Args &&... args) { in emitOptionalError() function