// Copyright 2024 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef SERVICES_WEBNN_PUBLIC_CPP_CONTEXT_PROPERTIES_H_ #define SERVICES_WEBNN_PUBLIC_CPP_CONTEXT_PROPERTIES_H_ #include "services/webnn/public/cpp/data_type_limits.h" namespace webnn { // Represents the `MLInputOperandLayout` that specifies the layout format of // the input tensor. N is the batch, C is input channels, H is height and W is // the width of the tensor. enum class InputOperandLayout { … }; enum class Resample2DAxes { … }; struct COMPONENT_EXPORT(WEBNN_PUBLIC_CPP) ContextProperties { … }; inline bool operator==(const ContextProperties& lhs, const ContextProperties& rhs) { … } } // namespace webnn #endif // SERVICES_WEBNN_PUBLIC_CPP_CONTEXT_PROPERTIES_H_