Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ Clear
Method
Clear
tensorflow/core/framework/tensor_slice.cc:111–114 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
109
}
110
111
void TensorSlice::Clear() {
112
starts_.clear();
113
lengths_.clear();
114
}
115
116
bool TensorSlice::IsFull() const {
117
for (int d = 0; d < dims(); ++d) {
Callers
3
BuildTensorSlice
Method · 0.45
Intersect
Method · 0.45
SliceTensorShape
Method · 0.45
Calls
1
clear
Method · 0.45
Tested by
no test coverage detected