Trait/Object

org.platanios.tensorflow.api.types

DataType

Related Docs: object DataType | package types

Permalink

sealed trait DataType extends AnyRef

Represents the data type of the elements in a tensor.

Linear Supertypes
Known Subclasses
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. abstract type ScalaType

    Permalink

Abstract Value Members

  1. abstract val byteSize: Int

    Permalink

    Size in bytes of each value with this data type.

    Size in bytes of each value with this data type. Returns -1 if the size is not available.

  2. abstract val name: String

    Permalink

    Name of the data type (mainly useful for logging purposes).

  3. abstract def protoType: tensorflow.framework.DataType

    Permalink

    ProtoBuf data type used in serialized representations of tensors.

  4. implicit abstract val supportedType: SupportedType[ScalaType]

    Permalink

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 cast[T](value: T)(implicit evidence: SupportedType[T]): ScalaType

    Permalink

    Casts the provided value to this data type.

    Casts the provided value to this data type.

    Note that this method allows downcasting.

    value

    Value to cast.

    returns

    Casted value.

    Annotations
    @throws( ... ) @inline()
    Exceptions thrown

    UnsupportedOperationException For unsupported data types on the Scala side.

  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(that: Any): Boolean

    Permalink
    Definition Classes
    DataType → 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
    DataType → AnyRef → Any
  12. def isBoolean: Boolean

    Permalink

    Returns true if this data type represents a boolean data type.

  13. def isComplex: Boolean

    Permalink

    Returns true if this data type represents a complex data types.

  14. def isFloatingPoint: Boolean

    Permalink

    Returns true if this data type represents a non-quantized floating-point data type.

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isInteger: Boolean

    Permalink

    Returns true if this data type represents a non-quantized integer data type.

  17. def isNumeric: Boolean

    Permalink

    Returns true if this data type represents a numeric data type.

  18. def isQuantized: Boolean

    Permalink

    Returns true if this data type represents a quantized data type.

  19. def isUnsigned: Boolean

    Permalink

    Returns true if this data type represents a non-quantized unsigned data type.

  20. def max: ScalaType

    Permalink

    Returns the largest value that can be represented by this data type.

  21. def min: ScalaType

    Permalink

    Returns the smallest value that can be represented by this data type.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def real: DataType

    Permalink

    Returns a data type that corresponds to this data type's real part.

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

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

    Permalink
    Definition Classes
    DataType → AnyRef → Any
  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