1
0
Fork 0
mirror of https://github.com/tensorflow/haskell.git synced 2024-11-23 11:29:43 +01:00
tensorflow-haskell/docs/haddock/tensorflow-queue-0.1.0.0/tensorflow-queue.txt
2017-04-08 07:14:47 -07:00

25 lines
758 B
Text

-- 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
-- | A queue carrying tuples.
data Queue (as :: [*])
-- | Creates a new queue with the given capacity and shared name.
makeQueue :: (MonadBuild m, TensorTypes as) => Int64 -> ByteString -> m (Queue as)
-- | Adds the given values to the queue.
enqueue :: (MonadBuild m, TensorTypes as) => Queue as -> TensorList v as -> m ControlNode
-- | Retrieves the values from the queue.
dequeue :: (MonadBuild m, TensorTypes as) => Queue as -> m (TensorList Value as)