Program Listing for File tf_private.h
↰ Return to documentation for file (source/api_cc/include/tf_private.h
)
// SPDX-License-Identifier: LGPL-3.0-or-later
#include <tensorflow/core/graph/default_device.h>
#include <tensorflow/core/graph/graph_def_builder.h>
#include "tensorflow/core/platform/env.h"
#include "tensorflow/core/public/session.h"
#include "tensorflow/core/public/version.h"
namespace deepmd {
#if TF_MAJOR_VERSION >= 2 && TF_MINOR_VERSION >= 2
typedef tensorflow::tstring STRINGTYPE;
#else
typedef std::string STRINGTYPE;
#endif
} // namespace deepmd