MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / IsDynamicTensor

Function IsDynamicTensor

tensorflow/lite/kernels/kernel_util.h:105–107  ·  view source on GitHub ↗

Determines whether tensor is dynamic. Note that a tensor can be non-const and not dynamic. This function specifically checks for a dynamic tensor.

Source from the content-addressed store, hash-verified

103// Determines whether tensor is dynamic. Note that a tensor can be non-const and
104// not dynamic. This function specifically checks for a dynamic tensor.
105inline bool IsDynamicTensor(const TfLiteTensor* tensor) {
106 return tensor->allocation_type == kTfLiteDynamic;
107}
108
109// Sets tensor to dynamic.
110inline void SetTensorToDynamic(TfLiteTensor* tensor) {

Callers 15

EvalFunction · 0.85
TEST_FFunction · 0.85
EvalFunction · 0.85
EvalFunction · 0.85
EvalFunction · 0.85
EvalFunction · 0.85
EvalFunction · 0.85
EvalFunction · 0.85
EvalFunction · 0.85
EvalFunction · 0.85
EvalFunction · 0.85
EvalFunction · 0.85

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68