chromium/services/webnn/public/mojom/operand_descriptor_mojom_traits.cc

// 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.

#include "services/webnn/public/mojom/operand_descriptor_mojom_traits.h"

#include "base/types/expected.h"

namespace mojo {

namespace {

webnn::OperandDataType FromMojoDataType(webnn::mojom::DataType data_type) {}

webnn::mojom::DataType ToMojoDataType(webnn::OperandDataType data_type) {}

}  // namespace

// static
webnn::mojom::DataType StructTraits<webnn::mojom::OperandDescriptorDataView,
                                    webnn::OperandDescriptor>::
    data_type(const webnn::OperandDescriptor& descriptor) {}

// static
bool StructTraits<webnn::mojom::OperandDescriptorDataView,
                  webnn::OperandDescriptor>::
    Read(webnn::mojom::OperandDescriptorDataView data,
         webnn::OperandDescriptor* out) {}

}  // namespace mojo