tensorflow::TensorShapeUtils

Static helper routines for TensorShape. Includes a few common predicates on a tensor shape. Member Details static bool tensorflow::TensorShapeUtils::IsScalar(const TensorShape &shape) static bool tensorflow::TensorShapeUtils::IsVector(const TensorShape &shape) static bool tensorflow::TensorShapeUtils::IsVectorOrHigher(const TensorShape &shape) static bool tensorflow::TensorShapeUtils::IsMatrix(const TensorShape &shape) static bool tensorflow::TensorShapeUtils::IsSquareMatrix(con

tensorflow::TensorShapeDim::TensorShapeDim()

tensorflow::TensorShapeDim::TensorShapeDim(int64 s)

tensorflow::TensorShapeDim::size

int64 tensorflow::TensorShapeDim::size

tensorflow::TensorShapeDim

Member Details int64 tensorflow::TensorShapeDim::size tensorflow::TensorShapeDim::TensorShapeDim(int64 s)

tensorflow::TensorShape::unused_aligner

Rep64* tensorflow::TensorShape::unused_aligner

tensorflow::TensorShape::~TensorShape()

tensorflow::TensorShape::TensorShape(gtl::ArraySlice< int64 > dim_sizes) Construct a TensorShape from the provided sizes. REQUIRES: dim_sizes[i] >= 0

tensorflow::TensorShape::set_dim()

void tensorflow::TensorShape::set_dim(int d, int64 size) Modifies the size of the dimension d to be size REQUIRES: 0 <= d < dims() REQUIRES: size >= 0

tensorflow::TensorShape::RemoveDim()

void tensorflow::TensorShape::RemoveDim(int d) Removes dimension d from the TensorShape. REQUIRES: 0 <= d < dims()

tensorflow::TensorShape::operator=()

void tensorflow::TensorShape::operator=(const TensorShape &b)

tensorflow::TensorShape::operator==()

bool tensorflow::TensorShape::operator==(const TensorShape &b) const