/external/tensorflow/tensorflow/contrib/lite/ |
D | interpreter.h | 108 TfLiteStatus SetInputs(std::vector<int> inputs); 113 TfLiteStatus SetOutputs(std::vector<int> outputs); 119 TfLiteStatus AddNodeWithParameters(const std::vector<int>& inputs, 129 TfLiteStatus AddTensors(int tensors_to_add, 136 TfLiteStatus SetTensorParametersReadOnly( 145 TfLiteStatus SetTensorParametersReadWrite( 180 TfLiteStatus SetExecutionPlan(const std::vector<int>& new_plan); 232 TfLiteStatus ResizeInputTensor(int tensor_index, 240 TfLiteStatus AllocateTensors(); 248 TfLiteStatus Invoke(); [all …]
|
D | arena_planner.h | 52 TfLiteStatus ResetAllocations() override; 53 TfLiteStatus PlanAllocations() override; 54 TfLiteStatus ExecuteAllocations(int first_node, int last_node) override; 62 TfLiteStatus Commit(); 66 TfLiteStatus CalculateAllocations(int first_node, int last_node); 70 TfLiteStatus ResolveTensorAllocation(int tensor_index); 73 TfLiteStatus CalculateTensorAllocation(int tensor_index); 76 TfLiteStatus CalculateTensorDeallocation(int tensor_index); 80 TfLiteStatus CalculateAllocationOfInternalTensors(int node_index); 84 TfLiteStatus CalculateDeallocationOfInternalTensors(int node_index);
|
D | interpreter.cc | 109 TfLiteStatus Interpreter::ReplaceSubgraphsWithDelegateKernels( in ReplaceSubgraphsWithDelegateKernels() 116 TfLiteStatus Interpreter::ReplaceSubgraphsWithDelegateKernels( in ReplaceSubgraphsWithDelegateKernels() 162 TfLiteStatus Interpreter::GetExecutionPlan(TfLiteIntArray** execution_plan) { in GetExecutionPlan() 175 TfLiteStatus Interpreter::GetExecutionPlan(struct TfLiteContext* context, in GetExecutionPlan() 181 TfLiteStatus Interpreter::SetInputs(std::vector<int> inputs) { in SetInputs() 188 TfLiteStatus Interpreter::SetOutputs(std::vector<int> outputs) { in SetOutputs() 195 TfLiteStatus Interpreter::CheckTensorIndices(const char* label, in CheckTensorIndices() 211 TfLiteStatus Interpreter::BytesRequired(TfLiteType type, const int* dims, in BytesRequired() 247 TfLiteStatus Interpreter::AllocateTensors() { in AllocateTensors() 263 TfLiteStatus Interpreter::AddNodeWithParameters( in AddNodeWithParameters() [all …]
|
D | context.h | 39 typedef enum { kTfLiteOk = 0, kTfLiteError = 1 } TfLiteStatus; typedef 258 TfLiteStatus (*GetExecutionPlan)(struct TfLiteContext* context, 269 TfLiteStatus (*ResizeTensor)(struct TfLiteContext*, TfLiteTensor* tensor, 277 TfLiteStatus (*AddTensors)(struct TfLiteContext*, int tensors_to_add, 282 TfLiteStatus (*GetNodeAndRegistration)(struct TfLiteContext*, int node_index, 287 TfLiteStatus (*ReplaceSubgraphsWithDelegateKernels)( 322 TfLiteStatus (*prepare)(TfLiteContext* context, TfLiteNode* node); 326 TfLiteStatus (*invoke)(TfLiteContext* context, TfLiteNode* node); 350 TfLiteStatus (*Prepare)(TfLiteContext* context, void* data);
|
D | arena_planner.cc | 55 TfLiteStatus ArenaPlanner::ResetAllocations() { in ResetAllocations() 63 TfLiteStatus ArenaPlanner::PlanAllocations() { in PlanAllocations() 130 TfLiteStatus ArenaPlanner::ExecuteAllocations(int first_node, int last_node) { in ExecuteAllocations() 145 TfLiteStatus ArenaPlanner::Commit() { in Commit() 151 TfLiteStatus ArenaPlanner::CalculateAllocations(int first_node, int last_node) { in CalculateAllocations() 185 TfLiteStatus ArenaPlanner::ResolveTensorAllocation(int tensor_index) { in ResolveTensorAllocation() 202 TfLiteStatus ArenaPlanner::CalculateTensorAllocation(int tensor_index) { in CalculateTensorAllocation() 217 TfLiteStatus ArenaPlanner::CalculateTensorDeallocation(int tensor_index) { in CalculateTensorDeallocation() 225 TfLiteStatus ArenaPlanner::CalculateAllocationOfInternalTensors( in CalculateAllocationOfInternalTensors() 238 TfLiteStatus ArenaPlanner::CalculateDeallocationOfInternalTensors( in CalculateDeallocationOfInternalTensors()
|
D | simple_memory_arena.h | 52 TfLiteStatus Allocate(TfLiteContext* context, size_t alignment, size_t size, 55 TfLiteStatus Deallocate(TfLiteContext* context, const ArenaAlloc& alloc); 64 TfLiteStatus Commit(TfLiteContext* context); 66 TfLiteStatus ResolveAlloc(TfLiteContext* context, const ArenaAlloc& alloc, 69 TfLiteStatus Clear();
|
D | simple_memory_arena.cc | 34 TfLiteStatus SimpleMemoryArena::Allocate(TfLiteContext* context, in Allocate() 76 TfLiteStatus SimpleMemoryArena::Deallocate(TfLiteContext* context, in Deallocate() 93 TfLiteStatus SimpleMemoryArena::Commit(TfLiteContext* context) { in Commit() 120 TfLiteStatus SimpleMemoryArena::ResolveAlloc(TfLiteContext* context, in ResolveAlloc() 129 TfLiteStatus SimpleMemoryArena::Clear() { in Clear()
|
D | memory_planner.h | 31 virtual TfLiteStatus PlanAllocations() = 0; 35 virtual TfLiteStatus ExecuteAllocations(int first_node, int last_node) = 0; 40 virtual TfLiteStatus ResetAllocations() = 0;
|
D | model.h | 153 TfLiteStatus operator()(std::unique_ptr<Interpreter>* interpreter); 156 TfLiteStatus BuildLocalIndexToRegistrationMapping(); 157 TfLiteStatus ParseNodes( 160 TfLiteStatus ParseTensors(
|
D | nnapi_delegate.h | 52 TfLiteStatus BuildGraph(Interpreter* interpreter); 55 TfLiteStatus Invoke(Interpreter* interpreter);
|
D | model.cc | 122 TfLiteStatus InterpreterBuilder::BuildLocalIndexToRegistrationMapping() { in BuildLocalIndexToRegistrationMapping() 123 TfLiteStatus status = kTfLiteOk; in BuildLocalIndexToRegistrationMapping() 575 TfLiteStatus InterpreterBuilder::ParseNodes( in ParseNodes() 578 TfLiteStatus status = kTfLiteOk; in ParseNodes() 620 TfLiteStatus InterpreterBuilder::ParseTensors( in ParseTensors() 624 TfLiteStatus status = kTfLiteOk; in ParseTensors() 725 TfLiteStatus InterpreterBuilder::operator()( in operator ()()
|
/external/tensorflow/tensorflow/contrib/lite/kernels/ |
D | activations.cc | 55 TfLiteStatus GenericPrepare(TfLiteContext* context, TfLiteNode* node) { in GenericPrepare() 66 TfLiteStatus SigmoidPrepare(TfLiteContext* context, TfLiteNode* node) { in SigmoidPrepare() 96 TfLiteStatus SoftmaxPrepare(TfLiteContext* context, TfLiteNode* node) { in SoftmaxPrepare() 126 TfLiteStatus ReluEval(TfLiteContext* context, TfLiteNode* node) { in ReluEval() 144 TfLiteStatus Relu1Eval(TfLiteContext* context, TfLiteNode* node) { in Relu1Eval() 164 TfLiteStatus Relu6Eval(TfLiteContext* context, TfLiteNode* node) { in Relu6Eval() 182 TfLiteStatus TanhEval(TfLiteContext* context, TfLiteNode* node) { in TanhEval() 201 TfLiteStatus SigmoidEval(TfLiteContext* context, TfLiteNode* node) { in SigmoidEval() 297 TfLiteStatus SoftmaxEval(TfLiteContext* context, TfLiteNode* node) { in SoftmaxEval()
|
D | split.cc | 41 TfLiteStatus UseDynamicOutputTensors(TfLiteContext* context, TfLiteNode* node) { in UseDynamicOutputTensors() 48 TfLiteStatus ResizeOutputTensors(TfLiteContext* context, TfLiteNode* node, in ResizeOutputTensors() 71 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare() 95 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
|
D | mean.cc | 60 TfLiteStatus ResizeTempAxis(TfLiteContext* context, MeanContext* op_context, in ResizeTempAxis() 68 TfLiteStatus ResizeOutputTensor(TfLiteContext* context, in ResizeOutputTensor() 133 TfLiteStatus InitializeTemporaries(TfLiteContext* context, TfLiteNode* node, in InitializeTemporaries() 155 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare() 176 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
|
D | fully_connected.cc | 78 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare() 133 TfLiteStatus EvalPie(TfLiteContext* context, TfLiteNode* node, in EvalPie() 178 TfLiteStatus EvalQuantized(TfLiteContext* context, TfLiteNode* node, in EvalQuantized() 210 TfLiteStatus EvalFloat(TfLiteContext* context, TfLiteNode* node, in EvalFloat() 238 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
|
D | resize_bilinear.cc | 39 TfLiteStatus ResizeOutputTensor(TfLiteContext* context, TfLiteTensor* input, in ResizeOutputTensor() 50 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare() 77 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
|
D | transpose.cc | 45 TfLiteStatus ResizeOutputTensor(TfLiteContext* context, in ResizeOutputTensor() 68 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare() 87 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
|
D | hashtable_lookup.cc | 59 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare() 87 TfLiteStatus status = kTfLiteOk; in Prepare() 102 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
|
D | batch_to_space_nd.cc | 56 TfLiteStatus ResizeOutputTensor(TfLiteContext* context, in ResizeOutputTensor() 95 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare() 113 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
|
D | pad.cc | 52 TfLiteStatus ResizeOutputTensor(TfLiteContext* context, in ResizeOutputTensor() 78 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare() 98 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
|
D | space_to_batch_nd.cc | 56 TfLiteStatus ResizeOutputTensor(TfLiteContext* context, in ResizeOutputTensor() 90 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare() 108 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
|
D | topk_v2.cc | 32 TfLiteStatus ResizeOutput(TfLiteContext* context, TfLiteNode* node) { in ResizeOutput() 62 TfLiteStatus status = context->ResizeTensor(context, tensor, new_size); in ResizeOutput() 160 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare() 184 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
|
D | exp.cc | 43 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare() 54 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
|
/external/tensorflow/tensorflow/contrib/lite/testing/ |
D | parse_testdata.h | 38 TfLiteStatus ParseExamples(const char* filename, 43 TfLiteStatus FeedExample(tflite::Interpreter* interpreter, const Example&); 46 TfLiteStatus CheckOutputs(tflite::Interpreter* interpreter, const Example&);
|
/external/tensorflow/tensorflow/contrib/lite/java/src/main/native/ |
D | nativeinterpreterwrapper_jni.cc | 96 TfLiteStatus checkInputs(JNIEnv* env, tflite::Interpreter* interpreter, in checkInputs() 152 TfLiteStatus resizeInputs(JNIEnv* env, tflite::Interpreter* interpreter, in resizeInputs() 158 TfLiteStatus status = interpreter->ResizeInputTensor( in resizeInputs() 169 TfLiteStatus setInputs(JNIEnv* env, tflite::Interpreter* interpreter, in setInputs() 341 TfLiteStatus status = in Java_org_tensorflow_lite_NativeInterpreterWrapper_createInterpreter() 365 TfLiteStatus status = checkInputs(env, interpreter, input_size, data_types, in Java_org_tensorflow_lite_NativeInterpreterWrapper_run() 457 TfLiteStatus status = interpreter->ResizeInputTensor( in Java_org_tensorflow_lite_NativeInterpreterWrapper_resizeInput()
|