Object/Trait

org.platanios.tensorflow.api.types

DataType

Related Docs: trait DataType | package types

Permalink

object DataType

Contains all supported data types along with some helper functions for dealing with them.

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

Type Members

  1. trait Aux[T] extends DataType

    Permalink

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 clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val complexDataTypes: Set[DataType]

    Permalink

    Set of all complex data types.

  7. def dataTypeOf[T](value: T)(implicit arg0: SupportedType[T]): DataType

    Permalink

    Returns the DataType of the provided value.

    Returns the DataType of the provided value.

    value

    Value whose data type to return.

    returns

    Data type of the provided value.

    Annotations
    @inline()
  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. val floatingPointDataTypes: Set[DataType]

    Permalink

    Set of all floating-point data types.

  12. def fromCValue(cValue: Int): DataType

    Permalink

    Returns the data type corresponding to the provided C value.

    Returns the data type corresponding to the provided C value.

    By C value here we refer to an integer representing a data type in the TF_DataType enum of the TensorFlow C API.

    cValue

    C value.

    returns

    Data type corresponding to the provided C value.

    Annotations
    @throws( ... )
    Exceptions thrown

    IllegalArgumentException If an invalid C value is provided.

  13. def fromName(name: String): DataType

    Permalink

    Returns the data type corresponding to the provided name.

    Returns the data type corresponding to the provided name.

    name

    Data type name.

    returns

    Data type corresponding to the provided C value.

    Annotations
    @throws( ... )
    Exceptions thrown

    IllegalArgumentException If an invalid data type name is provided.

  14. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. val integerDataTypes: Set[DataType]

    Permalink

    Set of all integer data types.

  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def leastPrecise(dataTypes: DataType*): DataType

    Permalink

    Returns the most precise data type out of the provided data types, based on their priority field.

    Returns the most precise data type out of the provided data types, based on their priority field.

    dataTypes

    Data types out of which to pick the most precise.

    returns

    Most precise data type in dataTypes.

  19. def mostPrecise(dataTypes: DataType*): DataType

    Permalink

    Returns the most precise data type out of the provided data types, based on their priority field.

    Returns the most precise data type out of the provided data types, based on their priority field.

    dataTypes

    Data types out of which to pick the most precise.

    returns

    Most precise data type in dataTypes.

  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. val numericDataTypes: Set[DataType]

    Permalink

    Set of all numeric data types.

  24. val quantizedDataTypes: Set[DataType]

    Permalink

    Set of all quantized data types.

  25. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  27. val unsignedDataTypes: Set[DataType]

    Permalink

    Set of all unsigned data types.

  28. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped