pyacl GE api参考_trunk
-
-
- function:load_from_file
- function:load_from_mem
- function:load_from_file_with_mem
- function:load_from_mem_with_mem
- function:set_config_opt
- function:load_with_config
- function:unload
- function:bundle_load_from_file
- function:bundle_load_from_mem
- function:bundle_get_model_id
- function:bundle_get_model_num
- function:bundle_unload
- function:create_config_handle
- function:destroy_config_handle
- function:get_tensor_real_name
- function:create_exec_config_handle
- function:destroy_exec_config_handle
-
- function:execute
- function:execute_async
- function:set_exec_config_opt
- function:execute_v2
- function:query_size
- function:query_size_from_mem
- function:set_dynamic_batch_size
- function:set_dynamic_hw_size
- function:get_aipp_type
- function:set_aipp_by_input_index
- function:set_input_dynamic_dims
- function:create_and_get_op_desc
-
-
-
- function:set_model_dir
- function:load
- function:execute
- function:execute_v2
- function:execute_with_handle
- function:infer_shape
- function:register_compile_func
- function:unregister_compile_func
- function:create_kernel
- function:set_kernel_args
- function:set_kernel_workspace_sizes
- function:update_params
- function:set_max_op_queue_num
-
- 总体说明
- 关于A、B、C矩阵的Shape及内存大小计算公式
- function:gemv_ex
- function:create_handle_for_gemv_ex
- function:hgemv
- function:create_handle_for_hgemv
- function:s8gemv
- function:create_handle_for_s8gemv
- function:gemm_ex
- function:create_handle_for_gemm_ex
- function:hgemm
- function:create_handle_for_hgemm
- function:s8gemm
- function:create_handle_for_s8gemm
- function:cast
- function:create_handle_for_cast
-
-
-
- function:create_attr
- function:destroy_attr
- function:set_attr_bool
- function:set_attr_int
- function:set_attr_float
- function:set_attr_string
- function:set_attr_list_bool
- function:set_attr_list_int
- function:set_attr_list_float
- function:set_attr_list_string
- function:set_attr_list_list_int
- function:set_attr_data_type
- function:set_attr_list_data_type
-
- function:create_aipp
- function:destroy_aipp
- function:set_aipp_input_format
- function:set_aipp_csc_params
- function:set_aipp_rbuv_swap_switch
- function:set_aipp_ax_swap_switch
- function:set_aipp_src_image_size
- function:set_aipp_crop_params
- function:set_aipp_padding_params
- function:set_aipp_dtc_pixel_mean
- function:set_aipp_dtc_pixel_min
- function:set_aipp_pixel_var_reci
- function:set_input_aipp
- function:get_aipp_data_size
-
- function:create_desc
- function:destroy_desc
- function:get_desc
- function:get_num_inputs
- function:get_num_outputs
- function:get_input_size_by_index
- function:get_output_size_by_index
- function:get_input_dims
- function:get_input_dims_v2
- function:get_output_dims
- function:get_input_name_by_index
- function:get_output_name_by_index
- function:get_input_format
- function:get_output_format
- function:get_input_data_type
- function:get_output_data_type
- function:get_input_index_by_name
- function:get_output_index_by_name
- function:get_dynamic_batch
- function:get_dynamic_hw
- function:get_cur_output_dims
- function:get_first_aipp_info
- function:get_input_dynamic_gear_count
- function:get_input_dynamic_dims
- function:get_op_attr
- function:get_desc_from_file
- function:get_desc_from_mem
- function:get_input_dims_range
-
- function:create_tensor_desc
- function:destroy_tensor_desc
- function:get_tensor_desc_type
- function:get_tensor_desc_format
- function:get_tensor_desc_size
- function:get_tensor_desc_element_count
- function:get_tensor_desc_num_dims
- function:get_tensor_desc_dim
- function:get_tensor_desc_dim_v2
- function:get_tensor_desc_dim_range
- function:set_tensor_desc_name
- function:get_tensor_desc_name
- function:trans_tensor_desc_format
- function:set_tensor_storage_shape
- function:set_tensor_storage_format
- function:set_tensor_origin_shape
- function:set_tensor_origin_format
- function:set_tensor_shape
- function:set_tensor_format
- function:set_tensor_shape_range
- function:set_tensor_dynamic_input
- function:get_tensor_desc_by_index
- function:get_tensor_desc_address
- function:set_tensor_const
- function:set_tensor_place_ment
- function:set_tensor_value_range