/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/ |
A D | lstm_eval.h | 124 TfLiteTensor* cell_state, TfLiteTensor* output); 161 TfLiteTensor* scratch_buffer, TfLiteTensor* input_sf, 166 TfLiteTensor* output_state, TfLiteTensor* cell_state, 168 TfLiteTensor* input_zp, TfLiteTensor* aux_input_zp, 193 TfLiteTensor* output_state, TfLiteTensor* cell_state, TfLiteTensor* output, 194 TfLiteTensor* scratch0, TfLiteTensor* scratch1, TfLiteTensor* scratch2, 195 TfLiteTensor* scratch3, TfLiteTensor* scratch4, TfLiteTensor* scratch5, 218 TfLiteTensor* cell_state, TfLiteTensor* output, 220 TfLiteTensor* scratch0, TfLiteTensor* scratch1, TfLiteTensor* scratch2, 221 TfLiteTensor* scratch3, TfLiteTensor* scratch4, TfLiteTensor* scratch5, [all …]
|
A D | kernel_util.h | 40 const TfLiteTensor* GetInput(const TfLiteContext* context, 120 TfLiteTensor** tensor); 144 TfLiteTensor** tensor); 169 inline int64_t NumElements(const TfLiteTensor* t) { in NumElements() 189 inline void SetTensorToDynamic(TfLiteTensor* tensor) { in SetTensorToDynamic() 206 inline bool IsHybridOp(const TfLiteTensor* input, const TfLiteTensor* weight) { in IsHybridOp() 213 TfLiteContext* context, const TfLiteTensor* input, 214 const TfLiteTensor* filter, const TfLiteTensor* bias, TfLiteTensor* output, 220 TfLiteContext* context, const TfLiteTensor* input, 221 const TfLiteTensor* filter, const TfLiteTensor* bias, TfLiteTensor* output, [all …]
|
A D | kernel_util.cc | 109 const TfLiteTensor* GetInput(const TfLiteContext* context, in GetInput() 121 TfLiteTensor* tensor = GetMutableInput(context, node, index); in GetVariableInput() 136 int index, TfLiteTensor** tensor) { in GetOutputSafe() 163 TfLiteTensor** tensor) { in GetTemporarySafe() 172 const TfLiteTensor* GetIntermediates(TfLiteContext* context, in GetIntermediates() 184 TfLiteTensor** tensor) { in GetIntermediatesSafe() 196 TfLiteContext* context, const TfLiteTensor* input, in PopulateConvolutionQuantizationParams() 197 const TfLiteTensor* filter, const TfLiteTensor* bias, TfLiteTensor* output, in PopulateConvolutionQuantizationParams() 211 TfLiteContext* context, const TfLiteTensor* input, in PopulateConvolutionQuantizationParams() 212 const TfLiteTensor* filter, const TfLiteTensor* bias, TfLiteTensor* output, in PopulateConvolutionQuantizationParams() [all …]
|
A D | subgraph_test_util.h | 141 void FillIntTensor(TfLiteTensor* tensor, const std::vector<int32_t>& data); 146 void FillScalarStringTensor(TfLiteTensor* tensor, const std::string& data); 149 void CheckScalarStringTensor(const TfLiteTensor* tensor, 153 void CheckStringTensor(const TfLiteTensor* tensor, 158 void CheckIntTensor(const TfLiteTensor* tensor, const std::vector<int>& shape, 161 void CheckBoolTensor(const TfLiteTensor* tensor, const std::vector<int>& shape,
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/c/ |
A D | c_api.h | 91 typedef struct TfLiteTensor TfLiteTensor; typedef 166 TFL_CAPI_EXPORT extern TfLiteTensor* TfLiteInterpreterGetInputTensor( 230 TFL_CAPI_EXPORT extern const TfLiteTensor* TfLiteInterpreterGetOutputTensor( 242 TFL_CAPI_EXPORT extern TfLiteType TfLiteTensorType(const TfLiteTensor* tensor); 245 TFL_CAPI_EXPORT extern int32_t TfLiteTensorNumDims(const TfLiteTensor* tensor); 249 TFL_CAPI_EXPORT extern int32_t TfLiteTensorDim(const TfLiteTensor* tensor, 253 TFL_CAPI_EXPORT extern size_t TfLiteTensorByteSize(const TfLiteTensor* tensor); 261 TFL_CAPI_EXPORT extern void* TfLiteTensorData(const TfLiteTensor* tensor); 271 const TfLiteTensor* tensor); 276 TfLiteTensor* tensor, const void* input_data, size_t input_data_size); [all …]
|
A D | common.h | 393 typedef struct TfLiteTensor { struct 456 } TfLiteTensor; argument 513 typedef struct TfLiteTensor { struct 549 } TfLiteTensor; argument 599 void TfLiteTensorDataFree(TfLiteTensor* t); 608 void TfLiteTensorFree(TfLiteTensor* t); 615 TfLiteTensor* tensor); 619 void TfLiteTensorRealloc(size_t num_bytes, TfLiteTensor* tensor); 682 TfLiteTensor* tensors; 924 TfLiteTensor* tensor); [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/resource/ |
A D | lookup_interfaces.h | 35 virtual TfLiteStatus Lookup(TfLiteContext* context, const TfLiteTensor* keys, 36 TfLiteTensor* values, 37 const TfLiteTensor* default_value) = 0; 38 virtual TfLiteStatus Import(TfLiteContext* context, const TfLiteTensor* keys, 39 const TfLiteTensor* values) = 0; 45 const TfLiteTensor* keys, 46 const TfLiteTensor* values) = 0;
|
A D | static_hashtable.h | 43 TfLiteStatus Lookup(TfLiteContext* context, const TfLiteTensor* keys, 44 TfLiteTensor* values, 45 const TfLiteTensor* default_value) override; 48 TfLiteStatus Import(TfLiteContext* context, const TfLiteTensor* keys, 49 const TfLiteTensor* values) override; 58 const TfLiteTensor* keys, in CheckKeyAndValueTypes() 59 const TfLiteTensor* values) override { in CheckKeyAndValueTypes()
|
A D | lookup_util.h | 29 explicit TensorReader(const TfLiteTensor* input) { in TensorReader() 47 explicit TensorReader(const TfLiteTensor* input) : input_(input) {} in TensorReader() 58 const TfLiteTensor* input_; 66 explicit TensorWriter(TfLiteTensor* values) { in TensorWriter() 91 explicit TensorWriter(TfLiteTensor* values) : values_(values) {} in TensorWriter() 106 TfLiteTensor* values_;
|
A D | static_hashtable.cc | 27 TfLiteContext* context, const TfLiteTensor* keys, TfLiteTensor* values, in Lookup() 28 const TfLiteTensor* default_value) { in Lookup() 61 TfLiteContext* context, const TfLiteTensor* keys, in Import() 62 const TfLiteTensor* values) { in Import()
|
A D | resource_variable.h | 39 TfLiteStatus AssignFrom(const TfLiteTensor* tensor); 44 TfLiteTensor* GetTensor() { return is_initialized_ ? &tensor_ : nullptr; } in GetTensor() 52 TfLiteTensor tensor_;
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/SDK/Scripts/ |
A D | Interpreter.cs | 22 using TfLiteTensor = System.IntPtr; typedef 125 TfLiteTensor tensor = TfLiteInterpreterGetInputTensor(interpreter, index); in GetInputTensorInfo() 143 private static string GetTensorName(TfLiteTensor tensor) { in GetTensorName() 147 private static TensorInfo GetTensorInfo(TfLiteTensor tensor) { in GetTensorInfo() 229 private static extern unsafe TfLiteTensor TfLiteInterpreterGetInputTensor( in TfLiteInterpreterGetInputTensor() 252 private static extern unsafe TfLiteTensor TfLiteInterpreterGetOutputTensor( in TfLiteInterpreterGetOutputTensor() 260 private static extern unsafe int TfLiteTensorNumDims(TfLiteTensor tensor); in TfLiteTensorNumDims() 266 private static extern uint TfLiteTensorByteSize(TfLiteTensor tensor); in TfLiteTensorByteSize() 269 private static extern unsafe IntPtr TfLiteTensorName(TfLiteTensor tensor); in TfLiteTensorName() 276 TfLiteTensor tensor, in TfLiteTensorCopyFromBuffer() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/ |
A D | micro_interpreter.h | 72 TfLiteTensor* input(size_t index); 79 TfLiteTensor* input_tensor(size_t index) { return input(index); } in input_tensor() 82 if (TfLiteTensor* tensor_ptr = input_tensor(tensor_index)) { in typed_input_tensor() 90 TfLiteTensor* output(size_t index); 97 TfLiteTensor* output_tensor(size_t index) { return output(index); } in output_tensor() 100 if (TfLiteTensor* tensor_ptr = output_tensor(tensor_index)) { in typed_output_tensor() 151 static TfLiteTensor* GetTensor(const struct TfLiteContext* context, 172 TfLiteTensor** input_tensors_; 173 TfLiteTensor** output_tensors_;
|
A D | test_helpers.h | 152 void PopulateContext(TfLiteTensor* tensors, int tensors_size, 164 TfLiteTensor CreateTensor(const T* data, TfLiteIntArray* dims, 166 TfLiteTensor result; 184 TfLiteTensor CreateQuantizedTensor(const T* data, TfLiteIntArray* dims, 187 TfLiteTensor result = CreateTensor(data, dims, is_variable); 194 TfLiteTensor CreateQuantizedTensor(const float* input, T* quantized, 202 TfLiteTensor CreateQuantizedBiasTensor(const float* data, int32_t* quantized, 209 TfLiteTensor CreatePerChannelQuantizedBiasTensor( 215 TfLiteTensor CreateSymmetricPerChannelQuantizedTensor(
|
A D | micro_allocator.h | 41 ErrorReporter* error_reporter, TfLiteTensor* result); 157 virtual TfLiteTensor* AllocatePersistentTfLiteTensor( 168 virtual TfLiteTensor* AllocateTempTfLiteTensor( 230 virtual TfLiteTensor* AllocatePersistentTfLiteTensorInternal(); 236 TfLiteTensor* tensor,
|
A D | memory_helpers.h | 53 const TfLiteTensor* input1, 54 const TfLiteTensor* input2, 55 TfLiteTensor* output);
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/ |
A D | conv_test.h | 29 TfLiteStatus InvokeConv(TfLiteTensor* tensors, int tensors_size, 33 TfLiteStatus InvokeConv(TfLiteTensor* tensors, int tensors_size, 37 TfLiteStatus InvokeConv(TfLiteTensor* tensors, int tensors_size, 41 TfLiteStatus ValidateConvGoldens(TfLiteTensor* tensors, int tensors_size, 48 TfLiteStatus ValidateConvGoldens(TfLiteTensor* tensors, int tensors_size, 55 TfLiteStatus ValidateConvGoldens(TfLiteTensor* tensors, int tensors_size,
|
A D | fully_connected.h | 60 TfLiteType data_type, const TfLiteTensor* input, const TfLiteTensor* filter, 61 const TfLiteTensor* bias, TfLiteTensor* output, OpDataFullyConnected* data);
|
A D | fully_connected_common.cc | 57 TfLiteType data_type, const TfLiteTensor* input, const TfLiteTensor* filter, in CalculateOpDataFullyConnected() 58 const TfLiteTensor* bias, TfLiteTensor* output, in CalculateOpDataFullyConnected()
|
A D | fill.cc | 31 const TfLiteTensor* tensor) { in EnsureEqImpl() 41 const TfLiteTensor* tensor) { in EnsureEq() 71 const TfLiteTensor* dims; in Prepare() 73 const TfLiteTensor* value; in Prepare() 75 TfLiteTensor* output; in Prepare()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/ |
A D | tensor.h | 28 SequentialTensorWriter(const TfLiteTensor* input, TfLiteTensor* output) in SequentialTensorWriter() 40 const TfLiteTensor* input_; 41 TfLiteTensor* output_;
|
A D | tensor_ctypes.h | 24 inline T* GetTensorData(TfLiteTensor* tensor) { in GetTensorData() 29 inline const T* GetTensorData(const TfLiteTensor* tensor) { in GetTensorData() 34 inline RuntimeShape GetTensorShape(const TfLiteTensor* tensor) { in GetTensorShape()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/kernels/ |
A D | ctc_beam_search_decoder.cc | 65 const TfLiteTensor* inputs; in Prepare() 73 const TfLiteTensor* sequence_length; in Prepare() 84 TfLiteTensor* indices; in Prepare() 87 TfLiteTensor* values; in Prepare() 91 TfLiteTensor* output_shape; in Prepare() 98 TfLiteTensor* log_probability_output; in Prepare() 139 TfLiteTensor* indices; in StoreAllDecodedSequences() 143 TfLiteTensor* values; in StoreAllDecodedSequences() 148 TfLiteTensor* decoded_shape; in StoreAllDecodedSequences() 178 const TfLiteTensor* inputs; in Eval() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/ |
A D | string_util.h | 87 void WriteToTensor(TfLiteTensor* tensor, TfLiteIntArray* new_shape); 90 void WriteToTensorAsVector(TfLiteTensor* tensor); 101 int GetStringCount(const TfLiteTensor* tensor); 106 StringRef GetString(const TfLiteTensor* tensor, int string_index);
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/ |
A D | string_comparisons.h | 42 const TfLiteTensor* input1, in ComparisonStringImpl() 44 const TfLiteTensor* input2, in ComparisonStringImpl() 58 const RuntimeShape& unextended_input1_shape, const TfLiteTensor* input1, in BroadcastComparison4DSlowStringImpl() 59 const RuntimeShape& unextended_input2_shape, const TfLiteTensor* input2, in BroadcastComparison4DSlowStringImpl()
|