Namespaces | Functions
tf_utils.C File Reference
Include dependency graph for tf_utils.C:

Go to the source code of this file.

Namespaces

 tf_utils
 

Functions

static void DeallocateBuffer (void *data, size_t)
 
static TF_Buffer * ReadBufferFromFile (const char *file)
 
TF_Graph * LoadGraph (const char *graphPath)
 
void DeleteSession (TF_Session *session)
 
TF_Tensor * CreateTensor (TF_DataType data_type, const std::int64_t *dims, std::size_t num_dims, const void *data, std::size_t len)
 
void DeleteTensor (TF_Tensor *tensor)