blob: b3499cdecf01f19918c66df84af87b0c7ad89cb2 [file] [log] [blame]
Michael Martisc22823d2018-09-14 12:54:04 +10001// Copyright 2018 The Chromium OS Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "ml/test_utils.h"
6
7namespace ml {
8
9std::string GetTestModelDir() {
10 const char* const temp_dir = getenv("T");
11 CHECK_NE(temp_dir, nullptr);
12 return std::string(temp_dir) + "/ml_models/";
13}
14
15} // namespace ml