public class DataDesc
extends Object
A data descriptor class that encapsulates information of a
NDArray.
The information includes:
-
Constructor Summary
Constructors
Constructs and initializes a
DataDesc with specified
Shape.
Constructs and initializes a
DataDesc with specified
Shape and
DataType.
Constructs and initializes a
DataDesc with specified
Shape and name.
-
Method Summary
-
Constructor Details
-
DataDesc
public DataDesc(Shape shape)
Constructs and initializes a
DataDesc with specified
Shape.
- Parameters:
shape - the Shape of the NDArray
-
DataDesc
Constructs and initializes a
DataDesc with specified
Shape and name.
- Parameters:
shape - the Shape of the NDArray
name - the name of the NDArray
-
-
-
Method Details
-
getName
- Returns:
- the name of the
NDArray
-
setName
public void setName(String name)
- Parameters:
name - the name of the NDArray
-
-
setShape
public void setShape(Shape shape)
- Parameters:
shape - the Shape of the NDArray
-
-
-