Home
last modified time | relevance | path

Searched refs:MS_EXCEPTION_IF_NULL (Results 1 – 25 of 1261) sorted by relevance

12345678910>>...51

/third_party/mindspore/mindspore/core/abstract/
Dabstract_value.cc94 MS_EXCEPTION_IF_NULL(other_type); in operator ==()
95 MS_EXCEPTION_IF_NULL(type); in operator ==()
111 MS_EXCEPTION_IF_NULL(type_); in operator ==()
112 MS_EXCEPTION_IF_NULL(other.type_); in operator ==()
119 MS_EXCEPTION_IF_NULL(shape_); in operator ==()
120 MS_EXCEPTION_IF_NULL(other.shape_); in operator ==()
138 MS_EXCEPTION_IF_NULL(clone); in Broaden()
151 MS_EXCEPTION_IF_NULL(type_); in ToString()
152 MS_EXCEPTION_IF_NULL(shape_); in ToString()
160 MS_EXCEPTION_IF_NULL(context); in Broaden()
[all …]
/third_party/mindspore/mindspore/ccsrc/ps/core/communicator/
Dhttp_message_handler.cc41 MS_EXCEPTION_IF_NULL(event_request_); in InitHttpMessage()
43 MS_EXCEPTION_IF_NULL(event_uri_); in InitHttpMessage()
57 MS_EXCEPTION_IF_NULL(head_params_); in InitHttpMessage()
58 MS_EXCEPTION_IF_NULL(resp_headers_); in InitHttpMessage()
59 MS_EXCEPTION_IF_NULL(resp_buf_); in InitHttpMessage()
63 MS_EXCEPTION_IF_NULL(head_params_); in GetHeadParam()
65 MS_EXCEPTION_IF_NULL(val); in GetHeadParam()
71 MS_EXCEPTION_IF_NULL(val); in GetPathParam()
76 MS_EXCEPTION_IF_NULL(event_request_); in ParsePostParam()
83 MS_EXCEPTION_IF_NULL(post_message); in ParsePostParam()
[all …]
/third_party/mindspore/mindspore/ccsrc/cxx_api/
Dcontext.cc78 MS_EXCEPTION_IF_NULL(data_); in SetThreadNum()
82 MS_EXCEPTION_IF_NULL(data_); in GetThreadNum()
87 MS_EXCEPTION_IF_NULL(data_); in SetEnableParallel()
92 MS_EXCEPTION_IF_NULL(data_); in GetEnableParallel()
97 MS_EXCEPTION_IF_NULL(data_); in SetThreadAffinity()
101 MS_EXCEPTION_IF_NULL(data_); in GetThreadAffinityMode()
106 MS_EXCEPTION_IF_NULL(data_); in SetThreadAffinity()
110 MS_EXCEPTION_IF_NULL(data_); in GetThreadAffinityCoreList()
115 MS_EXCEPTION_IF_NULL(data_); in MutableDeviceInfo()
122 MS_EXCEPTION_IF_NULL(data_); in SetEnableFP16()
[all …]
/third_party/mindspore/tests/ut/cpp/ops/
Dtest_ops_lsh_projection.cc41 MS_EXCEPTION_IF_NULL(input0); in TEST_F()
42 MS_EXCEPTION_IF_NULL(input1); in TEST_F()
44 MS_EXCEPTION_IF_NULL(abstract); in TEST_F()
47 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F()
50 MS_EXCEPTION_IF_NULL(shape); in TEST_F()
55 MS_EXCEPTION_IF_NULL(type); in TEST_F()
58 MS_EXCEPTION_IF_NULL(tensor_type); in TEST_F()
60 MS_EXCEPTION_IF_NULL(data_type); in TEST_F()
70 MS_EXCEPTION_IF_NULL(input0); in TEST_F()
71 MS_EXCEPTION_IF_NULL(input1); in TEST_F()
[all …]
Dtest_ops_softmax.cc42 MS_EXCEPTION_IF_NULL(input1); in TEST_F()
44 MS_EXCEPTION_IF_NULL(abstract); in TEST_F()
47 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F()
50 MS_EXCEPTION_IF_NULL(shape); in TEST_F()
53 MS_EXCEPTION_IF_NULL(type); in TEST_F()
56 MS_EXCEPTION_IF_NULL(tensor_type); in TEST_F()
58 MS_EXCEPTION_IF_NULL(data_type); in TEST_F()
72 MS_EXCEPTION_IF_NULL(input1); in TEST_F()
74 MS_EXCEPTION_IF_NULL(abstract); in TEST_F()
77 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F()
[all …]
Dtest_ops_concat.cc40 MS_EXCEPTION_IF_NULL(tensor_x1); in TEST_F()
41 MS_EXCEPTION_IF_NULL(tensor_x2); in TEST_F()
42 MS_EXCEPTION_IF_NULL(tensor_x3); in TEST_F()
45 MS_EXCEPTION_IF_NULL(abstract); in TEST_F()
48 MS_EXCEPTION_IF_NULL(shape_ptr); in TEST_F()
51 MS_EXCEPTION_IF_NULL(shape); in TEST_F()
54 MS_EXCEPTION_IF_NULL(type); in TEST_F()
57 MS_EXCEPTION_IF_NULL(tensor_type); in TEST_F()
59 MS_EXCEPTION_IF_NULL(data_type); in TEST_F()
74 MS_EXCEPTION_IF_NULL(tensor_x1); in TEST_F()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/
Dhelper.cc55 MS_EXCEPTION_IF_NULL(node); in IsDepend()
57 MS_EXCEPTION_IF_NULL(manager); in IsDepend()
74 MS_EXCEPTION_IF_NULL(cnode); in IsDepend()
85 MS_EXCEPTION_IF_NULL(in); in UnVisited()
88 MS_EXCEPTION_IF_NULL(value_node); in UnVisited()
90 MS_EXCEPTION_IF_NULL(value); in UnVisited()
92 MS_EXCEPTION_IF_NULL(prim_py); in UnVisited()
96 MS_EXCEPTION_IF_NULL(func_graph); in UnVisited()
105 MS_EXCEPTION_IF_NULL(node); in CheckAnfNodeIfCNodeAndInputSize()
115 MS_EXCEPTION_IF_NULL(cnode); in CheckCNodeInputSize()
[all …]
/third_party/mindspore/mindspore/ccsrc/runtime/framework/actor/
Dmemory_manager_actor.cc28 MS_EXCEPTION_IF_NULL(alloc_list); in AllocateMemory()
29 MS_EXCEPTION_IF_NULL(device_context); in AllocateMemory()
30 MS_EXCEPTION_IF_NULL(op_context); in AllocateMemory()
33 MS_EXCEPTION_IF_NULL(device_tensor); in AllocateMemory()
53 MS_EXCEPTION_IF_NULL(alloc_list_list); in AllocateContinuousMemory()
54 MS_EXCEPTION_IF_NULL(size_list_list); in AllocateContinuousMemory()
55 MS_EXCEPTION_IF_NULL(total_size_list); in AllocateContinuousMemory()
56 MS_EXCEPTION_IF_NULL(device_contexts); in AllocateContinuousMemory()
57 MS_EXCEPTION_IF_NULL(op_context); in AllocateContinuousMemory()
70 MS_EXCEPTION_IF_NULL(device_context); in AllocateContinuousMemory()
[all …]
Ddata_prepare_actor.cc34 MS_EXCEPTION_IF_NULL(host_tensor); in SyncTensorData()
35 MS_EXCEPTION_IF_NULL(device_tensor); in SyncTensorData()
36 MS_EXCEPTION_IF_NULL(node); in SyncTensorData()
37 MS_EXCEPTION_IF_NULL(device_context); in SyncTensorData()
38 MS_EXCEPTION_IF_NULL(context); in SyncTensorData()
61 MS_EXCEPTION_IF_NULL(node); in FetchContinuousMemoryInfo()
62 MS_EXCEPTION_IF_NULL(addr_list); in FetchContinuousMemoryInfo()
63 MS_EXCEPTION_IF_NULL(size_list); in FetchContinuousMemoryInfo()
64 MS_EXCEPTION_IF_NULL(total_size); in FetchContinuousMemoryInfo()
67 MS_EXCEPTION_IF_NULL(kernel_mod); in FetchContinuousMemoryInfo()
[all …]
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/
Dpynative_dfunctor.cc25 MS_EXCEPTION_IF_NULL(type_elem); in GenNewTensorInner()
26 MS_EXCEPTION_IF_NULL(shape_elem); in GenNewTensorInner()
28 MS_EXCEPTION_IF_NULL(shape); in GenNewTensorInner()
30 MS_EXCEPTION_IF_NULL(tensor_type); in GenNewTensorInner()
32 MS_EXCEPTION_IF_NULL(type); in GenNewTensorInner()
37 MS_EXCEPTION_IF_NULL(cnode_morph); in GenNewTensor()
48 MS_EXCEPTION_IF_NULL(cnode_shape); in GenNewTensor()
50 MS_EXCEPTION_IF_NULL(cnode_type); in GenNewTensor()
54 MS_EXCEPTION_IF_NULL(tuple_shape); in GenNewTensor()
56 MS_EXCEPTION_IF_NULL(tuple_type); in GenNewTensor()
[all …]
/third_party/mindspore/mindspore/ccsrc/ps/
Doptimizer_info_builder.cc30 MS_EXCEPTION_IF_NULL(pserver_kernel); in Build()
31 MS_EXCEPTION_IF_NULL(weight); in Build()
32 MS_EXCEPTION_IF_NULL(inputs_shape); in Build()
35 MS_EXCEPTION_IF_NULL(optim_info); in Build()
43 MS_EXCEPTION_IF_NULL(info); in BuildWorkspaces()
47 MS_EXCEPTION_IF_NULL(workspace); in BuildWorkspaces()
49 MS_EXCEPTION_IF_NULL(workspace->addr); in BuildWorkspaces()
59 MS_EXCEPTION_IF_NULL(ps_data); in GenInputAddrPtr()
63 MS_EXCEPTION_IF_NULL(addr_ptr); in GenInputAddrPtr()
83 MS_EXCEPTION_IF_NULL((*inputs_shape)[origin_index]); in GenInputAddrPtr()
[all …]
Doptimizer_info.cc27 MS_EXCEPTION_IF_NULL(workspace); in AddWorkspace()
48 MS_EXCEPTION_IF_NULL(data); in UpdateOptimInputValue()
68 MS_EXCEPTION_IF_NULL(optim_input); in UpdateOptimInputValue()
72 MS_EXCEPTION_IF_NULL(dst_data); in UpdateOptimInputValue()
73 MS_EXCEPTION_IF_NULL(src_data); in UpdateOptimInputValue()
83 MS_EXCEPTION_IF_NULL(gradient()->addr); in Accumulate()
92 MS_EXCEPTION_IF_NULL(grad_data); in Accumulate()
103 MS_EXCEPTION_IF_NULL(gradient()->addr); in ComputeMean()
113 MS_EXCEPTION_IF_NULL(gradient()->addr); in Reset()
123 MS_EXCEPTION_IF_NULL(gradient()->addr); in Accumulate()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/session/
Danf_runtime_algorithm.cc71 MS_EXCEPTION_IF_NULL(cnode); in IsRealKernelCNode()
81 MS_EXCEPTION_IF_NULL(shape); in TransShapeToSizet()
100 MS_EXCEPTION_IF_NULL(node); in GetRealOutputRecursively()
114 MS_EXCEPTION_IF_NULL(tuple_get_item); in GetRealOutputRecursively()
121 MS_EXCEPTION_IF_NULL(make_tuple); in GetRealOutputRecursively()
133 MS_EXCEPTION_IF_NULL(make_tuple); in GetRealOutputRecursively()
184 MS_EXCEPTION_IF_NULL(kg); in KeepOrder()
185 MS_EXCEPTION_IF_NULL(latter); in KeepOrder()
188 MS_EXCEPTION_IF_NULL(latter_cnode); in KeepOrder()
196 MS_EXCEPTION_IF_NULL(depend1); in KeepOrder()
[all …]
/third_party/mindspore/mindspore/ccsrc/vm/
Dbackend.cc65 MS_EXCEPTION_IF_NULL(segment); in MsConvert()
66 MS_EXCEPTION_IF_NULL(MsContext::GetInstance()); in MsConvert()
80 MS_EXCEPTION_IF_NULL(current_session); in MsConvert()
84 MS_EXCEPTION_IF_NULL(graph); in MsConvert()
86 MS_EXCEPTION_IF_NULL(pre_segment); in MsConvert()
87 MS_EXCEPTION_IF_NULL(target_sess_); in MsConvert()
90 MS_EXCEPTION_IF_NULL(other_sess_); in MsConvert()
93 MS_EXCEPTION_IF_NULL(pre_graph); in MsConvert()
107 MS_EXCEPTION_IF_NULL(other_sess_); in MsConvert()
110 MS_EXCEPTION_IF_NULL(target_sess_); in MsConvert()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ir_fusion/
Dbatchnorm_to_bninfer.cc30 MS_EXCEPTION_IF_NULL(graph); in CreateBNInfer()
31 MS_EXCEPTION_IF_NULL(batchnorm); in CreateBNInfer()
32 MS_EXCEPTION_IF_NULL(node); in CreateBNInfer()
39 MS_EXCEPTION_IF_NULL(new_node); in CreateBNInfer()
48 MS_EXCEPTION_IF_NULL(index_node); in CheckIndex()
53 MS_EXCEPTION_IF_NULL(value_node); in CheckIndex()
63 MS_EXCEPTION_IF_NULL(graph); in CheckBatchNorm()
64 MS_EXCEPTION_IF_NULL(batchnorm); in CheckBatchNorm()
86 MS_EXCEPTION_IF_NULL(graph); in NeedFusion()
87 MS_EXCEPTION_IF_NULL(node); in NeedFusion()
[all …]
Dbatchnormgrad_to_bninfergrad.cc30 MS_EXCEPTION_IF_NULL(graph); in CreateBNInferGrad()
31 MS_EXCEPTION_IF_NULL(batchnormgrad); in CreateBNInferGrad()
41 MS_EXCEPTION_IF_NULL(new_node); in CreateBNInferGrad()
50 MS_EXCEPTION_IF_NULL(index_node); in CheckIndex()
55 MS_EXCEPTION_IF_NULL(value_node); in CheckIndex()
65 MS_EXCEPTION_IF_NULL(graph); in CheckBatchNormGrad()
66 MS_EXCEPTION_IF_NULL(batchnormgrad); in CheckBatchNormGrad()
88 MS_EXCEPTION_IF_NULL(graph); in NeedFusion()
89 MS_EXCEPTION_IF_NULL(node); in NeedFusion()
91 MS_EXCEPTION_IF_NULL(tuple_getitem); in NeedFusion()
[all …]
Dfused_batch_norm_fusion.cc33 MS_EXCEPTION_IF_NULL(in); in IsC()
40 MS_EXCEPTION_IF_NULL(func_graph); in GetBNOutput()
41 MS_EXCEPTION_IF_NULL(bn); in GetBNOutput()
42 MS_EXCEPTION_IF_NULL(bn_outputs); in GetBNOutput()
44 MS_EXCEPTION_IF_NULL(manager); in GetBNOutput()
51 MS_EXCEPTION_IF_NULL(output); in GetBNOutput()
58 MS_EXCEPTION_IF_NULL(equiv); in GetFactor()
60 MS_EXCEPTION_IF_NULL(constant_input); in GetFactor()
65 MS_EXCEPTION_IF_NULL(value_node); in GetFactor()
67 MS_EXCEPTION_IF_NULL(value); in GetFactor()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/mindir/
Ddropout_unify_mindir.cc46 MS_EXCEPTION_IF_NULL(node); in GetInputXDataType()
57 MS_EXCEPTION_IF_NULL(node); in GetInputXShape()
65 MS_EXCEPTION_IF_NULL(func_graph); in CreateKeepPorbValueNode()
66 MS_EXCEPTION_IF_NULL(node); in CreateKeepPorbValueNode()
68 MS_EXCEPTION_IF_NULL(cnode); in CreateKeepPorbValueNode()
83 MS_EXCEPTION_IF_NULL(keep_prob_tensor); in CreateKeepPorbValueNode()
85 MS_EXCEPTION_IF_NULL(data_ptr); in CreateKeepPorbValueNode()
95 MS_EXCEPTION_IF_NULL(kernel_graph); in CreateKeepPorbValueNode()
98 MS_EXCEPTION_IF_NULL(keep_prob_value); in CreateKeepPorbValueNode()
115 MS_EXCEPTION_IF_NULL(getitem_cnode); in NeedUpdate()
[all …]
Dsparse_softmax_cross_entropy_with_logits_unify_mindir.cc38 MS_EXCEPTION_IF_NULL(value_ptr); in CreateValueNode()
40 MS_EXCEPTION_IF_NULL(new_node); in CreateValueNode()
45 MS_EXCEPTION_IF_NULL(kernel_info); in CreateValueNode()
56 MS_EXCEPTION_IF_NULL(graph); in CreateOneHot()
57 MS_EXCEPTION_IF_NULL(sparse_softmax_node); in CreateOneHot()
70 MS_EXCEPTION_IF_NULL(value_on_node); in CreateOneHot()
73 MS_EXCEPTION_IF_NULL(value_off_node); in CreateOneHot()
75 MS_EXCEPTION_IF_NULL(kernel_graph); in CreateOneHot()
91 MS_EXCEPTION_IF_NULL(depth_node); in CreateOneHot()
93 MS_EXCEPTION_IF_NULL(depth_abstract); in CreateOneHot()
[all …]
/third_party/mindspore/mindspore/ccsrc/runtime/framework/
Dgraph_compiler.cc47 MS_EXCEPTION_IF_NULL(kernel); in NodeDeviceAddressExist()
48 MS_EXCEPTION_IF_NULL(device_context); in NodeDeviceAddressExist()
51 MS_EXCEPTION_IF_NULL(address); in NodeDeviceAddressExist()
58 MS_EXCEPTION_IF_NULL(device_context); in CreateParameterDeviceAddress()
59 MS_EXCEPTION_IF_NULL(graph); in CreateParameterDeviceAddress()
68 MS_EXCEPTION_IF_NULL(item); in CreateParameterDeviceAddress()
76 MS_EXCEPTION_IF_NULL(out); in CreateParameterDeviceAddress()
108 MS_EXCEPTION_IF_NULL(device_context); in CreateDeviceAddressForTensorValue()
109 MS_EXCEPTION_IF_NULL(node_value); in CreateDeviceAddressForTensorValue()
110 MS_EXCEPTION_IF_NULL(value_node); in CreateDeviceAddressForTensorValue()
[all …]
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/gpu/
Dbatch_norm_add_relu_grad_fusion.cc37 MS_EXCEPTION_IF_NULL(func_graph); in GetBatchNormOutputs()
38 MS_EXCEPTION_IF_NULL(bn); in GetBatchNormOutputs()
39 MS_EXCEPTION_IF_NULL(bn_outputs); in GetBatchNormOutputs()
41 MS_EXCEPTION_IF_NULL(manager); in GetBatchNormOutputs()
48 MS_EXCEPTION_IF_NULL(output); in GetBatchNormOutputs()
53 MS_EXCEPTION_IF_NULL(tuple_getiterm_cnode); in GetBatchNormOutputs()
55 MS_EXCEPTION_IF_NULL(index_node); in GetBatchNormOutputs()
57 MS_EXCEPTION_IF_NULL(value_node); in GetBatchNormOutputs()
103 MS_EXCEPTION_IF_NULL(manager); in ReplaceOutput()
116 MS_EXCEPTION_IF_NULL(graph); in PatternCheck()
[all …]
Dapply_momentum_weight_scale_fusion.cc34 MS_EXCEPTION_IF_NULL(in); in IsScalar()
36 MS_EXCEPTION_IF_NULL(shape_ptr); in IsScalar()
38 MS_EXCEPTION_IF_NULL(shape); in IsScalar()
43 MS_EXCEPTION_IF_NULL(dtype); in IsScalar()
48 MS_EXCEPTION_IF_NULL(type_ptr); in IsScalar()
50 MS_EXCEPTION_IF_NULL(element); in IsScalar()
63 MS_EXCEPTION_IF_NULL(in); in IsCast()
98 MS_EXCEPTION_IF_NULL(graph); in Process()
99 MS_EXCEPTION_IF_NULL(node); in Process()
100 MS_EXCEPTION_IF_NULL(equiv); in Process()
[all …]
Dapply_momentum_scale_fusion.cc32 MS_EXCEPTION_IF_NULL(in); in IsScalar()
34 MS_EXCEPTION_IF_NULL(shape_ptr); in IsScalar()
36 MS_EXCEPTION_IF_NULL(shape); in IsScalar()
45 MS_EXCEPTION_IF_NULL(type_ptr); in IsScalar()
47 MS_EXCEPTION_IF_NULL(element); in IsScalar()
66 MS_EXCEPTION_IF_NULL(graph); in Process()
67 MS_EXCEPTION_IF_NULL(node); in Process()
68 MS_EXCEPTION_IF_NULL(equiv); in Process()
76 MS_EXCEPTION_IF_NULL(scale); in Process()
77 MS_EXCEPTION_IF_NULL(variable); in Process()
[all …]
/third_party/mindspore/mindspore/ccsrc/runtime/device/gpu/
Dgpu_kernel_runtime.cc96 MS_EXCEPTION_IF_NULL(mem_manager_); in Init()
103 MS_EXCEPTION_IF_NULL(init_nccl_comm_funcptr); in Init()
139 MS_EXCEPTION_IF_NULL(debugger); in LoadKernelData()
140 MS_EXCEPTION_IF_NULL(kernel); in LoadKernelData()
164 MS_EXCEPTION_IF_NULL(input_kernel); in LoadKernelData()
173 MS_EXCEPTION_IF_NULL(addr); in LoadKernelData()
200 MS_EXCEPTION_IF_NULL(addr); in LoadKernelData()
218 MS_EXCEPTION_IF_NULL(stream); in MemcpyAsync()
285 MS_EXCEPTION_IF_NULL(mem_swap_manager); in ReleaseDeviceRes()
304 MS_EXCEPTION_IF_NULL(graph); in AllocInplaceNodeMemory()
[all …]
/third_party/mindspore/mindspore/ccsrc/runtime/device/
Dkernel_runtime.cc56 MS_EXCEPTION_IF_NULL(kernel); in GetGraphInputs()
61 MS_EXCEPTION_IF_NULL(input_real_node); in GetGraphInputs()
89 MS_EXCEPTION_IF_NULL(kernel); in NodeOutputDeviceAddressExist()
92 MS_EXCEPTION_IF_NULL(address); in NodeOutputDeviceAddressExist()
100 MS_EXCEPTION_IF_NULL(context_ptr); in AssignMemory()
106 MS_EXCEPTION_IF_NULL(mem_manager_); in AssignMemory()
117 MS_EXCEPTION_IF_NULL(node); in RunOpGetCommunicationInputInfo()
118 MS_EXCEPTION_IF_NULL(total_size); in RunOpGetCommunicationInputInfo()
119 MS_EXCEPTION_IF_NULL(address_list); in RunOpGetCommunicationInputInfo()
120 MS_EXCEPTION_IF_NULL(align_size_list); in RunOpGetCommunicationInputInfo()
[all …]

12345678910>>...51