Searched refs:emitOptionalError (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/utils/ |
D | shape_inference_utils.cc | 135 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/ |
D | tf_ops_a_m.cc | 1473 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 …]
|
D | tf_ops_n_z.cc | 3129 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/ |
D | chlo_ops.cc | 140 return emitOptionalError(location, "mismatched operand types"); in InferBroadcastBinaryOpReturnTypeComponents() 200 return emitOptionalError(location, "expected ShapedType"); in inferReturnTypeComponents()
|
D | hlo_ops.cc | 1134 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/ |
D | BuiltinTypes.cpp | 428 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/ |
D | TestDialect.cpp | 683 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/ |
D | tfl_ops.cc | 1770 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/ |
D | Diagnostics.h | 471 LogicalResult emitOptionalError(Optional<Location> loc, Args &&... args) { in emitOptionalError() function
|