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

Method set_ndims_byte

tensorflow/core/framework/tensor_shape.h:139–139  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137 static const uint8 kUnknownRank = 255;
138 uint8 ndims_byte() const { return buf()[14]; }
139 void set_ndims_byte(uint8 nd) { buf()[14] = nd; }
140
141 RepTag tag() const { return static_cast<RepTag>(buf()[15]); }
142 void set_tag(RepTag tag) { buf()[15] = static_cast<uint8>(tag); }

Callers 1

BuildTensorShapeBaseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected