Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ GetData
Function
GetData
tensorflow/core/kernels/hash_ops/training_ops.cc:504–507 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
502
503
template<typename T>
504
T* GetData(const Tensor& tensor) {
505
return reinterpret_cast<T*>(const_cast<char*>(
506
tensor.tensor_data().data()));
507
}
508
509
static constexpr int kIdBlockSize = 4096;
510
Callers
1
CheckEntries
Method · 0.50
Calls
2
tensor_data
Method · 0.80
data
Method · 0.45
Tested by
1
CheckEntries
Method · 0.40