https://github.com/Microsoft/CNTK
Raw File
Tip revision: 5666c0d470fdf8c708a9802e6074117795ea0596 authored by KeDengMS on 31 August 2018, 20:42:29 UTC
Upgrade to CUDA 9.2, CUDNN 7.2, NCCL 2.2.13, CUB 1.8.0
Tip revision: 5666c0d
TensorBoardUtils.h
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
//

#pragma once

#include "stdafx.h"
#include "CNTKLibrary.h"

namespace tensorflow
{
    class GraphDef;
}

namespace CNTK 
{
    namespace Internal 
    {
        ///
        /// Populates the given TensorBoard GraphDef with the graph of the given CNTK function.
        ///
        void CreateTensorBoardGraph(const FunctionPtr& src, tensorflow::GraphDef& dst);

    #ifndef CNTK_UWP
        void WriteImageToBuffer(void* matrix, DataType dtype, int height, int width, int depth, std::vector<unsigned char>& buffer);
    #endif // !CNTK_UWP

    }
}
back to top