Home
last modified time | relevance | path

Searched refs:python_error (Results 1 – 25 of 76) sorted by relevance

1234

/aosp_15_r20/external/pytorch/torch/csrc/autograd/
H A Dpython_anomaly_mode.cpp17 throw python_error(); in store_stack()
22 throw python_error(); in store_stack()
26 throw python_error(); in store_stack()
44 throw python_error(); in print_stack()
48 throw python_error(); in print_stack()
52 throw python_error(); in print_stack()
76 throw python_error(); in assign_parent()
79 throw python_error(); in assign_parent()
99 throw python_error(); in _print_stack()
106 throw python_error(); in _print_stack()
H A Dpython_hook.cpp73 throw python_error(); in _call_hooks()
116 throw python_error(); in operator ()()
261 throw python_error(); in wrap_variables()
265 throw python_error(); in wrap_variables()
295 throw python_error(); in check_result()
332 throw python_error(); in check_single_result()
345 throw python_error(); in hook_name()
H A Dpython_variable_indexing.h33 throw python_error(); in __PySlice_Unpack()
48 throw python_error(); in __PySlice_Unpack()
66 throw python_error(); in __PySlice_Unpack()
80 throw python_error(); in __PySlice_Unpack()
H A Dpython_legacy_variable.cpp53 throw python_error(); in THPVariable_pynew()
156 throw python_error(); in init_legacy_variable()
161 throw python_error(); in init_legacy_variable()
H A Dpython_function.cpp55 throw python_error(); \
70 python_error err; in throw_python_error()
118 throw python_error(); in to_py_size()
206 throw python_error(); in defer_to_dynamo()
230 throw python_error(); in defer_to_dynamo()
376 throw python_error(); in apply_with_saved()
704 throw python_error(); in _wrap_outputs()
707 throw python_error(); in _wrap_outputs()
710 throw python_error(); in _wrap_outputs()
891 throw python_error(); in unpack_input()
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/tensor/
H A Dpython_tensor.cpp186 throw python_error(); in py_initialize_metaclass()
210 throw python_error(); in py_initialize_tensor_type()
213 throw python_error(); in py_initialize_tensor_type()
228 throw python_error(); in get_storage_obj()
263 throw python_error(); in get_tensor_dict()
267 throw python_error(); in get_tensor_dict()
274 throw python_error(); in get_tensor_dict()
277 throw python_error(); in get_tensor_dict()
280 throw python_error(); in get_tensor_dict()
309 throw python_error(); in set_default_storage_type()
[all …]
/aosp_15_r20/external/pytorch/torch/csrc/
H A DSize.cpp27 throw python_error(); in THPSize_New()
33 throw python_error(); in THPSize_New()
43 throw python_error(); in THPSize_NewFromSizes()
54 throw python_error(); in THPSize_NewFromSymSizes()
67 throw python_error(); in THPSize_NewFromSymSizes()
76 throw python_error(); in THPSize_NewFromSymSizes()
118 throw python_error(); in THPSize_pynew()
206 throw python_error(); in THPSize_reduce()
214 throw python_error(); in THPSize_reduce()
223 throw python_error(); in THPSize_reduce()
[all …]
H A DExceptions.h64 catch (python_error & e) { \
145 struct python_error : public std::exception { struct
146 python_error() = default;
148 python_error(const python_error& other) in python_error() argument
159 python_error(python_error&& other) noexcept in python_error() argument
169 python_error& operator=(const python_error& other) = delete; argument
170 python_error& operator=(python_error&& other) = delete; argument
173 ~python_error() override { in ~python_error() argument
H A DDtype.cpp21 throw python_error(); in THPDtype_New()
179 throw python_error(); in THPDtype_init()
182 throw python_error(); in THPDtype_init()
184 throw python_error(); in THPDtype_init()
189 throw python_error(); in THPDtype_init()
193 throw python_error(); in THPDtype_init()
H A DTypeInfo.cpp24 throw python_error(); in THPFInfo_New()
34 throw python_error(); in THPIInfo_New()
383 throw python_error(); in THPDTypeInfo_init()
387 throw python_error(); in THPDTypeInfo_init()
390 throw python_error(); in THPDTypeInfo_init()
394 throw python_error(); in THPDTypeInfo_init()
H A DDevice.cpp24 throw python_error(); in THPDevice_New()
156 throw python_error(); in THPDevice_reduce()
172 throw python_error(); in THPDevice_reduce()
274 throw python_error(); in THPDevice_init()
279 throw python_error(); in THPDevice_init()
H A DLayout.cpp17 throw python_error(); in THPLayout_New()
71 throw python_error(); in THPLayout_init()
75 throw python_error(); in THPLayout_init()
H A DMemoryFormat.cpp19 throw python_error(); in THPMemoryFormat_New()
84 throw python_error(); in THPMemoryFormat_init()
89 throw python_error(); in THPMemoryFormat_init()
H A DQScheme.cpp17 throw python_error(); in THPQScheme_New()
83 throw python_error(); in THPQScheme_init()
87 throw python_error(); in THPQScheme_init()
H A Dserialization.cpp65 throw python_error(); in isUnsupportedOperation()
68 throw python_error(); in isUnsupportedOperation()
86 throw python_error(); in doPartialPythonReadBuffered()
112 throw python_error(); in doPartialPythonIO()
130 throw python_error(); in doPartialPythonIO()
/aosp_15_r20/external/pytorch/torch/csrc/utils/
H A Dpython_numbers.h63 throw python_error(); in THPUtils_unpackInt()
79 throw python_error(); in THPUtils_unpackLong()
90 throw python_error(); in THPUtils_unpackUInt32()
101 throw python_error(); in THPUtils_unpackUInt64()
112 throw python_error(); in THPUtils_unpackIndex()
155 throw python_error(); in THPUtils_unpackDouble()
163 throw python_error(); in THPUtils_unpackComplexDouble()
184 throw python_error(); in THPUtils_unpackNumberAsBool()
195 throw python_error(); in THPUtils_unpackDeviceIndex()
H A Dtensor_layouts.cpp17 throw python_error(); \
24 throw python_error(); in initializeLayouts()
30 throw python_error(); in initializeLayouts()
38 throw python_error(); in initializeLayouts()
50 throw python_error(); in initializeLayouts()
H A Dtensor_numpy.cpp117 throw python_error(); in seq_to_aten_shape()
121 throw python_error(); in seq_to_aten_shape()
195 throw python_error(); in tensor_to_numpy()
358 throw python_error(); in numpy_dtype_to_aten()
438 throw python_error(); in tensor_from_cuda_array_interface()
442 throw python_error(); in tensor_from_cuda_array_interface()
H A Dtensor_dtypes.cpp13 throw python_error(); in initializeDtypes()
29 throw python_error(); in initializeDtypes()
35 throw python_error(); in initializeDtypes()
H A Dpython_arg_parser.cpp333 throw python_error(); in dispatch_on_subclass()
349 throw python_error(); in dispatch_on_subclass()
411 throw python_error(); in dispatch_on_mode()
439 throw python_error(); in dispatch_on_mode()
563 throw python_error(); in handle_torch_function_no_python_arg_parser()
588 throw python_error(); in handle_torch_function_no_python_arg_parser()
1421 throw python_error(); in find_param()
1729 throw python_error(); in tensor_slow()
1735 throw python_error(); in tensor_slow()
1778 throw python_error(); in tensor_slow()
[all …]
H A Dtensor_apply.cpp41 throw python_error(); in recursive_apply()
45 throw python_error(); in recursive_apply()
50 throw python_error(); in recursive_apply()
/aosp_15_r20/external/pytorch/torch/csrc/dynamo/
H A Dinit.cpp39 throw python_error(); in initDynamoBindings()
45 throw python_error(); in initDynamoBindings()
50 throw python_error(); in initDynamoBindings()
55 throw python_error(); in initDynamoBindings()
61 throw python_error(); in initDynamoBindings()
/aosp_15_r20/external/pytorch/torch/csrc/autograd/utils/
H A Dwrap_outputs.h86 throw python_error(); in wrap()
96 throw python_error(); in wrap()
127 throw python_error(); in wrap()
140 throw python_error(); in wrap()
/aosp_15_r20/external/pytorch/tools/autograd/templates/
H A Dpython_return_types.cpp31 throw python_error(); in addReturnType()
40 throw python_error(); in initReturnTypes()
48 throw python_error(); in initReturnTypes()
H A Dpython_nn_functions.cpp55 if (!tuple) throw python_error(); in THPVariable__parse_to()
101 throw python_error(); in initNNFunctions()
105 throw python_error(); in initNNFunctions()

1234