Class

org.platanios.tensorflow.api.ops.lookup

InitializableLookupTable

Related Doc: package lookup

Permalink

abstract class InitializableLookupTable extends LookupTable

Initializable lookup table that is constructed from an existing lookup table handle.

Note that even though the caller needs to provide an initializer for this table, the caller also needs to make sure to execute the initialization op.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. InitializableLookupTable
  2. LookupTable
  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 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.

    Definition Classes
    LookupTable
    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. val defaultValue: Output

    Permalink

    Default value to use if a key is missing from the table.

  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. val handle: Output

    Permalink

    Resource handle to a lookup table.

  13. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  14. def initialize(name: String = "Initialize"): Op

    Permalink

    Creates and returns an op used to initialize this table.

    Creates and returns an op used to initialize this table.

    name

    Name for the created op.

    returns

    Created op.

    Definition Classes
    InitializableLookupTableLookupTable
  15. val initializer: LookupTableInitializer

    Permalink

    Lookup table initializer to use.

    Lookup table initializer to use.

    Attributes
    protected
  16. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Data type of the table keys.

    Data type of the table keys.

    Definition Classes
    LookupTable
  18. 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.

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

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

  19. val name: String

    Permalink

    Name of this lookup table.

    Name of this lookup table.

    Definition Classes
    LookupTable
  20. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  23. 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.

    Definition Classes
    InitializableLookupTableLookupTable
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

    Permalink

    Data type of the table values.

    Data type of the table values.

    Definition Classes
    LookupTable
  27. final def wait(): Unit

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

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

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

Inherited from LookupTable

Inherited from AnyRef

Inherited from Any

Ungrouped