Home
last modified time | relevance | path

Searched refs:tensor_buffer (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/
Dstring_util.cc107 char* tensor_buffer; in WriteToTensor() local
108 int bytes = WriteToBuffer(&tensor_buffer); in WriteToTensor()
116 tensor_buffer, bytes, kTfLiteDynamic, tensor->allocation, in WriteToTensor()
/external/tensorflow/tensorflow/compiler/jit/
Dxla_launch_util.h224 auto* tensor_buffer = new XlaTensorBuffer(buffer.opaque(), expected_size, in MakeTensor() local
226 Tensor t(dtype, shape, tensor_buffer); in MakeTensor()
227 tensor_buffer->Unref(); in MakeTensor()
/external/tensorflow/tensorflow/lite/toco/tflite/
Dtypes.cc31 char* tensor_buffer; in CopyStringToBuffer() local
32 int bytes = dyn_buffer.WriteToBuffer(&tensor_buffer); in CopyStringToBuffer()
34 memcpy(dst_data.data(), tensor_buffer, bytes); in CopyStringToBuffer()
35 free(tensor_buffer); in CopyStringToBuffer()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dlstm_utils.cc71 void CopyArrayToSubArray(Buffer<ArrayDataType::kFloat>& tensor_buffer, in CopyArrayToSubArray() argument
81 CopyArrayData(sub_buffer, dim2_copy_size, 0, 0, &tensor_buffer, in CopyArrayToSubArray()
Dlstm_utils.h101 void CopyArrayToSubArray(Buffer<ArrayDataType::kFloat>& tensor_buffer,
/external/tensorflow/tensorflow/core/framework/
Dtensor.h959 HostScalarTensorBuffer tensor_buffer; member
978 intptr_t offset = reinterpret_cast<intptr_t>(&dummy_object->tensor_buffer) - in delete()
990 new (&value_and_buf->tensor_buffer) in Tensor()
993 buf_ = &value_and_buf->tensor_buffer; in Tensor()