Home
last modified time | relevance | path

Searched refs:MaxDimensions (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/core/framework/
Dtensor_shape.cc61 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()
Dtensor_shape.h62 static constexpr int MaxDimensions() { return 254; } in MaxDimensions() function
475 static_assert(NDIMS <= TensorShape::MaxDimensions(), "Too many dimensions"); in AsEigenDSizesWithPadding()
Dtensor_shape_test.cc144 for (int i = 0; i < TensorShape::MaxDimensions(); i++) { in TEST()
/external/tensorflow/tensorflow/c/eager/
Dc_api.cc679 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()