Overview

Sets and obtains the shape and data type of an object.

Header Files to Be Included

1
#include <graph/inference_context.h>

Public Member Functions

ShapeAndType()
~ShapeAndType()
ShapeAndType(const Shape &shape, DataType data_type)
void SetShape(const Shape &shape)
const Shape &GetShape() const
void SetType(DataType data_type)
DataType GetDataType() const