blob: d5b065ce873965a55b1cd8e420a4184959f289b9 [file] [log] [blame]
/*
* Copyright (c) 2019, Alliance for Open Media. All rights reserved
*
* This source code is subject to the terms of the BSD 2 Clause License and
* the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
* was not distributed with this source code in the LICENSE file, you can
* obtain it at www.aomedia.org/license/software. If the Alliance for Open
* Media Patent License 1.0 was not distributed with this source code in the
* PATENTS file, you can obtain it at www.aomedia.org/license/patent.
*/
// example.cpp
#include <stdio.h>
#include "tensorflow/core/platform/env.h"
#include "tensorflow/core/public/session.h"
#include "third_party/googletest/src/googletest/include/gtest/gtest.h"
class TensorflowLinkTest : public ::testing::Test {};
TEST_F(TensorflowLinkTest, TestTensorflowFunctionCalls) {
tensorflow::Session *session;
tensorflow::Status status =
NewSession(tensorflow::SessionOptions(), &session);
EXPECT_TRUE(status.ok());
}