1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-12-02 15:59:45 +01:00
tensorflow-haskell/docs/haddock/tensorflow-queue-0.1.0.0/tensorflow-queue.txt

26 lines
758 B
Text
Raw Normal View History

-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | Basic access to TensorFlow queues.
--
-- Please see README.md
@package tensorflow-queue
@version 0.1.0.0
-- | Queues in TensorFlow graph. Very limited support for now.
module TensorFlow.Queue
2017-04-08 16:14:47 +02:00
-- | A queue carrying tuples.
data Queue (as :: [*])
-- | Creates a new queue with the given capacity and shared name.
2017-04-08 16:14:47 +02:00
makeQueue :: (MonadBuild m, TensorTypes as) => Int64 -> ByteString -> m (Queue as)
-- | Adds the given values to the queue.
2017-04-08 16:14:47 +02:00
enqueue :: (MonadBuild m, TensorTypes as) => Queue as -> TensorList v as -> m ControlNode
-- | Retrieves the values from the queue.
2017-04-08 16:14:47 +02:00
dequeue :: (MonadBuild m, TensorTypes as) => Queue as -> m (TensorList Value as)