Juho Ha
9394966102
Enable ATrace profiler by Android system property.
...
ATrace profiler is included in Android library always.
To enable ATrace profiler when running app,
users need to set 'debug.tflite.trace' property.
$ adb shell setprop debug.tflite.trace 1
PiperOrigin-RevId: 328684900
Change-Id: I3fa9511a58e9055c3c4d371f904daf8c530abcf4
2020-08-27 00:07:25 -07:00
Dayeong Lee
ee7642b267
Move the writer functions of profileSummarizer to ProfileSummaryFormatter.
...
PiperOrigin-RevId: 295875892
Change-Id: Ie27c735012f1337b848e94548ac26aea5b8770b6
2020-02-18 19:17:56 -08:00
Juho Ha
399a62bc64
Add PlatformProfiler to support op tracing using platform tracing tools.
...
PiperOrigin-RevId: 295872277
Change-Id: I8c02ec3974cd246bab70b47426778e9dda5938ee
2020-02-18 18:46:01 -08:00
A. Unique TensorFlower
829c458184
Add tensorflow/core/util/BUILD, which currently just exports the files in
...
that directory and adds tf_proto_library rules where necessary.
PiperOrigin-RevId: 284716215
Change-Id: I0f90fe1b26a6fbddfa90005aceb0da21eecd707a
2019-12-10 00:42:13 -08:00
A. Unique TensorFlower
07f3af1146
Add tensorflow/core/util/BUILD, which currently just exports the files in
...
that directory and adds tf_proto_library rules where necessary.
PiperOrigin-RevId: 284328164
Change-Id: If39868fea1d2b200af0b33249685184cb47b4f1e
2019-12-07 01:11:32 -08:00
A. Unique TensorFlower
8c9d11c248
Add tensorflow/core/util/BUILD, which currently just exports the files in
...
that directory and adds tf_proto_library rules where necessary.
PiperOrigin-RevId: 284327132
Change-Id: Ic24882814a069c054bd507ead088aa5dc4b1738f
2019-12-07 00:57:45 -08:00
Chao Mei
6b262865e0
Record allocated memory stats for TFLite's BufferedProfiler, and apply it in the benchmark tool with an adjustment on start/end profiling.
...
PiperOrigin-RevId: 278996023
Change-Id: I9ba64b3519e5149a814e2c34ab0f840e841b35df
2019-11-06 20:11:33 -08:00
Chao Mei
6c32a22396
Create a utility function to return memory info from the system, and use it in the benchmark tool to report memory usage via TFLITE_LOG.
...
PiperOrigin-RevId: 277224189
Change-Id: I529dda6c22fdc76c38c3e8f96e87eb3e809b4c37
2019-10-29 00:17:17 -07:00
Mihai Maruseac
312e7ed667
Rollback of 99728df133
and f2a5866005
...
PiperOrigin-RevId: 276871275
Change-Id: If6423737b757e68345276fb85e42cce901d05540
2019-10-26 11:56:55 -07:00
Chao Mei
99728df133
Create a utility function to return memory info from the system, and use it in the benchmark tool to report memory usage via TFLITE_LOG.
...
PiperOrigin-RevId: 276644029
Change-Id: Iae2bce1f54df7645473f0f749fd04fff1ba66105
2019-10-25 00:44:19 -07:00
Jaesung Chung
b366763251
Implement subgraph aware profiling tool
...
PiperOrigin-RevId: 274991331
Change-Id: I3358d43c3f0c2cdbc08a6849721b1493c9a190fa
2019-10-16 02:53:59 -07:00
A. Unique TensorFlower
208d410d1d
Adjust structure of all BUILD files to recommended style ( https://docs.bazel.build/versions/master/skylark/build-style.html#file-structure ), moving loads to top.
...
PiperOrigin-RevId: 252573670
2019-06-11 01:56:14 -07:00
A. Unique TensorFlower
278ed897b5
Apply 'buildozer fix moveLicensesAndDistribs movePackageToTop' to all BUILD files.
...
PiperOrigin-RevId: 249806664
2019-05-24 03:46:12 -07:00
Jared Duke
0d78bd927e
Remove profiling dependency from lite:framework
...
PiperOrigin-RevId: 247439874
2019-05-09 13:05:18 -07:00
Jared Duke
75bd1d5c92
Allow TFLite profiling without a build flag
...
Introduce a simple profiler interface for allowing
client injection of an arbitrary profiler implementation
at runtime, without requiring special build flags.
PiperOrigin-RevId: 247044534
2019-05-07 10:39:28 -07:00
Jared Duke
2937b40fc2
Migrate several TFLite tests to use cc_test directly
...
PiperOrigin-RevId: 241623088
2019-04-02 16:16:31 -07:00
Karim Nosir
4aaca394a3
Remove unused dependencies.
...
PiperOrigin-RevId: 230357984
2019-01-22 10:00:43 -08:00
Jared Duke
19f14821f2
Fix several TFLite tests
...
PiperOrigin-RevId: 229288943
2019-01-14 17:49:11 -08:00
Jared Duke
a025c7a21c
Fix benchmark_model compilation on Windows
...
Use std::this_thread::sleep_for on Windows.
Fixes #24475
PiperOrigin-RevId: 226530323
2018-12-21 13:12:49 -08:00
A. Unique TensorFlower
dd6b19f366
One more batch of tests enabled in oss
...
PiperOrigin-RevId: 224186044
2018-12-05 11:12:54 -08:00
Austin Anderson
61c6c84964
Migrate TensorFlow Lite out of tensorflow/contrib
...
This change moves //tensorflow/contrib/lite to //tensorflow/lite in preparation
for TensorFlow 2.0's deprecation of contrib/. If you refer to TF Lite build
targets or headers, you will need to update them manually. If you use TF Lite
from the TensorFlow python package, "tf.contrib.lite" now points to "tf.lite".
Please update your imports as soon as possible.
For more details, see https://groups.google.com/a/tensorflow.org/forum/#!topic/tflite/iIIXOTOFvwQ
@angersson and @aselle are conducting this migration. Please contact them if
you have any further questions.
PiperOrigin-RevId: 219536476
2018-10-31 14:20:28 -07:00