mirror of
https://github.com/tensorflow/haskell.git
synced 2024-12-26 03:29:45 +01:00
25 lines
758 B
Text
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)
|