Shaped

공개 인터페이스 모양
알려진 간접 하위 클래스

Any data container with a given Shape .

Public Methods

abstract int
rank ()
abstract Shape
모양 ()
abstract long
size ()
Computes and returns the total size of this container, in number of values.

Public Methods

public abstract int rank ()

보고
  • the rank of this container

public abstract Shape shape ()

보고
  • the shape of this container

public abstract long size ()

Computes and returns the total size of this container, in number of values.

For example, given a 3x3x2 matrix, the return value will be 18.

보고
  • number of values in this element