- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for error_handler_ (0.26 sec)
-
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
specs_(specs), debug_info_(debug_info), function_name_for_debug_info_(function_name_for_debug_info), function_name_uniquifier_(function_name_uniquifier), error_handler_(module.getContext()) { // Log import config. if (VLOG_IS_ON(1)) { LOG(INFO) << "Importing with: " << specs.str(); for (auto& it : *tf_name_to_mlir_name) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
return success(); } mlir::LogicalResult ReshapeOp::verify() { ReshapeOp op = *this; auto error_handler = [&op](const llvm::Twine& message) -> LogicalResult { return op.emitOpError() << message; }; TensorType expected_ty; if (failed(GetReshapeOutputType(op.getInput(), op.getShape(), error_handler, expected_ty))) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
} } // namespace LogicalResult ReshapeOp::verify() { ReshapeOp op = *this; auto error_handler = [&op](const llvm::Twine &message) -> LogicalResult { return op.emitOpError() << message; }; TensorType expected_ty; if (failed(GetReshapeOutputType(op.getTensor(), op.getShape(), error_handler, expected_ty))) return failure();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
} template <typename T> static bool HasValidTFLiteType(Value value, T& error_handler) { // None type is allowed to represent unspecified operands. if (mlir::isa<NoneType>(value.getType())) return true; auto type = mlir::dyn_cast<TensorType>(value.getType()); if (!type) { if (auto op = value.getDefiningOp()) { error_handler.emitError() << '\'' << op << "' should produce value of tensor type instead of "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (2)