Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for NewConverterErrorData (2.08 sec)

  1. tensorflow/compiler/mlir/lite/metrics/error_collector_inst_test.cc

      auto collected_errors =
          ErrorCollector::GetErrorCollector()->CollectedErrors();
    
      EXPECT_EQ(collected_errors.size(), 3);
      EXPECT_EQ(collected_errors.count(NewConverterErrorData(
                    "MockFailurePass",
                    "Failed at tf.Const op\nsee current operation: %0 = "
                    "\"tf.Const\"() <{value = dense<1> : tensor<4xi32>}> : () -> "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc

              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(
                    pass_name_, error_message, error_code_enum, op_name, loc));
              } else {
                common_error_message_ += diag.str();
                common_error_message_ += "\n";
              }
            }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 25 01:48:36 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/metrics/types_util.h

        return ConverterErrorDataHash()(a) == ConverterErrorDataHash()(b);
      }
    };
    
    // Helper function to create a new ConverterErrorData.
    tflite::metrics::ConverterErrorData NewConverterErrorData(
        const std ::string& pass_name, const std::string& error_message,
        tflite::metrics::ConverterErrorData::ErrorCode error_code,
        const std::string& op_name, const Location& location);
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 01 16:09:28 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/metrics/types_util.cc

                  locations,
                  [&](Location l) { LocationExtractor(l).Extract(error_data); },
                  [&]() {});
            });
      }
    };
    }  // namespace
    
    tflite::metrics::ConverterErrorData NewConverterErrorData(
        const std ::string& pass_name, const std::string& error_message,
        tflite::metrics::ConverterErrorData::ErrorCode error_code,
        const std::string& op_name, const Location& location) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top