Home
last modified time | relevance | path

Searched refs:GetTensor (Results 1 – 25 of 43) sorted by relevance

12

/external/tensorflow/tensorflow/lite/delegates/flex/
Dbuffer_map_test.cc77 return buffer_map.GetTensor(0); in MakeTensor()
107 EXPECT_THAT(GetTensorData<float>(buffer_map.GetTensor(0)), in TEST()
111 tensorflow::Tensor out_tensor = buffer_map.GetTensor(0); in TEST()
125 EXPECT_THAT(GetTensorData<tensorflow::tstring>(buffer_map.GetTensor(0)), in TEST()
129 tensorflow::Tensor out_tensor = buffer_map.GetTensor(0); in TEST()
145 EXPECT_THAT(GetTensorData<int>(buffer_map.GetTensor(0)), in TEST()
159 EXPECT_THAT(GetTensorData<tensorflow::tstring>(buffer_map.GetTensor(0)), in TEST()
170 EXPECT_THAT(GetTensorData<float>(buffer_map.GetTensor(0)), in TEST()
174 tensorflow::Tensor out_tensor = buffer_map.GetTensor(0); in TEST()
188 EXPECT_THAT(GetTensorData<int>(buffer_map.GetTensor(0)), in TEST()
[all …]
Dbuffer_map.h48 tensorflow::Tensor GetTensor(int tensor_index) const;
Ddelegate.cc108 tensorflow::Tensor t = buffer_map->GetTensor(buffer_handle); in CopyFromBufferHandle()
Dbuffer_map.cc148 tensorflow::Tensor BufferMap::GetTensor(int tensor_index) const { in GetTensor() function in tflite::flex::BufferMap
/external/tensorflow/tensorflow/cc/framework/
Dcc_ops_test.cc53 test::GetTensor(root, m, &out); in TEST()
62 test::GetTensor(root, m, &out); in TEST()
72 test::GetTensor(root, c, &out); in TEST()
83 test::GetTensor(root, l, &out); in TEST()
114 test::GetTensor(root, y_normalized, &out); in TEST()
199 test::GetTensor(root, c1, &out); in TEST()
204 test::GetTensor(root, c2, &out); in TEST()
216 test::GetTensor(root, c1, &out); in TEST()
221 test::GetTensor(root, c2, &out); in TEST()
226 test::GetTensor(root, c3, &out); in TEST()
[all …]
Dtestutil.h36 void GetTensor(const Scope& scope, Output tensor, Tensor* out);
41 void GetTensor(const Scope& scope, const std::vector<Output>& assign_vars,
Dtestutil.cc33 void GetTensor(const Scope& scope, Output tensor, Tensor* out) { in GetTensor() function
46 void GetTensor(const Scope& scope, const std::vector<Output>& assign_vars, in GetTensor() function
/external/tensorflow/tensorflow/lite/experimental/resource/
Dresource_variable_test.cc51 auto* value = var.GetTensor(); in TEST()
77 auto* value = var.GetTensor(); in TEST()
105 auto* value = var.GetTensor(); in TEST()
117 value = var.GetTensor(); in TEST()
146 auto* value = var.GetTensor(); in TEST()
158 value = var.GetTensor(); in TEST()
Dresource_variable.h47 TfLiteTensor* GetTensor() { return is_initialized_ ? &tensor_ : nullptr; } in GetTensor() function
/external/tensorflow/tensorflow/lite/micro/kernels/
Dkernel_runner.cc45 context_.GetTensor = GetTensor; in KernelRunner()
76 TfLiteTensor* KernelRunner::GetTensor(const struct TfLiteContext* context, in GetTensor() function in tflite::micro::KernelRunner
Dkernel_runner.h49 static TfLiteTensor* GetTensor(const struct TfLiteContext* context,
/external/tensorflow/tensorflow/c/
Dcheckpoint_reader.cc88 void CheckpointReader::GetTensor( in GetTensor() function in tensorflow::checkpoint::CheckpointReader
93 status = reader_->GetTensor(name, out_tensor); in GetTensor()
Dcheckpoint_reader.h57 void GetTensor(const string& name,
/external/tensorflow/tensorflow/lite/micro/
Dmicro_interpreter.cc83 TfLiteTensor* ContextHelper::GetTensor(const struct TfLiteContext* context, in GetTensor() function in tflite::internal::ContextHelper
173 context_.GetTensor = context_helper_.GetTensor; in Init()
Dmicro_interpreter.h56 static TfLiteTensor* GetTensor(const struct TfLiteContext* context,
/external/tensorflow/tensorflow/core/framework/
Dsession_state.h34 Status GetTensor(const std::string& handle, Tensor* tensor);
/external/tensorflow/tensorflow/core/common_runtime/
Dsession_state.cc26 Status SessionState::GetTensor(const string& handle, Tensor* tensor) { in GetTensor() function in tensorflow::SessionState
/external/tensorflow/tensorflow/lite/kernels/
Dread_variable.cc62 TfLiteTensor* variable_tensor = variable->GetTensor(); in Eval()
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/
Dinference_context.cc618 node.cl_operation.GetGpuOperation().SetSrc(GetTensor(node.inputs[i]), i); in BindMemoryToOperations()
621 node.cl_operation.GetGpuOperation().SetDst(GetTensor(node.outputs[i]), i); in BindMemoryToOperations()
700 Tensor* InferenceContext::GetTensor(ValueId id) { in GetTensor() function in tflite::gpu::cl::InferenceContext
716 return GetTensor(id)->WriteData(queue, tensor); in SetInputTensor()
722 const auto& gpu_tensor = *GetTensor(id); in GetOutputTensor()
/external/tensorflow/tensorflow/core/kernels/
Dsession_ops.cc104 OP_REQUIRES_OK(ctx, ctx->session_state()->GetTensor(name, &val)); in Compute()
/external/tensorflow/tensorflow/python/util/
Dpy_checkpoint_reader_wrapper.cc107 reader->GetTensor(name, &tensor, status.get()); in CheckpointReader_GetTensor()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dinterpreter_wrapper.h89 PyObject* GetTensor(int i) const;
Dinterpreter_wrapper_pybind11.cc142 return tensorflow::PyoOrThrow(self.GetTensor(i)); in PYBIND11_MODULE()
/external/tensorflow/tensorflow/core/util/
Dtensor_slice_reader.h101 Status GetTensor(const string& name,
/external/tensorflow/tensorflow/lite/micro/kernels/ethos_u/
Dethosu.cc56 TfLiteTensor* tensor = context->GetTensor(context, node->inputs->data[0]); in Prepare()

12