final class Shape extends Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Shape
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(dimension: Int): Shape
- def ++(other: Shape): Shape
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(slice: Slice): Shape
- def apply(dimension: Int): Int
- def asArray: Array[Int]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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])
- def assertHasRank(rank: Int): Unit
- Annotations
- @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
- def assertIsCompatibleWith(other: Shape): Unit
- Annotations
- @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
- def assertRankAtLeast(rank: Int): Unit
- Annotations
- @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
- def assertRankAtMost(rank: Int): Unit
- Annotations
- @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
- def assertSameRank(other: Shape): Unit
- Annotations
- @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def concatenateWith(other: Shape): Shape
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- Shape → AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- Shape → AnyRef → Any
- def isCompatibleWith(other: Shape): Boolean
- def isFullyDefined: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mergeWith(other: Shape): Shape
- Annotations
- @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def numElements: Long
- def rank: Int
- def reshape(shape: Shape): Shape
- Annotations
- @throws(scala.this.throws.<init>$default$1[IllegalArgumentException])
- def size(dimension: Int): Int
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toOutput: ops.Output[Int]
- def toProto: TensorShapeProto
- Definition Classes
- Shape → Serializable
- def toString(): String
- Definition Classes
- Shape → AnyRef → Any
- def toTensor: tensors.Tensor[Int]
- def toTensorShapeProto: TensorShapeProto
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withRank(rank: Int): Shape
- Annotations
- @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])
- def withRankAtLeast(rank: Int): Shape
- Annotations
- @throws(scala.this.throws.<init>$default$1[org.platanios.tensorflow.api.core.exception.InvalidShapeException])