#ifndef SERVICES_WEBNN_COREML_GRAPH_BUILDER_COREML_H_
#define SERVICES_WEBNN_COREML_GRAPH_BUILDER_COREML_H_
#include <cstdint>
#include <memory>
#include <string_view>
#include "base/containers/flat_map.h"
#include "base/files/file_path.h"
#include "base/memory/raw_ptr.h"
#include "base/memory/stack_allocated.h"
#include "base/numerics/checked_math.h"
#include "base/types/expected.h"
#include "services/webnn/public/cpp/context_properties.h"
#include "services/webnn/public/cpp/operand_descriptor.h"
#include "services/webnn/public/mojom/webnn_context_provider.mojom.h"
#include "services/webnn/public/mojom/webnn_error.mojom-forward.h"
#include "services/webnn/public/mojom/webnn_graph.mojom.h"
#include "third_party/coremltools/mlmodel/format/MIL.pb.h"
#include "third_party/coremltools/mlmodel/format/Model.pb.h"
namespace webnn::coreml {
struct Float16 { … };
namespace internal {
IsAnyOf;
IsSupportedTensorType;
}
inline constexpr char kPlaceholderInputName[] = …;
std::string GetCoreMLNameFromInput(std::string_view input_name,
uint64_t operand_id);
std::string GetCoreMLNameFromOutput(std::string_view output_name,
uint64_t operand_id);
class GraphBuilderCoreml { … };
}
#endif