chromium/components/segmentation_platform/embedder/default_model/shopping_user_model.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/embedder/default_model/shopping_user_model.h"

#include <array>

#include "base/task/sequenced_task_runner.h"
#include "components/segmentation_platform/internal/metadata/metadata_writer.h"
#include "components/segmentation_platform/public/config.h"
#include "components/segmentation_platform/public/constants.h"
#include "components/segmentation_platform/public/features.h"
#include "components/segmentation_platform/public/model_provider.h"
#include "components/segmentation_platform/public/proto/model_metadata.pb.h"

namespace segmentation_platform {

namespace {
SegmentId;

// Default parameters for shopping user model.
constexpr SegmentId kShoppingUserSegmentId =;
constexpr int64_t kShoppingUserSignalStorageLength =;
constexpr int64_t kShoppingUserMinSignalCollectionLength =;
constexpr int64_t kModelVersion =;

// InputFeatures.

constexpr std::array<int32_t, 1> kProductDetailAvailableEnums{};
constexpr std::array<float, 1> kShoppingUserDefaultValue{};

constexpr std::array<MetadataWriter::UMAFeature, 3> kShoppingUserUMAFeatures =;
}  // namespace

// static
std::unique_ptr<Config> ShoppingUserModel::GetConfig() {}

ShoppingUserModel::ShoppingUserModel()
    :{}

std::unique_ptr<DefaultModelProvider::ModelConfig>
ShoppingUserModel::GetModelConfig() {}

void ShoppingUserModel::ExecuteModelWithInput(
    const ModelProvider::Request& inputs,
    ExecutionCallback callback) {}

}  // namespace segmentation_platform