HomeSort by relevance Sort by last modified time
    Searched refs:profile_pb (Results 1 - 2 of 2) sorted by null

  /external/tensorflow/tensorflow/core/profiler/internal/
tfprof_code.cc 287 pprof::Profile profile_pb; variable
288 Build(&profile_pb); variable
299 s = zlib_output_buffer->Append(profile_pb.SerializeAsString());
309 void Build(pprof::Profile* profile_pb) {
311 auto sample_type = profile_pb->mutable_sample_type()->Add();
317 sample_type = profile_pb->mutable_sample_type()->Add();
322 profile_pb->mutable_comment()->Add(string_table_.GetIndex(
325 profile_pb->mutable_comment()->Add(
328 profile_pb->mutable_comment()->Add(
333 profile_pb->mutable_comment()->Add
    [all...]
  /external/tensorflow/tensorflow/python/profiler/
model_analyzer_test.py 433 profile_pb = profile_pb2.Profile()
436 profile_pb.ParseFromString(gzipf.read())
438 self.assertGreater(len(profile_pb.sample), 10)
439 self.assertGreater(len(profile_pb.location), 10)
440 self.assertGreater(len(profile_pb.function), 10)
441 self.assertGreater(len(profile_pb.string_table), 30)
445 for s in profile_pb.string_table:
789 profile_pb = tfprof_log_pb2.ProfileProto()
790 profile_pb.ParseFromString(profiler.serialize_to_string())
791 profile_pb_str = '%s' % profile_pb
    [all...]

Completed in 78 milliseconds