{-# LANGUAGE OverloadedStrings #-}
module TensorFlow.Examples.MNIST.TrainedGraph where
import Paths_tensorflow_mnist (getDataFileName)
import Data.ByteString (ByteString)
import Data.ByteString.Char8 (pack)
mnistPb :: IO FilePath
mnistPb :: IO FilePath
mnistPb = FilePath -> IO FilePath
getDataFileName "data/MNIST.pb"
wtsCkpt, biasCkpt :: IO ByteString
wtsCkpt :: IO ByteString
wtsCkpt = FilePath -> ByteString
pack (FilePath -> ByteString) -> IO FilePath -> IO ByteString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> FilePath -> IO FilePath
getDataFileName "data/MNISTWts.ckpt"
biasCkpt :: IO ByteString
biasCkpt = FilePath -> ByteString
pack (FilePath -> ByteString) -> IO FilePath -> IO ByteString
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
<$> FilePath -> IO FilePath
getDataFileName "data/MNISTBias.ckpt"