Home
last modified time | relevance | path

Searched refs:TfLiteStatus (Results 1 – 25 of 66) sorted by relevance

123

/external/tensorflow/tensorflow/contrib/lite/
Dinterpreter.h108 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 …]
Darena_planner.h52 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);
Dinterpreter.cc109 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 …]
Dcontext.h39 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);
Darena_planner.cc55 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()
Dsimple_memory_arena.h52 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();
Dsimple_memory_arena.cc34 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()
Dmemory_planner.h31 virtual TfLiteStatus PlanAllocations() = 0;
35 virtual TfLiteStatus ExecuteAllocations(int first_node, int last_node) = 0;
40 virtual TfLiteStatus ResetAllocations() = 0;
Dmodel.h153 TfLiteStatus operator()(std::unique_ptr<Interpreter>* interpreter);
156 TfLiteStatus BuildLocalIndexToRegistrationMapping();
157 TfLiteStatus ParseNodes(
160 TfLiteStatus ParseTensors(
Dnnapi_delegate.h52 TfLiteStatus BuildGraph(Interpreter* interpreter);
55 TfLiteStatus Invoke(Interpreter* interpreter);
Dmodel.cc122 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/
Dactivations.cc55 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()
Dsplit.cc41 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()
Dmean.cc60 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()
Dfully_connected.cc78 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()
Dresize_bilinear.cc39 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()
Dtranspose.cc45 TfLiteStatus ResizeOutputTensor(TfLiteContext* context, in ResizeOutputTensor()
68 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
87 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
Dhashtable_lookup.cc59 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
87 TfLiteStatus status = kTfLiteOk; in Prepare()
102 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
Dbatch_to_space_nd.cc56 TfLiteStatus ResizeOutputTensor(TfLiteContext* context, in ResizeOutputTensor()
95 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
113 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
Dpad.cc52 TfLiteStatus ResizeOutputTensor(TfLiteContext* context, in ResizeOutputTensor()
78 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
98 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
Dspace_to_batch_nd.cc56 TfLiteStatus ResizeOutputTensor(TfLiteContext* context, in ResizeOutputTensor()
90 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
108 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
Dtopk_v2.cc32 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()
Dexp.cc43 TfLiteStatus Prepare(TfLiteContext* context, TfLiteNode* node) { in Prepare()
54 TfLiteStatus Eval(TfLiteContext* context, TfLiteNode* node) { in Eval()
/external/tensorflow/tensorflow/contrib/lite/testing/
Dparse_testdata.h38 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/
Dnativeinterpreterwrapper_jni.cc96 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()

123