Home
last modified time | relevance | path

Searched refs:api_info (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/framework/
Dpython_api_parameter_converter.cc158 const PythonAPIInfo& api_info, int param_index, in ConvertToTensorInPlace() argument
164 RaiseTypeError(api_info.api_name(), " argument ", in ConvertToTensorInPlace()
165 api_info.param_names()[param_index]); in ConvertToTensorInPlace()
173 RaiseTypeError(api_info.api_name(), " argument ", in ConvertToTensorInPlace()
174 api_info.param_names()[param_index], ": Expected one of {", in ConvertToTensorInPlace()
182 RaiseTypeError(api_info.api_name(), " argument ", in ConvertToTensorInPlace()
183 api_info.param_names()[param_index]); in ConvertToTensorInPlace()
198 bool ConvertAttribute(const Attribute& attr, const PythonAPIInfo& api_info, in ConvertAttribute() argument
204 RaiseTypeError(api_info.api_name(), " argument ", in ConvertAttribute()
205 api_info.param_names()[attr.index]); in ConvertAttribute()
[all …]
Dpython_api_info_test.py46 api_info = _pywrap_python_api_info.PythonAPIInfo(op_name)
47 api_info.InitializeFromRegisteredOp(op_name)
48 return api_info
57 api_info = _pywrap_python_api_info.PythonAPIInfo(api_name)
58 api_info.InitializeFromParamSpecs(input_specs, attr_specs, param_names,
60 return api_info
181 api_info = self.makeConverterForGenOp(op_name)
182 self.assertEqual(api_info.DebugInfo().strip(), debug_info.strip())
249 api_info = self.makeConverterFromParamSpecs(api_name, param_names,
251 self.assertEqual(api_info.DebugInfo().strip(), debug_info.strip())
Dpython_api_parameter_converter_test.py60 api_info = _pywrap_python_api_info.PythonAPIInfo(op_name)
61 api_info.InitializeFromRegisteredOp(op_name)
62 return api_info
71 api_info = _pywrap_python_api_info.PythonAPIInfo(api_name)
72 api_info.InitializeFromParamSpecs(input_specs, attr_specs, param_names,
74 return api_info
95 def assertInferredEqual(self, api_info, inferred, expected): argument
97 inferred_type_attrs = api_info.InferredTypeAttrs()
98 inferred_type_list_attrs = api_info.InferredTypeListAttrs()
99 inferred_length_attrs = api_info.InferredLengthAttrs()
[all …]
Dpython_api_info_wrapper.cc28 void InitializeFromRegisteredOp(PythonAPIInfo* api_info, in InitializeFromRegisteredOp() argument
30 auto result = api_info->InitializeFromRegisteredOp(op_name); in InitializeFromRegisteredOp()
38 PythonAPIInfo* api_info, in InitializeFromParamSpecs() argument
42 auto result = api_info->InitializeFromParamSpecs( in InitializeFromParamSpecs()
50 std::string DebugInfo(PythonAPIInfo* api_info) { return api_info->DebugInfo(); } in DebugInfo() argument
Dpython_api_parameter_converter_wrapper.cc29 const PythonAPIInfo& api_info, in Convert() argument
37 if (!CopyPythonAPITensorLists(api_info, args_raw)) { in Convert()
40 if (!ConvertPythonAPIParameters(api_info, tensor_converter, args_raw, in Convert()
Dpython_api_parameter_converter.h56 const PythonAPIInfo& api_info,
69 bool CopyPythonAPITensorLists(const PythonAPIInfo& api_info,
/external/mesa3d/src/amd/vulkan/
Dradv_rgp.c591 struct sqtt_file_chunk_api_info api_info = {0}; in radv_sqtt_dump_data() local
611 radv_sqtt_fill_api_info(&api_info); in radv_sqtt_dump_data()
612 file_offset += sizeof(api_info); in radv_sqtt_dump_data()
613 fwrite(&api_info, sizeof(api_info), 1, output); in radv_sqtt_dump_data()