Shaped

رابط عمومی شکل
زیر کلاس های غیر مستقیم شناخته شده

Any data container with a given Shape .

Public Methods

abstract int
rank ()
abstract Shape
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