Searched refs:MaxDimensions (Results 1 – 4 of 4) sorted by relevance
61 if (proto.dim().size() > MaxDimensions()) return false; in IsValid()87 if (proto.dim().size() > MaxDimensions()) { in IsValidShape()326 CHECK_LT(ndims_byte(), MaxDimensions()) << "Too many dimensions in tensor"; in AddDim()392 CHECK_LT(dims(), MaxDimensions()); in InsertDim()572 if (n > TensorShape::MaxDimensions()) { in MakeShapeHelper()
62 static constexpr int MaxDimensions() { return 254; } in MaxDimensions() function475 static_assert(NDIMS <= TensorShape::MaxDimensions(), "Too many dimensions"); in AsEigenDSizesWithPadding()
144 for (int i = 0; i < TensorShape::MaxDimensions(); i++) { in TEST()
679 if (num_dims > tensorflow::TensorShape::MaxDimensions()) { in TFE_OpSetAttrShape()684 tensorflow::TensorShape::MaxDimensions(), ".") in TFE_OpSetAttrShape()773 if (num_dims_i > tensorflow::TensorShape::MaxDimensions()) { in TFE_OpSetAttrShapeList()778 tensorflow::TensorShape::MaxDimensions(), ".") in TFE_OpSetAttrShapeList()