/external/tensorflow/tensorflow/lite/kernels/ |
tile.cc | 23 namespace tflite { namespace 203 } // namespace tflite
|
topk_v2.cc | 22 namespace tflite { namespace 239 } // namespace tflite
|
unidirectional_sequence_rnn_test.cc | 15 // Unit test for TFLite Sequential RNN op. 27 namespace tflite { namespace 442 } // namespace tflite 445 // On Linux, add: tflite::LogToStderr();
|
while.cc | 22 namespace tflite { namespace 312 } // namespace tflite
|
/external/tensorflow/tensorflow/lite/ |
model_test.cc | 39 namespace tflite { namespace 58 const TfLiteRegistration* FindOp(tflite::BuiltinOperator op, 236 class FakeVerifier : public tflite::TfLiteVerifier { 240 tflite::ErrorReporter* reporter) override { 306 const Model* model_fb = ::tflite::GetModel(model_allocation.base()); 322 } // namespace tflite 325 ::tflite::LogToStderr();
|
arena_planner_test.cc | 24 namespace tflite { namespace 538 } // namespace tflite 541 ::tflite::LogToStderr();
|
/external/tensorflow/tensorflow/lite/models/smartreply/ops/ |
predict.cc | 37 namespace tflite { namespace 175 } // namespace tflite
|
/external/tensorflow/tensorflow/lite/profiling/ |
profile_buffer.h | 24 namespace tflite { namespace 53 } // namespace tflite 60 namespace tflite { namespace in namespace:tflite 149 } // namespace tflite
|
profile_summarizer.cc | 22 namespace tflite { namespace 32 std::string GetTensorName(const tflite::Interpreter& interpreter, 40 std::vector<std::string> GetTensorNames(const tflite::Interpreter& interpreter, 66 OperatorDetails GetOperatorDetails(const tflite::Interpreter& interpreter, 73 if (code == tflite::BuiltinOperator_CUSTOM) { 77 op_name = tflite::EnumNamesBuiltinOperator()[code]; 106 const tflite::Interpreter& interpreter) { 146 } // namespace tflite
|
/external/tensorflow/tensorflow/lite/python/optimize/ |
calibration_wrapper.cc | 43 namespace tflite { namespace 50 std::unique_ptr<tflite::ModelT> CreateMutableModel(const tflite::Model& model) { 51 std::unique_ptr<tflite::ModelT> copied_model = 52 absl::make_unique<tflite::ModelT>(); 60 std::unique_ptr<tflite::Interpreter> interpreter, 61 std::unique_ptr<tflite::ops::builtin::BuiltinOpResolver> resolver, 62 std::unique_ptr<tflite::interpreter_wrapper::PythonErrorReporter> 64 std::unique_ptr<tflite::FlatBufferModel> model, 65 std::unique_ptr<tflite::optimize::calibration::CalibrationReader> reader [all...] |
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/ |
parse_testdata.cc | 18 // Parses tflite example input data. 36 namespace tflite { namespace 70 // to test cases that can be applied to a tflite model. 154 TfLiteStatus FeedExample(tflite::Interpreter* interpreter, 189 TfLiteStatus CheckOutputs(tflite::Interpreter* interpreter, 366 } // namespace tflite
|
/external/tensorflow/tensorflow/lite/testing/ |
parse_testdata.cc | 15 // Parses tflite example input data. 33 namespace tflite { namespace 67 // to test cases that can be applied to a tflite model. 151 TfLiteStatus FeedExample(tflite::Interpreter* interpreter, 186 TfLiteStatus CheckOutputs(tflite::Interpreter* interpreter, 363 } // namespace tflite
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
export.h | 19 #include "tensorflow/lite/toco/tflite/operator.h" 24 namespace tflite { namespace in namespace:toco 26 // The parameters for exporting a TFLite model. 38 // Export API with custom TFLite operator mapping. 98 OperatorKey(::tflite::BuiltinOperator type, const std::string& custom_code, 104 ::tflite::BuiltinOperator type() const { return type_; } 141 return ::tflite::CombineHashes( 149 ::tflite::BuiltinOperator type_ = ::tflite::BuiltinOperator_CUSTOM; 171 } // namespace tflite [all...] |
import_test.cc | 15 #include "tensorflow/lite/toco/tflite/import.h" 25 namespace tflite { namespace in namespace:toco 40 Offset<Vector<Offset<::tflite::Buffer>>> BuildBuffers() { 41 auto buf0 = ::tflite::CreateBuffer(builder_, CreateDataVector<float>({})); 42 auto buf1 = ::tflite::CreateBuffer( 45 ::tflite::CreateBuffer(builder_, CreateDataVector<float>({3.0f, 4.0f})); 47 std::vector<Offset<::tflite::Buffer>>({buf0, buf1, buf2})); 50 Offset<Vector<Offset<::tflite::Tensor>>> BuildTensors() { 51 auto q = ::tflite::CreateQuantizationParameters( 58 ::tflite::CreateTensor(builder_, builder_.CreateVector<int>({1, 2, 2}) [all...] |
/external/tensorflow/tensorflow/lite/tools/benchmark/ |
benchmark_model.cc | 32 return tflite::profiling::time::SleepForMicros( 38 namespace tflite { namespace 189 } // namespace tflite
|
benchmark_model.h | 30 namespace tflite { namespace 172 } // namespace tflite
|
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/ |
node_info_delegate_test.cc | 31 namespace tflite { namespace 160 } // namespace tflite 166 "Path to test tflite model file."),
|
/external/tensorflow/tensorflow/lite/tools/optimize/ |
quantization_utils.cc | 25 namespace tflite { namespace 202 } // namespace tflite
|
quantization_utils_test.cc | 29 namespace tflite { namespace 238 tflite::ModelT model; 262 } // namespace tflite 268 "Path to test tflite model file."),
|
quantize_weights_test.cc | 35 namespace tflite { namespace 94 tflite::BuiltinOperator* op_code) { 339 } // namespace tflite 345 "Path to test tflite model file."),
|
/external/tensorflow/tensorflow/lite/tools/ |
verifier.cc | 23 namespace tflite { namespace 47 return ::tflite::GetModel(buf); 388 } // namespace tflite
|
verifier_test.cc | 31 namespace tflite { namespace 74 void AddTensor(const std::vector<int>& shape, tflite::TensorType type, 95 tflite::BuiltinOperator builtin_op, const char* custom_op) { 102 /*custom_options=*/0, tflite::CustomOptionsFormat_FLEXBUFFERS)); 116 tflite::FinishModelBuffer(builder_, result); 120 return tflite::Verify(builder_.GetBufferPointer(), builder_.GetSize(), 142 ::tflite::FinishModelBuffer(builder, model); 192 ::tflite::FinishModelBuffer(builder, model); 205 ::tflite::FinishModelBuffer(builder, model); 266 ::tflite::FinishModelBuffer(builder, model) [all...] |
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/ |
ImageClassifier.java | 73 protected Interpreter tflite; field in class:ImageClassifier 103 tflite = new Interpreter(tfliteModel, tfliteOptions); 119 if (tflite == null) { 164 if (tflite != null) { 165 tflite.close(); 168 tflite = new Interpreter(tfliteModel, tfliteOptions); 195 /** Closes tflite to release resources. */ 197 tflite.close(); 198 tflite = null;
|
/external/libtextclassifier/utils/tflite/ |
text_encoder.cc | 26 #include "utils/tflite/encoder_common.h" 27 #include "utils/tflite/text_encoder.h" 28 #include "utils/tflite/text_encoder_config_generated.h" 194 if (tflite::IsConstantTensor(&output_length)) { 197 tflite::SetTensorToDynamic(&output_encoded); 198 tflite::SetTensorToDynamic(&output_positions); 202 tflite::SetTensorToDynamic(&output_attr); 217 const int num_strings = tflite::GetStringCount(&input_text); 225 if (tflite::IsDynamicTensor(&output_encoded)) { 242 const auto& strref = tflite::GetString(&input_text, i) 285 namespace tflite { namespace [all...] |
/external/tensorflow/tensorflow/lite/c/ |
builtin_op_data_test.cc | 19 namespace tflite { namespace 82 } // namespace tflite
|