Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ flat
Method
flat
tensorflow/core/framework/tensor.h:453–455 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
451
/// ```
452
template <typename T>
453
typename TTypes<T>::Flat flat() {
454
return shaped<T, 1>({NumElements()});
455
}
456
457
template <typename T>
458
typename TTypes<T>::UnalignedFlat unaligned_flat() {
Callers
15
TEST
Function · 0.45
multi_insertion
Function · 0.45
BM_MULTIREAD_LOCKLESS
Function · 0.45
Compute
Method · 0.45
Compute
Method · 0.45
Compute
Method · 0.45
Compute
Method · 0.45
Compute
Method · 0.45
Compute
Method · 0.45
Compute
Method · 0.45
thread_lookup_or_create
Function · 0.45
thread_lookup
Function · 0.45
Calls
1
NumElements
Function · 0.50
Tested by
9
TEST
Function · 0.36
multi_insertion
Function · 0.36
BM_MULTIREAD_LOCKLESS
Function · 0.36
thread_lookup_or_create
Function · 0.36
thread_lookup
Function · 0.36
PerfSave
Function · 0.36
PerfMemory
Function · 0.36
Run
Method · 0.36
Run
Method · 0.36