/external/eigen/bench/perf_monitoring/gemm/ |
gemm.cpp | 43 double flops = 2. * m * n * k; local 44 long rep = std::max(1., std::min(100., up/flops) ); 45 long tries = std::max(tm0, std::min(tm1, up/flops) ); 49 return 1e-9 * rep * flops / t.best();
|
lazy_gemm.cpp | 44 double flops = 2. * m * n * k; local 45 long rep = std::max(10., std::min(10000., up/flops) ); 46 long tries = std::max(tm0, std::min(tm1, up/flops) ); 50 return 1e-9 * rep * flops / t.best();
|
/external/tensorflow/tensorflow/core/kernels/ |
eigen_benchmark_cpu_test.cc | 53 auto flops = local 55 ::tensorflow::testing::ItemsProcessed(flops * iters); 81 auto flops = local 83 ::tensorflow::testing::ItemsProcessed(flops * iters); 109 auto flops = local 111 ::tensorflow::testing::ItemsProcessed(flops * iters); 275 auto flops = num_computed_elements * local 277 ::tensorflow::testing::ItemsProcessed(flops * iters); 304 auto flops = num_computed_elements * local 306 ::tensorflow::testing::ItemsProcessed(flops * iters) 333 auto flops = num_computed_elements * local [all...] |
/external/tensorflow/tensorflow/compiler/xla/ |
util.cc | 151 string HumanReadableNumOps(double flops, double nanoseconds, 156 double nano_flops = flops / nanoseconds; 160 // Use the more common "G(FLOPS)", rather than "B(FLOPS)" 170 string HumanReadableNumFlops(double flops, double nanoseconds) { 171 return HumanReadableNumOps(flops, nanoseconds, "FL");
|
util.h | 434 // Given a number of flops executed in an amount of time, produces a string that 437 string HumanReadableNumFlops(double flops, double nanoseconds);
|
/external/tensorflow/tensorflow/compiler/xla/tests/ |
xla_hlo_profile_test.cc | 49 string flops; member in struct:xla::__anon44674::ParsedProfileOutputLine 58 if (RE2::FullMatch(parsed_line.flops, "[0-9.TGMk]+FLOP/s")) { 60 << "'flops' field present in " << parsed_line.opcode << ": '" 61 << parsed_line.flops << "'"; 65 << "'flops' field absent in " << parsed_line.opcode << ": '" 66 << parsed_line.flops << "'"; 110 &parsed_line.usec, &parsed_line.flops, &parsed_line.trops,
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
matmul_op_test.py | 155 flops = ops.get_stats_for_node_def(g, op.node_def, "flops").value 157 self.assertEqual(7200, flops) 166 flops = ops.get_stats_for_node_def(g, op.node_def, "flops").value 168 self.assertEqual(7200, flops)
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
hlo_cost_analysis.cc | 101 // FLOPs. 557 // Estimate as batch * mn^2 / 2 flops. 569 // Estimate as batch * n^3 / 3 flops. 582 double flops = 0.0; local 586 flops += ShapeUtil::ElementsIn(subshape); 589 current_properties_[kFlopsKey] = flops; 716 // Gather does not issue any flops.
|
/external/tensorflow/tensorflow/python/framework/ |
ops_test.py | [all...] |