/external/tensorflow/tensorflow/lite/ |
D | arena_planner.cc | 118 for (int tensor_index : graph_info_->outputs()) { in PlanAllocations() local 124 for (int tensor_index : graph_info_->variables()) { in PlanAllocations() local 137 for (int tensor_index : graph_info_->inputs()) { in PlanAllocations() local 151 int tensor_index = node_inputs->data[j]; in PlanAllocations() local 165 int tensor_index = node_outputs->data[j]; in PlanAllocations() local 174 int tensor_index = node_inputs->data[j]; in PlanAllocations() local 204 int tensor_index = node_temporaries->data[j]; in ExecuteAllocations() local 309 for (const auto& tensor_index : tensor_order) { in CalculateAllocations() local 318 for (const auto& tensor_index : tensor_order) { in CalculateAllocations() local 339 TfLiteStatus ArenaPlanner::ResolveTensorAllocation(int tensor_index) { in ResolveTensorAllocation()
|
D | interpreter.cc | 164 int tensor_index, const TfLiteCustomAllocation& allocation) { in SetCustomAllocationForTensor() 264 TfLiteStatus Interpreter::ResizeInputTensor(int tensor_index, in ResizeInputTensor() 270 int tensor_index, const std::vector<int>& dims) { in ResizeInputTensorStrict() 288 for (int tensor_index : outputs()) { in Invoke() local 308 int tensor_index, TfLiteType type, const char* name, in SetTensorParametersReadOnly() 317 int tensor_index, TfLiteType type, const char* name, in SetTensorParametersReadWrite() 326 int tensor_index, TfLiteType type, const char* name, const size_t rank, in SetTensorParametersReadOnly() 336 int tensor_index, TfLiteType type, const char* name, const size_t rank, in SetTensorParametersReadWrite() 415 TfLiteStatus Interpreter::SetBufferHandle(int tensor_index, in SetBufferHandle() 434 TfLiteStatus Interpreter::GetBufferHandle(int tensor_index, in GetBufferHandle()
|
D | interpreter.h | 250 TfLiteTensor* tensor(int tensor_index) { in tensor() 255 const TfLiteTensor* tensor(int tensor_index) const { in tensor() 269 T* typed_tensor(int tensor_index) { in typed_tensor() 281 const T* typed_tensor(int tensor_index) const { in typed_tensor() 337 const int tensor_index = GetTensorIndexFromSignatureDefName( in input_tensor_by_signature_name() local 349 const int tensor_index = GetTensorIndexFromSignatureDefName( in output_tensor_by_signature_name() local 523 TfLiteStatus EnsureTensorDataIsReadable(int tensor_index) { in EnsureTensorDataIsReadable()
|
D | optional_debug_tools.cc | 115 for (size_t tensor_index = 0; tensor_index < interpreter->tensors_size(); in PrintInterpreterState() local
|
D | arena_planner_test.cc | 215 std::ptrdiff_t GetOffset(int tensor_index) { in GetOffset() 222 std::ptrdiff_t GetOffsetAfter(int tensor_index) { in GetOffsetAfter() 233 bool IsUnallocated(int tensor_index) { in IsUnallocated()
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | test_util.h | 51 void SetTypedValues(int tensor_index, const std::vector<T>& values) { in SetTypedValues() 58 std::vector<T> GetTypedValues(int tensor_index) { in GetTypedValues() 65 void SetValues(int tensor_index, const std::vector<float>& values) { in SetValues() 71 std::vector<float> GetValues(int tensor_index) { in GetValues()
|
D | test_util.cc | 28 void FlexModelTest::SetStringValues(int tensor_index, in SetStringValues() 51 void FlexModelTest::SetShape(int tensor_index, const std::vector<int>& values) { in SetShape() 56 std::vector<int> FlexModelTest::GetShape(int tensor_index) { in GetShape() 66 TfLiteType FlexModelTest::GetType(int tensor_index) { in GetType() 70 bool FlexModelTest::IsDynamicTensor(int tensor_index) { in IsDynamicTensor() 95 void FlexModelTest::SetConstTensor(int tensor_index, in SetConstTensor()
|
D | kernel.cc | 387 for (auto tensor_index : TfLiteIntArrayView(params->output_tensors)) { in Init() local 393 for (auto tensor_index : TfLiteIntArrayView(params->input_tensors)) { in Init() local 456 for (auto tensor_index : op_data_->subgraph_inputs) { in Prepare() local 482 for (auto tensor_index : op_data_->subgraph_outputs) { in Prepare() local 599 for (auto tensor_index : op_data_->subgraph_inputs) { in Eval() local 621 for (auto tensor_index : op_data_->subgraph_outputs) { in Eval() local
|
D | buffer_map.cc | 157 void BufferMap::SetFromTfLite(int tensor_index, const TfLiteTensor* tensor) { in SetFromTfLite() 181 void BufferMap::SetFromTensorFlow(int tensor_index, tensorflow::Tensor tensor) { in SetFromTensorFlow()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | kernel_util.cc | 37 int tensor_index) { in GetTensorAtIndex() 49 int* tensor_index) { in ValidateTensorIndexingSafe() 72 const int tensor_index = tensor_indices[index]; in ValidateTensorIndexing() local 82 const int tensor_index = ValidateTensorIndexing( in GetMutableInput() local 93 int tensor_index; in GetMutableInputSafe() local 121 const int tensor_index = ValidateTensorIndexing( in GetOutput() local 131 int tensor_index; in GetOutputSafe() local 147 const int tensor_index = ValidateTensorIndexing( in GetTemporary() local 158 int tensor_index; in GetTemporarySafe() local 168 const int tensor_index = ValidateTensorIndexing( in GetIntermediates() local [all …]
|
/external/tensorflow/tensorflow/lite/delegates/hexagon/ |
D | hexagon_delegate_kernel.cc | 98 const auto tensor_index = node->inputs->data[input_idx]; in Eval() local 124 for (auto tensor_index : TfLiteIntArrayView(node->outputs)) { in Eval() local 211 for (auto tensor_index : TfLiteIntArrayView(node->inputs)) { in Prepare() local 214 for (auto tensor_index : TfLiteIntArrayView(node->outputs)) { in Prepare() local 217 for (auto tensor_index : tensors) { in Prepare() local
|
/external/tensorflow/tensorflow/lite/micro/ |
D | micro_interpreter.h | 114 T* typed_tensor(int tensor_index) { in typed_tensor() 130 T* typed_input_tensor(int tensor_index) { in typed_input_tensor() 146 T* typed_output_tensor(int tensor_index) { in typed_output_tensor()
|
D | micro_allocator.cc | 215 const int tensor_index = subgraph->inputs()->Get(i); in AddTensors() local 222 const int tensor_index = subgraph->outputs()->Get(i); in AddTensors() local 231 const int tensor_index = op->inputs()->Get(n); in AddTensors() local 238 const int tensor_index = op->outputs()->Get(n); in AddTensors() local 867 const Model* model, TfLiteEvalTensor* eval_tensors, int tensor_index) { in AllocatePersistentTfLiteTensor() 899 const Model* model, TfLiteEvalTensor* eval_tensors, int tensor_index) { in AllocateTempTfLiteTensor() 992 const Model* model, TfLiteEvalTensor* eval_tensors, int tensor_index) { in AllocatePersistentTfLiteTensorInternal() 999 int tensor_index, bool allocate_temp) { in PopulateTfLiteTensorFromFlatbuffer()
|
D | recording_micro_allocator.cc | 201 const Model* model, TfLiteEvalTensor* eval_tensors, int tensor_index) { in AllocatePersistentTfLiteTensorInternal() 213 int tensor_index, bool allocate_temp) { in PopulateTfLiteTensorFromFlatbuffer()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/ |
D | gl_delegate.cc | 80 int tensor_index; member 122 absl::Status BindBufferToTensor(GLuint ssbo, int tensor_index) { in BindBufferToTensor() 149 auto find_value = [&](int tensor_index) -> Value* { in Prepare() 173 const int tensor_index = delegate_params->input_tensors->data[i]; in Prepare() local 215 const int tensor_index = delegate_params->output_tensors->data[i]; in Prepare() local 483 int tensor_index) { in TfLiteGpuDelegateBindBufferToTensor()
|
/external/tensorflow/tensorflow/lite/python/ |
D | interpreter.py | 390 def _get_tensor_details(self, tensor_index): argument 483 def set_tensor(self, tensor_index, value): argument 682 def get_tensor(self, tensor_index): argument 697 def tensor(self, tensor_index): argument
|
/external/tensorflow/tensorflow/lite/tools/serialization/ |
D | writer_lib.cc | 170 for (auto tensor_index : in ExportTensors() local 177 for (int tensor_index = 0; tensor_index < subgraph_->tensors_size(); in ExportTensors() local 186 for (int tensor_index = 0; tensor_index < subgraph_->tensors_size(); in ExportTensors() local 339 for (int tensor_index : TfLiteIntArrayView(node.inputs)) { in CheckInputOutput() local 368 for (int tensor_index : outputs) { in CheckInputOutput() local
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/ |
D | gpu_api_delegate.cc | 197 for (auto tensor_index : input_refs) { in Prepare() local 204 for (auto tensor_index : output_refs) { in Prepare() local 233 void BindGlBufferToTensor(GLuint buffer_id, int tensor_index, in BindGlBufferToTensor() 382 TfLiteDelegate* delegate, GLuint buffer_id, int tensor_index, in TfLiteGpuDelegateBindGlBufferToTensor()
|
/external/tensorflow/tensorflow/lite/micro/kernels/ |
D | kernel_runner.cc | 77 int tensor_index) { in GetTensor() 86 const struct TfLiteContext* context, int tensor_index) { in GetEvalTensor()
|
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/ |
D | calibration_logger.h | 52 TfLiteStatus LogTensorValue(int tensor_index, const float* tensor_values, in LogTensorValue()
|
/external/tensorflow/tensorflow/lite/core/ |
D | subgraph.h | 147 TfLiteTensor* tensor(int tensor_index) { in tensor() 156 const TfLiteTensor* tensor(int tensor_index) const { in tensor() 275 TfLiteStatus EnsureTensorDataIsReadable(int tensor_index) { in EnsureTensorDataIsReadable()
|
D | subgraph.cc | 421 for (int tensor_index : node_subset.output_tensors) { in ReplaceNodeSubsetsWithDelegateKernels() local 808 TfLiteStatus Subgraph::ResizeInputTensor(int tensor_index, in ResizeInputTensor() 842 TfLiteStatus Subgraph::ResizeInputTensorStrict(int tensor_index, in ResizeInputTensorStrict() 1037 int tensor_index = node.inputs->data[i]; in Invoke() local 1194 int tensor_index, TfLiteType type, const char* name, const size_t rank, in SetTensorParametersReadOnly() 1253 int tensor_index, TfLiteType type, const char* name, const size_t rank, in SetTensorParametersReadWrite() 1594 int tensor_index, const TfLiteCustomAllocation& allocation) { in SetCustomAllocationForTensor()
|
/external/tensorflow/tensorflow/core/protobuf/tpu/ |
D | tpu_embedding_output_layout.proto | 26 int32 tensor_index = 1; field
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | prepare_quantize_helper.h | 71 inline QuantizedType GetIntermediateElementType(LstmOp op, int tensor_index) { in GetIntermediateElementType() 530 for (int tensor_index : in GetLstmOpQuantSpec() local
|
/external/tensorflow/tensorflow/lite/delegates/xnnpack/ |
D | xnnpack_delegate.cc | 626 int tensor_index, int node_index) { in CheckTensorType() 638 int tensor_index, int node_index) { in CheckTensorFloatType() 646 int tensor_index) { in CheckTensorShape() 689 int tensor_index) { in CheckTensorShape() 696 int tensor_index, int node_index) { in CheckSlopeTensorShape() 723 int tensor_index, in CheckPaddingsTensorShape() 755 int tensor_index, int node_index) { in CheckAxesTensorShape() 769 int tensor_index, int node_index) { in CheckShapeTensorShape() 782 TfLiteContext* context, const TfLiteTensor& tensor, int tensor_index, in CheckTensorNonDynamicAllocation() 798 int tensor_index, in CheckTensorStaticAllocation()
|