| /third_party/mindspore/mindspore-src/source/tests/ut/python/graph_syntax/statements/ |
| D | test_raise_const.py | 32 def construct(self, x): member in test_raise_1.RaiseNet 50 def construct(self, x): member in test_raise_2.RaiseNet 68 def construct(self, x): member in test_raise_3.RaiseNet 86 def construct(self, x): member in test_raise_5.NetWithRaise 105 def construct(self, x): member in test_raise_6.NetWithRaise 129 def construct(self): member in test_raise_7.RaiseNet 152 def construct(self): member in test_raise_8.RaiseNet 173 def construct(self): member in test_raise_9.RaiseNet 191 def construct(self, x): member in test_raise_10.RaiseNet 208 def construct(self, x): member in test_raise_11.RaiseNet [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/numpy_native/ |
| D | test_numpy_ops.py | 30 def construct(self, a, b, c, d): member in MeshGrid 36 def construct(self, a, b): member in Choose 42 def construct(self, a): member in Histogram 48 def construct(self, a): member in Norm 54 def construct(self, a, b): member in Cross 60 def construct(self, a, b): member in Stack 66 def construct(self, a, b): member in Correlate 72 def construct(self, tensor): member in Split 81 def construct(self, tensor): member in MatrixPower 87 def construct(self, tensor): member in RavelMultiIndex [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/pi_jit/one_stage/ |
| D | test_base_op.py | 44 def construct(self, x): member in test_make_tuple.Net 69 def construct(self, x): member in test_make_list.Net 94 def construct(self, x, y): member in test_return_add_result_tuple.Net 116 def construct(self, x, y): member in test_return_add_result_list.Net 144 def construct(self, x): member in test_empty_tuple_input.Net 169 def construct(self, x): member in test_empty_list_input.Net 194 def construct(self, x): member in test_empty_dict_input.Net 213 def construct(self, x): member in test_tuple_slice.Net 238 def construct(self, x): member in test_list_slice.Net 263 def construct(self, x): member in test_list_slice_with_default_parameter.Net [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/pynative/ops/view/ |
| D | test_view_slice.py | 43 def construct(self, x): member in test_broadcast_to_single_op.Net 77 def construct(self, x): member in test_broadcast_to_multiple_op.Net 110 def construct(self, x): member in test_strided_slice_single_op.Net 139 def construct(self, x): member in test_strided_slice_multiple_op.Net 170 def construct(self, x): member in test_expand_dim_single_op.Net 204 def construct(self, x): member in test_expand_dim_multiple_op.Net 285 def construct(self, x, y): member in test_transpose_single_op.Net 317 def construct(self, x, y): member in test_transpose_multiple_op.Net 349 def construct(self, x): member in test_gather_single_op.Net 381 def construct(self, x, weight): member in test_large_conv_slice_op.Net [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/mutable/ |
| D | test_mutable_in_graph.py | 91 def construct(self, x, y): member in test_cal_mutable_bool.Net 122 def construct(self, x, y): member in test_cal_mutable_scalar.Net 150 def construct(self, x, y): member in test_cal_mutable_tuple_scalar.Net 178 def construct(self, x, y): member in test_cal_mutable_dyn_tuple_scalar.Net 206 def construct(self, x, y): member in test_cal_mutable_list_scalar.Net 234 def construct(self, x, y): member in test_cal_mutable_dyn_list_scalar.Net 262 def construct(self, x, y): member in test_cal_mutable_dict_any.Net 291 def construct(self, x, y): member in test_cal_mutable_tensor.Net 315 def construct(self, x, y): member in test_mutable_scalar_mul_grad_first.Net 324 def construct(self, x, y): member in test_mutable_scalar_mul_grad_first.GradNet [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/recompute/ |
| D | test_recompute.py | 31 def construct(self, x): member in Grad 55 def construct(self, x): member in Block 78 def construct(self, x): member in TestBlock 90 def construct(self, x): member in TestIfBlock 112 def construct(self, x): member in test_recompute_block_recompute.OuterBlock 124 def construct(self, x): member in test_recompute_block_recompute.Net 153 def construct(self, x): member in test_recompute_op_recompute1.OuterBlock 164 def construct(self, x): member in test_recompute_op_recompute1.Net 197 def construct(self, x): member in test_recompute_op_recompute2.OuterBlock 208 def construct(self, x): member in test_recompute_op_recompute2.Net [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/syntax/simple_expression/ |
| D | test_operator.py | 45 def construct(self, x): member in test_inner_scalar_divisor.Net 71 def construct(self, x): member in test_inner_scalar_mod.Net 98 def construct(self, x): member in test_inner_scalar_mod_args_length.Net 120 def construct(self, x, y): member in test_make_range_input_is_empty.Net 146 def construct(self, x, y): member in test_make_range_step_zero.Net 171 def construct(self, x, y): member in test_make_range_error_input_1.Net 195 def construct(self, x, y): member in test_make_range_error_input_2.Net 219 def construct(self, x, y): member in test_make_range_input_type.Net 245 def construct(self, x, y): member in test_make_range_input_type_2.Net 271 def construct(self, x, y): member in test_make_range_input_type_3.Net [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/ut/python/pipeline/parse/ |
| D | test_use_undefined_name_or_unsupported_builtin_function.py | 28 def construct(self, x): member in test_use_undefined_name.Net 43 def construct(self, x): member in test_insert_undefined_name.Net 58 def construct(self, x): member in test_insert_undefined_name_compute.Net 74 def construct(self, x): member in test_insert_undefined_name_in_if.Net 90 def construct(self, x): member in test_insert_undefined_name_in_while_inner_if.Net 108 def construct(self, x): member in test_insert_undefined_name_compute__in_while_inner_if.Net 131 def construct(self, x): member in test_insert_undefined_name_compute__in_if_in_for.Net 154 def construct(self, x): member in test_use_undefined_name_for_inner_if.Net 176 def construct(self, x): member in test_use_undefined_name_in_for.Net 196 def construct(self, x): member in test_insert_undefined_name_in_for.Net [all …]
|
| D | test_structure_output.py | 36 def construct(self): member in test_output_const_tuple_0.Net 51 def construct(self): member in test_output_const_tuple_1.Net 65 def construct(self): member in test_output_const_list.Net 82 def construct(self): member in test_output_const_int.Net 96 def construct(self): member in test_output_const_str.Net 106 def construct(self, x): member in test_output_parameter_int.Net 120 def construct(self): member in test_output_parameter_str.Net 138 def construct(self): member in test_output_function.Net 156 def construct(self): member in test_output_function_tuple.Net 171 def construct(self, x): member in test_output_getattr_function_tuple.Net [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/fallback/ |
| D | test_graph_fallback_runtime_meta_fg.py | 48 def construct(self, net_input): member in test_fallback_add_meta.InnerClass 76 def construct(self, net_input): member in test_fallback_add_meta_2.InnerClass 104 def construct(self, net_input): member in test_fallback_aug_assign_meta.InnerClass 133 def construct(self, net_input): member in test_fallback_add_meta_3.InnerClass 160 def construct(self, net_input): member in test_fallback_add_meta_4.InnerClass 188 def construct(self, net_input): member in test_fallback_add_meta_5.InnerClass 215 def construct(self, net_input): member in test_fallback_mul_meta.InnerClass 242 def construct(self, net_input): member in test_fallback_negative_meta.InnerClass 269 def construct(self, net_input): member in test_fallback_negative_meta_2.InnerClass 297 def construct(self): member in test_fallback_compare_meta.InnerClass [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/optimizer_ex/ |
| D | test_lr_scheduler.py | 30 def construct(self, x): member in Net 61 def construct(self): member in test_sequential_lr_scheduler.SchedNet 94 def construct(self, metric): member in test_reduce_lr_on_plateau.SchedNet 126 def construct(self): member in test_step_lr.SchedNet 158 def construct(self): member in test_linear_lr.SchedNet 190 def construct(self): member in test_exponential_lr.SchedNet 222 def construct(self): member in test_polynomial_lr.SchedNet 264 def construct(self): member in test_lambdalr_scheduler.SchedNet 297 def construct(self): member in test_multiplicative_lr.SchedNet 327 def construct(self): member in test_multistep_lr.SchedNet [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/graph_syntax/statements/ |
| D | test_assert.py | 33 def construct(self): member in test_assert1.Net 54 def construct(self): member in test_assert2.Net 75 def construct(self): member in test_assert3.Net 96 def construct(self): member in test_assert4.Net 118 def construct(self): member in test_assert5.Net 140 def construct(self): member in test_assert6.Net 162 def construct(self): member in test_assert7.Net
|
| D | test_graph_raise_with_variable.py | 40 def construct(self, x): member in test_raise_with_variable_1.RaiseNet 64 def construct(self, x): member in test_raise_with_variable_2.RaiseNet 85 def construct(self, x): member in test_raise_with_variable_3.RaiseNet 108 def construct(self, y): member in test_raise_with_variable_list.RaiseNet 133 def construct(self, y): member in test_raise_with_variable_tuple_1.RaiseNet 158 def construct(self, y): member in test_raise_with_variable_tuple_2.RaiseNet 183 def construct(self, x): member in test_raise_with_variable_joinedstr_tensor.RaiseNet 207 def construct(self, z): member in test_raise_with_variable_dic.RaiseNet 234 def construct(self, x, y): member in test_raise_with_variable_control_flow1.RaiseNet 258 def construct(self, x, y): # pylint: disable=R1711 member in test_raise_with_variable_control_flow2.RaiseNet [all …]
|
| /third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/nn/layer/ |
| D | activation.py | 117 def construct(self, x): member in CELU 172 def construct(self, x): member in Softmin 222 def construct(self, x): member in Softmax2d 278 def construct(self, input): member in Softmax 328 def construct(self, x): member in LogSoftmax 386 def construct(self, x): member in ELU 437 def construct(self, x): member in ReLU 487 def construct(self, x): member in ReLU6 543 def construct(self, x): member in LeakyReLU 606 def construct(self, x): member in RReLU [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/pi_jit/control_ms/ |
| D | test_cont_break_pijit.py | 21 def construct(self, x): member in ForLoopWithBreak 32 def construct(self, x): member in ForLoopWithContinue 43 def construct(self, x): member in ForLoopWithContBreak 57 def construct(self, x): member in ForNestedLoopWithBreak 69 def construct(self, x): member in WhileWithBreak 82 def construct(self, x): member in WhileWithContinue 96 def construct(self, x): member in WhileForNested 113 def construct(self, x): member in PassBranch
|
| /third_party/mindspore/mindspore-src/source/tests/st/control/ |
| D | test_cont_break.py | 36 def construct(self, x): member in ForLoopWithBreak 46 def construct(self, x): member in ForLoopWithContinue 56 def construct(self, x): member in ForLoopWithContBreak 69 def construct(self, x): member in ForNestedLoopWithBreak 80 def construct(self, x): member in WhileWithBreak 92 def construct(self, x): member in WhileWithContinue 105 def construct(self, x): member in WhileForNested 121 def construct(self, x): member in PassBranch
|
| /third_party/mindspore/mindspore-src/source/tests/st/gradient/ |
| D | test_grad_graph.py | 31 def construct(self, x): member in SingleInputSingleOutputNet 36 def construct(self, x): member in SingleInputMultipleOutputsNet 41 def construct(self, x, y, z): member in MultipleInputsSingleOutputNet 46 def construct(self, x, y, z): member in MultipleInputsMultipleOutputsNet 56 def construct(self, x): member in ParamNet 254 def construct(self, x): member in test_grad_with_weights_has_aux_graph.ParamNetAux 289 def construct(self, x, y): member in test_jit_function_grad_with_weights_has_aux_graph.ParamMultipleInputNet 329 def construct(self, x, y): member in test_construct_grad_with_weights_has_aux_graph.ParamMultipleInputNet 339 def construct(self, x, y): member in test_construct_grad_with_weights_has_aux_graph.GradNet 374 def construct(self, x): member in test_grad_if_with_weights_has_aux_graph.Net [all …]
|
| D | test_grad_pynative.py | 32 def construct(self, x): member in SingleInputSingleOutputNet 37 def construct(self, x): member in SingleInputMultipleOutputsNet 42 def construct(self, x, y, z): member in MultipleInputsSingleOutputNet 47 def construct(self, x, y, z): member in MultipleInputsMultipleOutputsNet 56 def construct(self, x): member in NetworkW 61 def construct(self, x): member in NetworkX 74 def construct(self, x): member in NetWorkSequence 85 def construct(self, x): member in ParamNet 236 def construct(self, x): member in test_grad_vmap_pynative.VmapNet 304 def construct(self, x): member in test_grad_with_weights_has_aux_pynative.ParamNetAux [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/pi_jit/gradient/ |
| D | test_grad_graph_pijit.py | 30 def construct(self, x): member in SingleInputSingleOutputNet 36 def construct(self, x): member in SingleInputMultipleOutputsNet 42 def construct(self, x, y, z): member in MultipleInputsSingleOutputNet 48 def construct(self, x, y, z): member in MultipleInputsMultipleOutputsNet 59 def construct(self, x): member in ParamNet 267 def construct(self, x): member in test_grad_with_weights_has_aux_graph.ParamNetAux 304 def construct(self, x, y): member in test_jit_function_grad_with_weights_has_aux_graph.ParamMultipleInputNet 346 def construct(self, x, y): member in test_construct_grad_with_weights_has_aux_graph.ParamMultipleInputNet 356 def construct(self, x, y): member in test_construct_grad_with_weights_has_aux_graph.GradNet 393 def construct(self, x): member in test_grad_if_with_weights_has_aux_graph.Net [all …]
|
| /third_party/json/include/nlohmann/detail/conversions/ |
| D | to_json.hpp | 48 static void construct(BasicJsonType& j, typename BasicJsonType::boolean_t b) noexcept in construct() function 61 static void construct(BasicJsonType& j, const typename BasicJsonType::string_t& s) in construct() function 70 static void construct(BasicJsonType& j, typename BasicJsonType::string_t&& s) in construct() function 81 static void construct(BasicJsonType& j, const CompatibleStringType& str) in construct() function 94 static void construct(BasicJsonType& j, const typename BasicJsonType::binary_t& b) in construct() function 103 static void construct(BasicJsonType& j, typename BasicJsonType::binary_t&& b) in construct() function 116 static void construct(BasicJsonType& j, typename BasicJsonType::number_float_t val) noexcept in construct() function 129 static void construct(BasicJsonType& j, typename BasicJsonType::number_unsigned_t val) noexcept in construct() function 142 static void construct(BasicJsonType& j, typename BasicJsonType::number_integer_t val) noexcept in construct() function 155 static void construct(BasicJsonType& j, const typename BasicJsonType::array_t& arr) in construct() function [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/ut/python/graph_syntax/dict/ |
| D | test_dtype_dictionary.py | 39 def construct(self, dictionary): member in Xtest_arg_dict.DictNet 61 def construct(self): member in test_const_dict.DictNet 80 def construct(self): member in test_dict_set_or_get_item.DictNet 104 def construct(self): member in test_dict_set_or_get_item_2.DictNet 133 def construct(self): member in test_dict_set_or_get_item_3.DictNet 152 def construct(self, x): member in test_dict_set_item.DictSetNet 172 def construct(self): member in test_dict_set_item_2.DictSetNet 201 def construct(self): member in test_dict_set_item_3.DictSetNet 223 def construct(self, x): member in test_dict_set_item_create_new.DictSetNet 241 def construct(self, x): member in test_dict_items.DictItemsNet
|
| /third_party/mindspore/mindspore-src/source/tests/ut/python/parallel/ |
| D | test_neighborexchangev2.py | 54 def construct(self, x1, x2): member in test_neighborexchangev2_single_input_success.Net 81 def construct(self, x1, x2): member in test_neighborexchangev2_send_lens_equal_to_input_shape_success.Net 109 def construct(self, x1, x2): member in test_neighborexchangev2_empty_send_success.Net 137 def construct(self, x1, x2): member in test_neighborexchangev2_empty_recv_success.Net 164 def construct(self, x1): member in test_neighborexchangev2_empty_send_empty_recv_success.Net 189 def construct(self, x): member in test_neighborexchangev2_invalid_dataformat_failed.Net 215 def construct(self, x): member in test_neighborexchangev2_invalid_send_rank_ids_size_failed.Net 241 def construct(self, x): member in test_neighborexchangev2_invalid_recv_rank_ids_size_failed.Net 267 def construct(self, x): member in test_neighborexchangev2_invalid_send_lens_size_failed.Net 293 def construct(self, x): member in test_neighborexchangev2_invalid_recv_lens_size_failed.Net [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/ut/python/ops/ |
| D | test_math_ops.py | 105 def construct(self, x, y): member in PowNet 204 def construct(self, x, y, b): member in NetWithLoss 216 def construct(self, x, y, b): member in GradWrap 228 def construct(self, x, y, b): member in MatMulNet 237 def construct(self, x, tau): member in OrgqrFunc 250 def construct(self, x, y): member in NetWithLossSub 262 def construct(self, x, y): member in GradWrapSub 273 def construct(self, x, y): member in SubNet 295 def construct(self, x): member in NpuFloatNet 317 def construct(self, x): member in DiagNet [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/st/pynative/ |
| D | test_tensor_getitem.py | 43 def construct(self, tensor): member in NetWorkSlicePositive 74 def construct(self, tensor): member in NetWorkSliceEllipsis 106 def construct(self, tensor): member in NetWorkReduceDimension 136 def construct(self, tensor): member in NetWorkSliceStep 162 def construct(self, x, index_0, index_1, index_2): member in TensorGetItemByThreeTensors 201 def construct(self, tensor, index_0, index_1): member in TensorGetItemByMixedTensorsBasicCase 240 def construct(self, tensor): member in TensorItemByNone 265 def construct(self, tensor, index): member in TensorItemByItem 351 def construct(self, index_0, index_1, index_2): member in TensorSetItemByMixedTensors_0 386 def construct(self, index_0, index_1, index_2): member in TensorSetItemByMixedTensors_1 [all …]
|
| /third_party/mindspore/mindspore-src/source/tests/ut/python/graph_syntax/ |
| D | test_jit_forbidden_api.py | 39 def construct(self): member in test_jit_forbidden_api_one1.Net 77 def construct(self): member in test_jit_forbidden_api_initializer1.Net 112 def construct(self): member in test_jit_forbidden_api_untrainable_params1.InnerNet 120 def construct(self): member in test_jit_forbidden_api_untrainable_params1.Net 138 def construct(self): member in test_jit_forbidden_api_untrainable_params2.Net 158 def construct(self): member in test_jit_forbidden_api_get_parameters1.InnerNet 166 def construct(self): member in test_jit_forbidden_api_get_parameters1.Net 184 def construct(self): member in test_jit_forbidden_api_get_parameters2.Net 221 def construct(self, x): member in test_jit_forbidden_method_tensor_set_const_arg.Net 245 def construct(self, construct_input): member in test_jit_forbidden_method_parameter_set_data.Net [all …]
|