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

Method set_length

tensorflow/core/framework/tensor_slice.h:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 void set_length(int d, int64 x) {
97 DCHECK_GE(d, 0);
98 DCHECK_LT(d, dims());
99 lengths_[d] = x;
100 }
101
102 // If we have a full slice along dimension "d".
103 bool IsFullAt(int d) const {

Callers 11

AsProtoMethod · 0.80
IntersectMethod · 0.80
ComputeRelativeMethod · 0.80
TESTFunction · 0.80
ComputeMethod · 0.80
SaveBloomFilterFunction · 0.80
SaveHashTableHelperFunction · 0.80
TESTFunction · 0.80
AddToDirectoryElementMethod · 0.80
DecodeTensorNameSliceFunction · 0.80
FixMergeHashTableBundlesFunction · 0.80

Calls 1

dimsFunction · 0.85

Tested by 2

TESTFunction · 0.64
TESTFunction · 0.64