/external/tensorflow/tensorflow/lite/ |
D | interpreter.h | 37 constexpr TfLiteType typeToTfLiteType() { in typeToTfLiteType() 41 constexpr TfLiteType typeToTfLiteType<int>() { 45 constexpr TfLiteType typeToTfLiteType<int16_t>() { 49 constexpr TfLiteType typeToTfLiteType<int64_t>() { 53 constexpr TfLiteType typeToTfLiteType<float>() { 57 constexpr TfLiteType typeToTfLiteType<unsigned char>() { 61 constexpr TfLiteType typeToTfLiteType<int8_t>() { 65 constexpr TfLiteType typeToTfLiteType<bool>() { 69 constexpr TfLiteType typeToTfLiteType<std::complex<float>>() { 73 constexpr TfLiteType typeToTfLiteType<string>() { [all …]
|
D | interpreter.cc | 156 int tensor_index, TfLiteType type, const char* name, in SetTensorParametersReadOnly() 165 int tensor_index, TfLiteType type, const char* name, in SetTensorParametersReadWrite() 174 int tensor_index, TfLiteType type, const char* name, const size_t rank, in SetTensorParametersReadOnly() 188 int tensor_index, TfLiteType type, const char* name, const size_t rank, in SetTensorParametersReadWrite()
|
D | optional_debug_tools.cc | 37 const char* TensorTypeName(TfLiteType type) { in TensorTypeName()
|
/external/tensorflow/tensorflow/lite/c/ |
D | builtin_op_data.h | 265 TfLiteType in_data_type; 266 TfLiteType out_data_type; 315 TfLiteType output_type; 319 TfLiteType output_type; 333 TfLiteType out_type; 368 TfLiteType index_out_type;
|
D | c_api_internal.h | 207 } TfLiteType; typedef 210 const char* TfLiteTypeGetName(TfLiteType type); 289 TfLiteType type; 350 void TfLiteTensorReset(TfLiteType type, const char* name, TfLiteIntArray* dims,
|
D | c_api_internal.c | 120 void TfLiteTensorReset(TfLiteType type, const char* name, TfLiteIntArray* dims, in TfLiteTensorReset() 153 const char* TfLiteTypeGetName(TfLiteType type) { in TfLiteTypeGetName()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | elementwise.cc | 28 bool IsNumericSupportedType(const TfLiteType type) { in IsNumericSupportedType() 32 bool IsLogicalSupportedType(const TfLiteType type) { in IsLogicalSupportedType() 36 typedef bool (*IsSupportedType)(TfLiteType); 55 T func(T), TfLiteType expected_type) { in EvalImpl()
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | util.h | 39 TF_DataType GetTensorFlowDataType(TfLiteType type); 42 TfLiteType GetTensorFlowLiteType(TF_DataType);
|
D | util.cc | 57 TF_DataType GetTensorFlowDataType(TfLiteType type) { in GetTensorFlowDataType() 82 TfLiteType GetTensorFlowLiteType(TF_DataType type) { in GetTensorFlowLiteType()
|
D | test_util.h | 81 TfLiteType GetType(int tensor_index); 89 const std::vector<int>& outputs, TfLiteType type,
|
D | test_util.cc | 66 TfLiteType FlexModelTest::GetType(int tensor_index) { in GetType() 71 const std::vector<int>& outputs, TfLiteType type, in AddTensors()
|
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
D | python_utils.h | 30 int TfLiteTypeToPyArrayType(TfLiteType tf_lite_type); 32 TfLiteType TfLiteTypeFromPyArray(PyArrayObject* array);
|
D | python_utils.cc | 31 int TfLiteTypeToPyArrayType(TfLiteType tf_lite_type) { in TfLiteTypeToPyArrayType() 58 TfLiteType TfLiteTypeFromPyArray(PyArrayObject* array) { in TfLiteTypeFromPyArray()
|
/external/tensorflow/tensorflow/lite/core/ |
D | subgraph.h | 89 int tensor_index, TfLiteType type, const char* name, 98 int tensor_index, TfLiteType type, const char* name, const size_t rank, 107 int tensor_index, TfLiteType type, const char* name, 113 TfLiteStatus SetTensorParametersReadWrite(int tensor_index, TfLiteType type, 358 TfLiteStatus BytesRequired(TfLiteType type, const int* dims, size_t dims_size,
|
/external/tensorflow/tensorflow/lite/java/src/main/native/ |
D | tensor_jni.cc | 63 size_t ElementByteSize(TfLiteType data_type) { in ElementByteSize() 92 size_t WriteOneDimensionalArray(JNIEnv* env, jobject object, TfLiteType type, in WriteOneDimensionalArray() 141 size_t ReadOneDimensionalArray(JNIEnv* env, TfLiteType data_type, in ReadOneDimensionalArray() 185 size_t ReadMultiDimensionalArray(JNIEnv* env, TfLiteType data_type, char* src, in ReadMultiDimensionalArray() 237 size_t WriteMultiDimensionalArray(JNIEnv* env, jobject src, TfLiteType type, in WriteMultiDimensionalArray()
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate.cc | 55 bool IsFloat(TfLiteType type) { in IsFloat() 64 bool IsQuantized(TfLiteType type) { in IsQuantized() 82 const TfLiteType input_type = context->tensors[input_id].type; in IsHybridOperator() 83 const TfLiteType filter_type = context->tensors[filter_id].type; in IsHybridOperator() 207 int DequantizedAnnIndex(int ann_index, TfLiteType type) const { in DequantizedAnnIndex() 216 void Add(int ann_index, TfLiteType type, int dequantized_ann_index) { in Add() 225 std::vector<std::tuple<int, TfLiteType, int>> mapping_; 299 TfLiteType dequantized_type) { in AddDequantize() 419 TfLiteType tensor_type = tensor->type; in AddTensor() 1206 const TfLiteType type = context->tensors[tensor_id].type; in AddDequantizeOperatorsWhereNeeded()
|
/external/tensorflow/tensorflow/lite/experimental/micro/ |
D | simple_tensor_allocator.cc | 23 TfLiteStatus TfLiteTypeSizeOf(TfLiteType type, size_t* size, in TfLiteTypeSizeOf() 59 TfLiteType tf_lite_type; in BytesRequired()
|
/external/tensorflow/tensorflow/lite/experimental/micro/kernels/ |
D | fully_connected.cc | 50 TfLiteType data_type, const TfLiteTensor* input, in CalculateOpData() 151 TfLiteType data_type = input->type; in Eval()
|
D | depthwise_conv.cc | 54 const TfLiteType data_type, OpData* data) { in CalculateOpData() 166 const TfLiteType data_type = input->type; in Eval()
|
/external/tensorflow/tensorflow/lite/tools/accuracy/ |
D | utils.h | 37 DataType GetTFDataType(TfLiteType tflite_type);
|
D | utils.cc | 35 DataType GetTFDataType(TfLiteType tflite_type) { in GetTFDataType()
|
/external/tensorflow/tensorflow/lite/core/api/ |
D | flatbuffer_conversions.h | 63 TfLiteStatus ConvertTensorType(TensorType tensor_type, TfLiteType* type,
|
D | flatbuffer_conversions.cc | 56 TfLiteStatus ConvertTensorType(TensorType tensor_type, TfLiteType* type, in ConvertTensorType() 669 ? TfLiteType::kTfLiteInt64 in ParseOpData() 670 : TfLiteType::kTfLiteInt32; in ParseOpData()
|
/external/tensorflow/tensorflow/lite/experimental/writer/ |
D | enum_mapping.h | 58 inline TensorType TfLiteTypeToSchemaType(TfLiteType type) { in TfLiteTypeToSchemaType()
|
/external/tensorflow/tensorflow/lite/experimental/c/ |
D | c_api.h | 60 typedef TfLiteType TFL_Type;
|