MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / CheckDimsAtLeast

Method CheckDimsAtLeast

tensorflow/core/framework/tensor_shape.cc:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48void TensorShape::CheckDimsAtLeast(int NDIMS) const {
49 CHECK_GE(NDIMS, dims()) << "Asking for tensor of at least " << NDIMS
50 << " dimensions from a tensor of " << dims()
51 << " dimensions";
52}
53
54template <class Shape>
55bool TensorShapeBase<Shape>::IsValid(const TensorShapeProto& proto) {

Callers

nothing calls this directly

Calls 1

dimsFunction · 0.85

Tested by

no test coverage detected