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

Method GetExtentLength

tensorflow/core/framework/tensor_slice.cc:265–268  ·  view source on GitHub ↗

static

Source from the content-addressed store, hash-verified

263
264// static
265int64 TensorSlice::GetExtentLength(const TensorSliceProto::Extent& extent) {
266 if (!HasExtentLength(extent)) return -1;
267 return extent.length();
268}
269
270Status TensorSlice::SliceTensorShape(const TensorShape& shape,
271 TensorShape* result_shape) const {

Callers

nothing calls this directly

Calls 1

lengthMethod · 0.45

Tested by

no test coverage detected