MCPcopy 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

TESTFunction · 0.45
multi_insertionFunction · 0.45
BM_MULTIREAD_LOCKLESSFunction · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45
thread_lookup_or_createFunction · 0.45
thread_lookupFunction · 0.45

Calls 1

NumElementsFunction · 0.50

Tested by 9

TESTFunction · 0.36
multi_insertionFunction · 0.36
BM_MULTIREAD_LOCKLESSFunction · 0.36
thread_lookup_or_createFunction · 0.36
thread_lookupFunction · 0.36
PerfSaveFunction · 0.36
PerfMemoryFunction · 0.36
RunMethod · 0.36
RunMethod · 0.36