#include "services/webnn/public/mojom/webnn_context_properties.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "services/webnn/public/mojom/webnn_context_properties.mojom-params-data.h"
namespace webnn {
namespace mojom {
NOINLINE static const char* InputOperandLayoutToStringHelper(InputOperandLayout value) { … }
std::string InputOperandLayoutToString(InputOperandLayout value) { … }
std::ostream& operator<<(std::ostream& os, InputOperandLayout value) { … }
NOINLINE static const char* Resample2DAxesToStringHelper(Resample2DAxes value) { … }
std::string Resample2DAxesToString(Resample2DAxes value) { … }
std::ostream& operator<<(std::ostream& os, Resample2DAxes value) { … }
namespace internal {
bool SupportedDataTypes_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
SupportedDataTypes_Data::SupportedDataTypes_Data()
: … { … }
bool DataTypeLimits_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
DataTypeLimits_Data::DataTypeLimits_Data()
: … { … }
bool ContextProperties_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
ContextProperties_Data::ContextProperties_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::webnn::mojom::InputOperandLayout>::WriteIntoTrace(
perfetto::TracedValue context, ::webnn::mojom::InputOperandLayout value) { … }
}
namespace perfetto {
void TraceFormatTraits<::webnn::mojom::Resample2DAxes>::WriteIntoTrace(
perfetto::TracedValue context, ::webnn::mojom::Resample2DAxes value) { … }
}