Home
last modified time | relevance | path

Searched refs:arg_val (Results 1 – 13 of 13) sorted by relevance

/third_party/mindspore/mindspore/core/ops/grad/
Dpool_grad.cc22 …or<int64_t> PoolGrad::_grad_check_vector(const std::string &arg_name, std::vector<int64_t> arg_val, in _grad_check_vector() argument
28 switch ((int64_t)arg_val.size()) { in _grad_check_vector()
30 ret = {1, 1, arg_val[0], arg_val[0]}; in _grad_check_vector()
33 ret = {1, 1, arg_val[0], arg_val[1]}; in _grad_check_vector()
36 ret = arg_val; in _grad_check_vector()
41 for (auto it : arg_val) { in _grad_check_vector()
Dpool_grad.h49 …vector<int64_t> _grad_check_vector(const std::string &arg_name, const std::vector<int64_t> arg_val,
/third_party/grpc/examples/cpp/helloworld/
Dgreeter_client.cc83 std::string arg_val = argv[1]; in main() local
84 size_t start_pos = arg_val.find(arg_str); in main()
87 if (arg_val[start_pos] == '=') { in main()
88 target_str = arg_val.substr(start_pos + 1); in main()
/third_party/jerryscript/jerry-core/ecma/operations/
Decma-exceptions.c281 const ecma_value_t arg_val = va_arg (args, ecma_value_t); in ecma_raise_standard_error_with_format() local
283 if (JERRY_UNLIKELY (ecma_is_value_object (arg_val))) in ecma_raise_standard_error_with_format()
285 ecma_object_t *arg_object_p = ecma_get_object_from_value (arg_val); in ecma_raise_standard_error_with_format()
290 else if (ecma_is_value_symbol (arg_val)) in ecma_raise_standard_error_with_format()
292 ecma_value_t symbol_desc_value = ecma_get_symbol_descriptive_string (arg_val); in ecma_raise_standard_error_with_format()
298 arg_string_p = ecma_op_to_string (arg_val); in ecma_raise_standard_error_with_format()
/third_party/mindspore/mindspore/nn/layer/
Dbasic.py975 def _check_tuple_or_list(arg_name, arg_val, prim_name): argument
977 if len(arg_val) != 4 or arg_val[0] != 1 or arg_val[3] != 1:
980 …if not isinstance(arg_val[1], int) or not isinstance(arg_val[2], int) or arg_val[1] < 1 or arg_val
/third_party/mindspore/mindspore/ops/operations/
D_inner_ops.py62 def _check_tuple_or_list(arg_name, arg_val, prim_name): argument
63 validator.check_value_type(f"{arg_name}s", arg_val, [tuple, list], self.name)
64 if len(arg_val) != 4 or arg_val[0] != 1 or arg_val[1] != 1:
67 …if not isinstance(arg_val[2], int) or not isinstance(arg_val[3], int) or arg_val[2] < 1 or arg_val
D_grad_ops.py777 def _grad_check_int_or_tuple(arg_name, arg_val, is_argmax): argument
778 validator.check_value_type(arg_name, arg_val, (int, tuple), self.name)
781 if isinstance(arg_val, int):
782 ret = (1, arg_val, arg_val, 1) if is_argmax else (1, 1, arg_val, arg_val)
783 elif len(arg_val) == 2:
784 … ret = (1, arg_val[0], arg_val[1], 1) if is_argmax else (1, 1, arg_val[0], arg_val[1])
785 elif len(arg_val) == 4:
786 ret = arg_val
/third_party/ffmpeg/libavfilter/
Dopencl.h53 const void *arg_val; member
150 … cle = clSetKernelArg(kernel, i, args[i].arg_size, args[i].arg_val); \
/third_party/mindspore/mindspore/
D_checkparam.py516 arg_key, arg_val = arg
517 elem_type = arg_val
555 arg_key, arg_val = arg
556 if isinstance(arg_val, type(mstype.tensor)):
557 arg_val = arg_val.element_type()
558 if not arg_val in valid_values:
/third_party/grpc/src/core/ext/transport/chttp2/server/
Dchttp2_server.cc401 TcpServerFdHandler** arg_val = in CreateWithAcceptor() local
403 *arg_val = grpc_tcp_server_create_fd_handler(listener->tcp_server_); in CreateWithAcceptor()
/third_party/python/Lib/
Dinspect.py3056 arg_val = next(arg_vals)
3112 values = [arg_val]
3122 arguments[param.name] = arg_val
3141 arg_val = kwargs.pop(param_name)
3161 arguments[param_name] = arg_val
/third_party/mesa3d/src/amd/common/
Dac_nir_lower_ngg.c705 nir_ssa_def *arg_val = nir_load_var(b, repacked_arg_vars[i]); in compact_vertices_after_culling() local
706 …nir_intrinsic_instr *store = nir_build_store_shared(b, arg_val, exporter_addr, .base = lds_es_arg_… in compact_vertices_after_culling()
729 …nir_ssa_def *arg_val = nir_build_load_shared(b, 1, 32, es_vertex_lds_addr, .base = lds_es_arg_0 + … in compact_vertices_after_culling() local
730 nir_store_var(b, repacked_arg_vars[i], arg_val, 0x1u); in compact_vertices_after_culling()
/third_party/node/src/tracing/
Dtrace_event_common.h269 timestamp, arg_name, arg_val) \ argument
272 TRACE_EVENT_FLAG_NONE | scope, arg_name, arg_val)