Object/Class

org.platanios.tensorflow.api.core

Shape

Related Docs: class Shape | package core

Permalink

object Shape

Contains helper functions for creating Shape objects.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Shape
  2. AnyRef
  3. 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. def apply(dimensions: Array[Int]): Shape

    Permalink

    Creates a shape with the specified dimension sizes.

    Creates a shape with the specified dimension sizes.

    dimensions

    Dimension sizes.

  5. def apply(dimensions: Int*): Shape

    Permalink

    Creates a shape with the specified dimension sizes.

    Creates a shape with the specified dimension sizes.

    dimensions

    Dimension sizes.

  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def create(dimensions: Array[Int]): Shape

    Permalink

    Creates a shape with the specified dimension sizes.

    Creates a shape with the specified dimension sizes.

    dimensions

    Dimension sizes.

  9. def create(dimensions: Int*): Shape

    Permalink

    Creates a shape with the specified dimension sizes.

    Creates a shape with the specified dimension sizes.

    dimensions

    Dimension sizes.

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. def fromProto(tensorShapeProto: TensorShapeProto): Shape

    Permalink

    Creates a shape from the provided TensorShapeProto object.

    Creates a shape from the provided TensorShapeProto object.

    tensorShapeProto

    Serialized shape object.

    returns

    Constructed Shape.

  14. def fromSeq(dimensions: Seq[Int]): Shape

    Permalink

    Creates a shape with the specified dimension sizes.

    Creates a shape with the specified dimension sizes.

    dimensions

    Dimension sizes.

  15. def fromTensorShapeProto(tensorShapeProto: TensorShapeProto): Shape

    Permalink

    Creates a shape from the provided TensorShapeProto object.

    Creates a shape from the provided TensorShapeProto object.

    tensorShapeProto

    Serialized shape object.

    returns

    Constructed Shape.

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

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

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

    Permalink
    Definition Classes
    Any
  19. def matrix(numRows: Int, numColumns: Int): Shape

    Permalink

    Creates a shape representing a matrix with the specified number of rows and columns.

    Creates a shape representing a matrix with the specified number of rows and columns.

    numRows

    Matrix number of rows.

    numColumns

    Matrix number of columns.

  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 scalar(): Shape

    Permalink

    Creates a shape representing a scalar.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def unknown(rank: Int = 1): Shape

    Permalink

    Creates an unknown shape, optionally with a known rank.

    Creates an unknown shape, optionally with a known rank.

    rank

    Optional rank of the shape to create. If set to -1, then it is considered unknown.

  27. def vector(length: Int): Shape

    Permalink

    Creates a shape representing a vector with the specified length.

    Creates a shape representing a vector with the specified length.

    length

    Vector length.

  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