webnn: Reorder some MLTensor-related declarations to be alphabetical
These lists of declarations were made out of order during the various refactoring CLs to address https://crbug.com/361372446 This CL has no behavioral changes Bug: 361372446 Change-Id: I0f139135547255b644ab8d4f382b1026d808fa53 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5858248 Auto-Submit: Austin Sullivan <asully@chromium.org> Commit-Queue: ningxin hu <ningxin.hu@intel.com> Commit-Queue: Austin Sullivan <asully@chromium.org> Reviewed-by: ningxin hu <ningxin.hu@intel.com> Cr-Commit-Position: refs/heads/main@{#1354890}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
969f106fac
commit
a6f28b672d
services/webnn
@ -12,10 +12,10 @@
|
||||
namespace webnn {
|
||||
|
||||
// Bad messages Mojo errors.
|
||||
inline constexpr char kBadMessageInvalidTensor[] =
|
||||
"Invalid tensor from renderer.";
|
||||
inline constexpr char kBadMessageInvalidGraph[] =
|
||||
"Invalid graph from renderer.";
|
||||
inline constexpr char kBadMessageInvalidTensor[] =
|
||||
"Invalid tensor from renderer.";
|
||||
inline constexpr char kBadMessageOnBuiltGraphBuilder[] =
|
||||
"Invalid message on an MLGraphBuilder which has already built a graph.";
|
||||
|
||||
|
@ -17,7 +17,7 @@ template <typename T, typename... U>
|
||||
concept IsAnyOf = (std::same_as<T, U> || ...);
|
||||
template <typename T>
|
||||
concept IsSupportedTokenType =
|
||||
IsAnyOf<T, blink::WebNNTensorToken, blink::WebNNContextToken>;
|
||||
IsAnyOf<T, blink::WebNNContextToken, blink::WebNNTensorToken>;
|
||||
} // namespace internal
|
||||
|
||||
template <typename WebNNTokenType>
|
||||
|
Reference in New Issue
Block a user