- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for ConverterErrorData (0.17 sec)
-
tensorflow/compiler/mlir/lite/metrics/types_util.cc
tflite::metrics::ConverterErrorData::ErrorCode error_code, const std::string& op_name, const Location& location) { using tflite::metrics::ConverterErrorData; ConverterErrorData error; if (!pass_name.empty()) { error.set_subcomponent(pass_name); } if (!error_message.empty()) { error.set_error_message(error_message); } if (!op_name.empty()) { error.mutable_operator_()->set_name(op_name);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/types_util.h
} }; // The comparison function for ConverterErrorData. struct ConverterErrorDataComparison { std::size_t operator()( const tflite::metrics::ConverterErrorData& a, const tflite::metrics::ConverterErrorData& b) const noexcept { return ConverterErrorDataHash()(a) == ConverterErrorDataHash()(b); } }; // Helper function to create a new ConverterErrorData.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Sep 01 16:09:28 UTC 2022 - 2.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc
error_message += note_str.substr(0, kMaxAcceptedNoteSize); error_message += "..."; } } ErrorCode error_code_enum = ConverterErrorData::UNKNOWN; bool has_valid_error_code = ConverterErrorData::ErrorCode_Parse(error_code, &error_code_enum); if (!op_name.empty() || has_valid_error_code) { error_collector_->ReportError(NewConverterErrorData(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst.h
namespace mlir { namespace TFL { // Collects errors when running the pass manager. class ErrorCollectorInstrumentation : public PassInstrumentation { using ConverterErrorData = tflite::metrics::ConverterErrorData; using ErrorCode = ConverterErrorData::ErrorCode; public: explicit ErrorCollectorInstrumentation(MLIRContext *context); private:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 3.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/error_collector_inst_test.cc
AttachErrorCode( nestedOp->emitError() << "Failed at " << nestedOp->getName().getStringRef().str() << " op", tflite::metrics::ConverterErrorData::ERROR_NEEDS_FLEX_OPS); } }); signalPassFailure(); }; }; absl::StatusOr<OwningOpRef<mlir::ModuleOp>> LoadModule( MLIRContext* context, const std::string& file_name) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 8.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_to_tfl_flatbuffer.cc
"instead. See https://www.tensorflow.org/api_docs/python/tf/compat/" "v1/enable_control_flow_v2."), tflite::metrics::ConverterErrorData::ERROR_UNSUPPORTED_CONTROL_FLOW_V1); return mlir::failure(); } return mlir::success(); } mlir::LogicalResult GraphContainsStatefulPartitionedOp(mlir::ModuleOp module) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 23.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
tflite::metrics::ConverterErrorData::ERROR_NEEDS_FLEX_OPS); } else { failed_custom_ops_[op_name].insert(op_desc); tfl::AttachErrorCode( inst->emitOpError("is neither a custom op nor a flex op"), tflite::metrics::ConverterErrorData::ERROR_NEEDS_CUSTOM_OPS); } return std::nullopt; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0)