bool tensorflow::PartialTensorShapeUtils::AreCompatible(const gtl::ArraySlice< PartialTensorShape > &shapes0, const gtl::ArraySlice< PartialTensorShape > &shapes1)
Static helper routines for PartialTensorShape. Includes a few common predicates on a partially known tensor shape. Member Details string tensorflow::PartialTensorShapeUtils::PartialShapeListString(const gtl::ArraySlice< PartialTensorShape > &shapes) bool tensorflow::PartialTensorShapeUtils::AreCompatible(const gtl::ArraySlice< PartialTensorShape > &shapes0, const gtl::ArraySlice< PartialTensorShape > &shapes1)
tensorflow::PartialTensorShape::PartialTensorShape() Construct an unknown PartialTensorShape.
Status tensorflow::PartialTensorShape::MergeWith(const PartialTensorShape &shape, PartialTensorShape *result) const Merges all the dimensions from shape. Returns InvalidArgument error if either shape has a different rank or if any of the dimensions are incompatible.
static Status tensorflow::PartialTensorShape::MakePartialShape(const int32 *dims, int n, PartialTensorShape *out) Returns a PartialTensorShape whose dimensions are dims[0], dims[1], ..., dims[n-1]. Values of -1 are considered "unknown".
Status tensorflow::PartialTensorShape::IsValidShape(const TensorShapeProto &proto) Returns OK iff proto is a valid tensor shape, and a descriptive error status otherwise.
bool tensorflow::PartialTensorShape::IsValid(const TensorShapeProto &proto) Returns true iff proto is a valid partial tensor shape.
bool tensorflow::PartialTensorShape::IsFullyDefined() const Return true iff the rank and all of the dimensions are well defined.
bool tensorflow::PartialTensorShape::IsCompatibleWith(const PartialTensorShape &shape) const Return true iff the ranks match, and if the dimensions all either match or one is unknown.
gtl::ArraySlice<int64> tensorflow::PartialTensorShape::dim_sizes() const Returns sizes of all dimensions.
Page 14 of 319