ShapeAndType Constructor and Destructor

Description

Constructs or destructs an object of class ShapeAndType.

Prototype

ShapeAndType()

~ShapeAndType()

ShapeAndType(const Shape &shape, DataType data_type)

Parameters

Parameter

Input/Output

Description

shape

Input

Shape to set.

data_type

Input

Data type to set.

Returns

An object of the ShapeAndType class.

Exception Handling

None

Restrictions

None