blob: 9a19db22f978d3ca8577d0420916a0103b31a634 [file] [log] [blame] [edit]
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "ml/test_utils.h"
#include <base/check_op.h>
namespace ml {
std::string GetTestModelDir() {
const char* const temp_dir = getenv("T");
CHECK_NE(temp_dir, nullptr);
return std::string(temp_dir) + "/ml_models/";
}
} // namespace ml