Packages

final class Shape extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Shape
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(dimension: Int): Shape
  4. def ++(other: Shape): Shape
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def apply(slice: Slice): Shape
  7. def apply(dimension: Int): Int
  8. def asArray: Array[Int]
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def assertFullyDefined(message: String = s"Shape '$this' must be fully defined."): Unit
    Annotations
    @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
  11. def assertHasRank(rank: Int): Unit
    Annotations
    @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
  12. def assertIsCompatibleWith(other: Shape): Unit
    Annotations
    @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
  13. def assertRankAtLeast(rank: Int): Unit
    Annotations
    @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
  14. def assertRankAtMost(rank: Int): Unit
    Annotations
    @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
  15. def assertSameRank(other: Shape): Unit
    Annotations
    @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  17. def concatenateWith(other: Shape): Shape
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(that: Any): Boolean
    Definition Classes
    Shape → AnyRef → Any
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  21. def hashCode(): Int
    Definition Classes
    Shape → AnyRef → Any
  22. def isCompatibleWith(other: Shape): Boolean
  23. def isFullyDefined: Boolean
  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. def mergeWith(other: Shape): Shape
    Annotations
    @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  29. def numElements: Long
  30. def rank: Int
  31. def reshape(shape: Shape): Shape
    Annotations
    @throws(scala.this.throws.<init>$default$1[IllegalArgumentException])
  32. def size(dimension: Int): Int
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toOutput: ops.Output[Int]
  35. def toProto: TensorShapeProto
    Definition Classes
    ShapeSerializable
  36. def toString(): String
    Definition Classes
    Shape → AnyRef → Any
  37. def toTensor: tensors.Tensor[Int]
  38. def toTensorShapeProto: TensorShapeProto
  39. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  40. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  41. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  42. def withRank(rank: Int): Shape
    Annotations
    @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
  43. def withRankAtLeast(rank: Int): Shape
    Annotations
    @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped