Class

org.platanios.tensorflow.api.ops.lookup

LookupTable

Related Doc: package lookup

Permalink

abstract class LookupTable extends AnyRef

Lookup table that persists across different session runs.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LookupTable
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LookupTable(keysDataType: types.DataType, valuesDataType: types.DataType, name: String)

    Permalink

    keysDataType

    Data type of the table keys.

    valuesDataType

    Data type of the table values.

    name

    Name of this lookup table.

Abstract Value Members

  1. abstract def initialize(name: String = "Initialize"): Op

    Permalink

    Creates an op used to initialize this table.

    Creates an op used to initialize this table.

    name

    Name for the created op.

    returns

    Created op.

  2. abstract def lookup[T <: OutputLike](keys: T, name: String = "Lookup")(implicit arg0: OutputOps[T]): T

    Permalink

    Creates an op that looks up the provided keys in this table and returns the corresponding values.

    Creates an op that looks up the provided keys in this table and returns the corresponding values.

    keys

    Tensor containing the keys to look up.

    name

    Name for the created op.

    returns

    Created op output.

    Annotations
    @throws( ... )
    Exceptions thrown

    InvalidDataTypeException If the provided keys data types does not match the keys data type of this table.

  3. abstract def size(name: String = "Size"): Output

    Permalink

    Creates an op that computes the number of elements in this table.

    Creates an op that computes the number of elements in this table.

    name

    Name for the created op.

    returns

    Created op output.

Concrete 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 checkDataTypes(keysDataType: types.DataType, valuesDataType: types.DataType): Unit

    Permalink

    Checks that the provided keys and values data types match those expected for this lookup table and throws an InvalidDataTypeException if they do not.

    Checks that the provided keys and values data types match those expected for this lookup table and throws an InvalidDataTypeException if they do not.

    keysDataType

    Provided keys data type to check.

    valuesDataType

    Provided values data type to check.

    Annotations
    @throws( ... )
    Exceptions thrown

    InvalidDataTypeException If any of the provided data type does not match the corresponding expected type.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  13. val keysDataType: types.DataType

    Permalink

    Data type of the table keys.

  14. val name: String

    Permalink

    Name of this lookup table.

  15. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. val valuesDataType: types.DataType

    Permalink

    Data type of the table values.

  21. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped