chromium/components/segmentation_platform/public/result.cc

// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "components/segmentation_platform/public/result.h"

#include <sstream>
#include <string_view>

namespace segmentation_platform {

namespace {

std::string StatusToString(PredictionStatus status) {}

}  // namespace

ClassificationResult::ClassificationResult(PredictionStatus status)
    :{}

ClassificationResult::~ClassificationResult() = default;

ClassificationResult::ClassificationResult(const ClassificationResult&) =
    default;

ClassificationResult& ClassificationResult::operator=(
    const ClassificationResult&) = default;

std::string ClassificationResult::ToDebugString() const {}

AnnotatedNumericResult::AnnotatedNumericResult(PredictionStatus status)
    :{}

AnnotatedNumericResult::~AnnotatedNumericResult() = default;

AnnotatedNumericResult::AnnotatedNumericResult(const AnnotatedNumericResult&) =
    default;

AnnotatedNumericResult& AnnotatedNumericResult::operator=(
    const AnnotatedNumericResult&) = default;

std::optional<float> AnnotatedNumericResult::GetResultForLabel(
    std::string_view label) const {}

std::string AnnotatedNumericResult::ToDebugString() const {}

}  // namespace segmentation_platform