Home
last modified time | relevance | path

Searched refs:num_ops (Results 1 – 21 of 21) sorted by relevance

/external/grpc-grpc/test/core/end2end/tests/
Dcancel_with_status.cc38 size_t num_ops, in begin_test() argument
43 config.name, num_ops); in begin_test()
93 grpc_end2end_test_fixture f, size_t num_ops) { in simple_request_body() argument
104 gpr_log(GPR_DEBUG, "test with %" PRIuPTR " ops", num_ops); in simple_request_body()
138 GPR_ASSERT(num_ops <= (size_t)(op - ops)); in simple_request_body()
139 error = grpc_call_start_batch(c, ops, num_ops, tag(1), nullptr); in simple_request_body()
165 size_t num_ops) { in test_invoke_simple_request() argument
168 f = begin_test(config, "test_invoke_simple_request", num_ops, nullptr, in test_invoke_simple_request()
170 simple_request_body(config, f, num_ops); in test_invoke_simple_request()
Dnegative_deadline.cc90 grpc_end2end_test_fixture f, size_t num_ops) { in simple_request_body() argument
101 gpr_log(GPR_DEBUG, "test with %" PRIuPTR " ops", num_ops); in simple_request_body()
135 GPR_ASSERT(num_ops <= (size_t)(op - ops)); in simple_request_body()
136 error = grpc_call_start_batch(c, ops, num_ops, tag(1), nullptr); in simple_request_body()
154 size_t num_ops) { in test_invoke_simple_request() argument
158 simple_request_body(config, f, num_ops); in test_invoke_simple_request()
Dcancel_before_invoke.cc35 size_t num_ops, in begin_test() argument
40 config.name, num_ops); in begin_test()
/external/tensorflow/tensorflow/lite/testing/op_tests/
Dhardswish.py31 num_ops = kwargs.pop("num_ops", 2)
39 if len(interpreter.get_tensor_details()) != num_ops:
75 num_ops=2)
/external/tensorflow/tensorflow/python/grappler/
Dhierarchical_controller.py432 self.num_ops = len(self.important_ops)
473 op_types = np.zeros([self.num_ops], dtype=np.int32)
475 [self.num_ops, output_embed_dim], -1.0, dtype=np.float32)
492 [self.num_ops, self.hparams.adj_embed_dim], 0, dtype=np.float32)
503 self.num_ops,
514 print("num_ops = {}".format(self.num_ops))
524 shape=[num_children, self.num_ops],
559 [batch_size * self.num_ops, embedding_dim])
574 [batch_size * self.num_ops, self.num_groups])
577 actions = array_ops.reshape(actions, [batch_size, self.num_ops])
/external/grpc-grpc/test/core/end2end/fuzzers/
Dapi_fuzzer.cc954 size_t num_ops = grpc_fuzzer_get_next_byte(&inp); in LLVMFuzzerTestOneInput() local
955 if (num_ops > 6) { in LLVMFuzzerTestOneInput()
960 static_cast<grpc_op*>(gpr_malloc(sizeof(grpc_op) * num_ops)); in LLVMFuzzerTestOneInput()
961 if (num_ops > 0) memset(ops, 0, sizeof(grpc_op) * num_ops); in LLVMFuzzerTestOneInput()
966 for (i = 0; i < num_ops; i++) { in LLVMFuzzerTestOneInput()
1054 g_active_call->call, ops, num_ops, v, nullptr); in LLVMFuzzerTestOneInput()
/external/jemalloc_new/include/jemalloc/internal/
Dmutex_prof.h39 OP(num_ops, uint64_t, "n_lock_ops") \
/external/tensorflow/tensorflow/core/kernels/
Dquantized_mul_op_test.cc172 const int64 num_ops = outputs[0].NumElements(); in TimeMul() local
175 (iterations * num_ops) / static_cast<double>(total_duration); in TimeMul()
Dquantized_add_op_test.cc172 const int64 num_ops = outputs[0].NumElements(); in TimeAdd() local
175 (iterations * num_ops) / static_cast<double>(total_duration); in TimeAdd()
Dnn_ops_test.cc134 int64 num_ops = 0; in BM_ConvFloat() local
139 num_ops = static_cast<int64>(batch * in_depth * out_depth) * in BM_ConvFloat()
146 num_ops = static_cast<int64>(batch * in_depth * out_depth) * in BM_ConvFloat()
227 testing::ItemsProcessed(num_ops * iters); in BM_ConvFloat()
530 int64 num_ops = 0; in BM_ConvFloatDepthwise() local
536 num_ops = static_cast<int64>(batch * out_rows * out_cols) * in BM_ConvFloatDepthwise()
547 num_ops = (static_cast<int64>(batch * rows * cols) * in BM_ConvFloatDepthwise()
609 testing::ItemsProcessed(num_ops * iters); in BM_ConvFloatDepthwise()
Dquantized_resize_bilinear_op_test.cc222 const int64 num_ops = outputs->at(0).NumElements(); in TestResizeBilinear() local
225 (iterations * num_ops) / static_cast<double>(total_duration); in TestResizeBilinear()
Dquantization_utils_test.cc326 const int64 num_ops = num_elements; in TimeRequantizeManyInNewRange() local
329 (iterations * num_ops) / static_cast<double>(total_duration); in TimeRequantizeManyInNewRange()
/external/tensorflow/tensorflow/python/client/
Dvirtual_gpu_test.py42 num_ops=100, argument
46 self._num_ops = num_ops
/external/XNNPACK/src/xnnpack/
Dsubgraph.h163 size_t num_ops; member
/external/XNNPACK/src/
Druntime.c56 runtime->num_ops = subgraph->num_nodes; in xnn_create_runtime_v2()
344 for (size_t i = 0; i < runtime->num_ops; i++) { in xnn_setup_runtime()
456 for (size_t i = 0; i < runtime->num_ops; i++) { in xnn_invoke_runtime()
470 for (size_t i = 0; i < runtime->num_ops; i++) { in xnn_delete_runtime()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_event_mgr_test.cc341 int num_ops() const { return add_kernels_.size(); } in num_ops() function in tensorflow::__anon160907330511::EMBenchmarkHelper
351 void ReInit(int num_ops, int tensor_size) { in ReInit() argument
382 while (add_kernels_.size() < num_ops) { in ReInit()
649 if (bm_helper->num_ops() != adds_per_round || in BM_chain_ops()
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py747 num_ops = 1000
754 for _ in xrange(num_ops):
770 1000 * results["wall_time"] / (batch_size * num_ops)))
795 num_ops = 1000
802 for _ in xrange(num_ops):
819 1000 * results["wall_time"] / (batch_size * num_ops)))
853 num_ops = 1000
860 for _ in xrange(num_ops):
875 1000 * results["wall_time"] / (batch_size * num_ops)))
/external/tensorflow/tensorflow/lite/toco/
Dtooling_util.cc2021 int64 num_ops; in EstimateArithmeticOpsCount() local
2022 if (!EstimateArithmeticOpsCount(model, *op, &num_ops)) { in EstimateArithmeticOpsCount()
2025 total += num_ops; in EstimateArithmeticOpsCount()
/external/jemalloc_new/
DChangeLog220 {num_ops,num_spin_acq,num_wait,max_wait_time,total_wait_time,max_num_thds,
228 {num_ops,num_spin_acq,num_wait,max_wait_time,total_wait_time,max_num_thds,
233 {num_ops,num_spin_acq,num_wait,max_wait_time,total_wait_time,max_num_thds,
/external/mdnsresponder/mDNSShared/
Duds_daemon.c4139 int num_records = 0, num_ops = 0; in LogClientInfo() local
4143 for (r = req->next; r; r=r->next) if (r->primary == req) num_ops++; in LogClientInfo()
4146 num_ops, num_ops != 1 ? "s" : ""); in LogClientInfo()
/external/grpc-grpc/src/core/lib/surface/
Dcall.cc1094 size_t num_ops) { in reuse_or_allocate_batch_control() argument