MCPcopy 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
503template<typename T>
504T* GetData(const Tensor& tensor) {
505 return reinterpret_cast<T*>(const_cast<char*>(
506 tensor.tensor_data().data()));
507}
508
509static constexpr int kIdBlockSize = 4096;
510

Callers 1

CheckEntriesMethod · 0.50

Calls 2

tensor_dataMethod · 0.80
dataMethod · 0.45

Tested by 1

CheckEntriesMethod · 0.40