Object

org.platanios.tensorflow.api.ops.rnn

RNN

Related Doc: package rnn

Permalink

object RNN extends RNN

Linear Supertypes
RNN, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RNN
  2. RNN
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bidirectionalDynamicRNN[O, OS, S, SS](cellFw: RNNCell[O, OS, S, SS], cellBw: RNNCell[O, OS, S, SS], input: O, initialStateFw: S = null.asInstanceOf[S], initialStateBw: S = null.asInstanceOf[S], timeMajor: Boolean = false, parallelIterations: Int = 32, swapMemory: Boolean = false, sequenceLengths: Output = null, name: String = "RNN")(implicit evO: Aux[O, OS], evS: Aux[S, SS]): (Tuple[O, S], Tuple[O, S])

    Permalink

    $OpDocRNNBidirectionalDynamicRNN

    $OpDocRNNBidirectionalDynamicRNN

    cellFw

    RNN cell to use for the forward direction.

    cellBw

    RNN cell to use for the backward direction.

    input

    Input to the RNN loop.

    initialStateFw

    Initial state to use for the forward RNN, which is a sequence of tensors with shapes [batchSize, stateSize(i)], where i corresponds to the index in that sequence. Defaults to a zero state.

    initialStateBw

    Initial state to use for the backward RNN, which is a sequence of tensors with shapes [batchSize, stateSize(i)], where i corresponds to the index in that sequence. Defaults to a zero state.

    timeMajor

    Boolean value indicating whether the inputs are provided in time-major format (i.e., have shape [time, batch, depth]) or in batch-major format (i.e., have shape [batch, time, depth]).

    parallelIterations

    Number of RNN loop iterations allowed to run in parallel.

    swapMemory

    If true, GPU-CPU memory swapping support is enabled for the RNN loop.

    sequenceLengths

    Optional INT32 tensor with shape [batchSize] containing the sequence lengths for each row in the batch.

    name

    Name prefix to use for the created ops.

    returns

    Tuple containing: (i) the forward RNN cell tuple after the forward dynamic RNN loop is completed, and (ii) the backward RNN cell tuple after the backward dynamic RNN loop is completed. The output of these tuples has a time axis prepended to the shape of each tensor and corresponds to the RNN outputs at each iteration in the loop. The state represents the RNN state at the end of the loop.

    Definition Classes
    RNN
    Annotations
    @throws( ... )
    Exceptions thrown

    InvalidShapeException If the inputs or the provided sequence lengths have invalid or unknown shapes.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dynamicRNN[O, OS, S, SS](cell: RNNCell[O, OS, S, SS], input: O, initialState: S = null.asInstanceOf[S], timeMajor: Boolean = false, parallelIterations: Int = 32, swapMemory: Boolean = false, sequenceLengths: Output = null, name: String = "RNN")(implicit evO: Aux[O, OS], evS: Aux[S, SS]): Tuple[O, S]

    Permalink

    $OpDocRNNDynamicRNN

    $OpDocRNNDynamicRNN

    cell

    RNN cell to use.

    input

    Input to the RNN loop.

    initialState

    Initial state to use for the RNN, which is a sequence of tensors with shapes [batchSize, stateSize(i)], where i corresponds to the index in that sequence. Defaults to a zero state.

    timeMajor

    Boolean value indicating whether the inputs are provided in time-major format (i.e., have shape [time, batch, depth]) or in batch-major format (i.e., have shape [batch, time, depth]).

    parallelIterations

    Number of RNN loop iterations allowed to run in parallel.

    swapMemory

    If true, GPU-CPU memory swapping support is enabled for the RNN loop.

    sequenceLengths

    Optional INT32 tensor with shape [batchSize] containing the sequence lengths for each row in the batch.

    name

    Name prefix to use for the created ops.

    returns

    RNN cell tuple after the dynamic RNN loop is completed. The output of that tuple has a time axis prepended to the shape of each tensor and corresponds to the RNN outputs at each iteration in the loop. The state represents the RNN state at the end of the loop.

    Definition Classes
    RNN
    Annotations
    @throws( ... ) @throws( ... )
    Exceptions thrown

    InvalidArgumentException If neither initialState nor zeroState is provided.

    InvalidShapeException If the inputs or the provided sequence lengths have invalid or unknown shapes.

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from RNN

Inherited from AnyRef

Inherited from Any

RNNOps

Ungrouped