.. _l-staticmethods: Static Methods ============== .. contents:: :local: :depth: 1 Summary +++++++ +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | staticmethod | class parent | truncated documentation | +==============================================================================================================================================================+===================================+========================================================================================================================+ | :meth:`ParseFromString ` | _CustomSchema | Parses this class from a json string. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`__class_getitem__ ` | NDArray | Overwrites this method. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`__class_getitem__ ` | OnnxExisting | Enables expression `cls[opset]`. It returns the appropriate class `cls_opset`. Parameter *op_version* should be ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`__class_getitem__ ` | OnnxOperator | Enables expression `cls[opset]`. It returns the appropriate class `cls_opset`. Parameter *op_version* should be ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`__class_getitem__ ` | OnnxOperatorFunction | Enables expression `cls[opset]`. It returns the appropriate class `cls_opset`. Parameter *op_version* should be ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_add_node ` | XGBClassifierConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_add_node ` | XGBConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_add_node ` | XGBRegressorConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_create_model ` | GPT2TokenizerTransformer | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_create_model ` | SentencePieceTokenizerTransformer | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_fill_node_attributes ` | XGBClassifierConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_fill_node_attributes ` | XGBConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_fill_node_attributes ` | XGBRegressorConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_find_local_inputs ` | OnnxInferenceNode | Determines the local inputs. It is any defined input used by the subgraph and defined in the parent graph. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_find_static_inputs ` | OnnxInferenceNode | Determines the loop inputs. It is any defined inputs by the subgraphs + any result used as a constant in ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_fmatmul00 ` | FusedMatMul | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_fmatmul01 ` | FusedMatMul | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_fmatmul10 ` | FusedMatMul | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_fmatmul11 ` | FusedMatMul | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_gemm00 ` | Gemm | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_gemm01 ` | Gemm | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_gemm10 ` | Gemm | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_gemm11 ` | Gemm | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_generate_classes ` | WrappedLightGbmBooster | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_get_default_tree_attribute_pairs ` | XGBClassifierConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_get_default_tree_attribute_pairs ` | XGBConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_get_default_tree_attribute_pairs ` | XGBRegressorConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_get_shape ` | OnnxShapeInference | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_get_type_property ` | OnnxInference | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_load ` | OnnxBackendTest | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_make_tuple ` | NumpyCode | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_merge_op_version ` | OnnxExisting | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_merge_op_version ` | OnnxOperator | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_merge_op_version ` | OnnxOperatorFunction | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_get_type ` | OnnxExisting | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_get_type ` | OnnxOperator | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_get_type ` | OnnxOperatorFunction | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_preprocess_list ` | OnnxExisting | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_preprocess_list ` | OnnxOperator | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_preprocess_list ` | OnnxOperatorFunction | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_process_input ` | OnnxExisting | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_process_input ` | OnnxOperator | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_process_input ` | OnnxOperatorFunction | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_reorder_by_name ` | OnnxExisting | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_reorder_by_name ` | OnnxOperator | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_node_to_graph_reorder_by_name ` | OnnxOperatorFunction | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_norm_L1_inplace ` | Normalizer | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_norm_max_inplace ` | Normalizer | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_onnx2bigraph_basic ` | BiGraph | Implements graph type `'basic'` for function :func:`onnx2bigraph`. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_onnx2bigraph_simplified ` | BiGraph | Implements graph type `'simplified'` for function :func:`onnx2bigraph`. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_process_type ` | NDArraySameType | Nicknames such as `floats`, `int`, `ints`, `all` can be used to describe multiple inputs for a signature. ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_process_type ` | NDArraySameTypeSameShape | Nicknames such as `floats`, `int`, `ints`, `all` can be used to describe multiple inputs for a signature. ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_process_type ` | NDArrayType | Nicknames such as `floats`, `int`, `ints`, `all` can be used to describe multiple inputs for a signature. ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_process_type ` | NDArrayTypeSameShape | Nicknames such as `floats`, `int`, `ints`, `all` can be used to describe multiple inputs for a signature. ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_process_type ` | _NDArrayAlias | Nicknames such as `floats`, `int`, `ints`, `all` can be used to describe multiple inputs for a signature. ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_read_proto_from_file ` | OnnxBackendTest | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_remap_nodeid ` | XGBClassifierConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_remap_nodeid ` | XGBConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_remap_nodeid ` | XGBRegressorConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_sort ` | OnnxBackendTest | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_to_onnx ` | OnnxSubEstimator | Converts a model into ONNX and inserts it into an ONNX graph. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_to_onnx_sklearn ` | OnnxSubEstimator | Converts a :epkg:`scikit-learn` model into ONNX and inserts it into an ONNX graph. The library relies on ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :py:meth:`_transpose ` | FusedMatMul | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`attribute_to_value ` | OnnxOperatorFunction | Converts an attribute into a value using python structures. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`broadcast ` | ShapeResult | Broadcasts dimensions for an element wise operator. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`build_einsum ` | CachedEinsum | Creates an instance of *CachedEinsum*. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`build_rev_keys ` | ZipMapDictionary | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`cache ` | AutoAction | Caches the result of a function. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`common_members ` | XGBClassifierConverter | common to regresssor and classifier | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`common_members ` | XGBConverter | common to regresssor and classifier | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`common_members ` | XGBRegressorConverter | common to regresssor and classifier | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`convert ` | XGBClassifierConverter | convert method | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`convert ` | XGBRegressorConverter | converter method | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`create_inference_session ` | OnnxInferenceBackend | Instantiates an instance of class @see cl OnnxInference. This method should be overwritten to change the runtime ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`create_inference_session ` | OnnxInferenceBackendMicro | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`create_inference_session ` | OnnxInferenceBackendOrt | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`create_inference_session ` | OnnxInferenceBackendPyC | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`create_inference_session ` | OnnxInferenceBackendPyEval | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`create_inference_session ` | OnnxInferenceBackendShape | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`enumerate_create ` | OnnxTransformer | Creates multiple *OnnxTransformer*, one for each requested intermediate node. onnx_bytes : bytes ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`fill_tree_attributes ` | XGBClassifierConverter | fills tree attributes | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`fill_tree_attributes ` | XGBConverter | fills tree attributes | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`fill_tree_attributes ` | XGBRegressorConverter | fills tree attributes | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`from_pb ` | Variable | Creates a Variable from a protobuf object. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`from_skl2onnx ` | Variable | Converts variable from :epkg:`sklearn-onnx` into this class. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`from_skl2onnx_tuple ` | Variable | Converts variable from :epkg:`sklearn-onnx` into this class defined as a tuple. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`get_unique_name ` | OnnxExisting | Returns a unique variable name. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`get_xgb_params ` | XGBClassifierConverter | Retrieves parameters of a model. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`get_xgb_params ` | XGBConverter | Retrieves parameters of a model. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`get_xgb_params ` | XGBRegressorConverter | Retrieves parameters of a model. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`guess_type ` | MLActionCst | Guesses a type given a value. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`guess_type ` | MLActionVar | Guesses a type given a value. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_compatible ` | OnnxInferenceBackend | Returns whether the model is compatible with the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_compatible ` | OnnxInferenceBackendMicro | Returns whether the model is compatible with the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_compatible ` | OnnxInferenceBackendOrt | Returns whether the model is compatible with the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_compatible ` | OnnxInferenceBackendPyC | Returns whether the model is compatible with the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_compatible ` | OnnxInferenceBackendPyEval | Returns whether the model is compatible with the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_compatible ` | OnnxInferenceBackendShape | Returns whether the model is compatible with the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_opset_supported ` | OnnxInferenceBackend | Returns whether the opset for the model is supported by the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_opset_supported ` | OnnxInferenceBackendMicro | Returns whether the opset for the model is supported by the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_opset_supported ` | OnnxInferenceBackendOrt | Returns whether the opset for the model is supported by the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_opset_supported ` | OnnxInferenceBackendPyC | Returns whether the opset for the model is supported by the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_opset_supported ` | OnnxInferenceBackendPyEval | Returns whether the opset for the model is supported by the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`is_opset_supported ` | OnnxInferenceBackendShape | Returns whether the opset for the model is supported by the backend. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpFunction | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpRun | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpRunArg | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpRunBinary | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpRunBinaryComparison | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpRunBinaryNum | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpRunBinaryNumpy | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpRunClassifierProb | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpRunCustom | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpRunReduceNumpy | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpRunUnary | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`local_inputs ` | OpRunUnaryNum | Returns all varibles not registered as inputs and not produced by an node inside the graph. This inputs are part ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`norm_l1 ` | Normalizer | L1 normalization | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`norm_l2 ` | Normalizer | L2 normalization | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`norm_max ` | Normalizer | max normalization | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`number2alpha ` | _GraphBuilder | Converts a numbers into a string keeping the same alphabetical order. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`onnx_graph_distance ` | BiGraph | Computes a distance between two ONNX graphs. They must not be too big otherwise this function might take for ever. ... | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`prepare ` | OnnxInferenceBackend | Loads the model and creates @see cl OnnxInference. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`prepare ` | OnnxInferenceBackendMicro | Loads the model and creates @see cl OnnxInference. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`prepare ` | OnnxInferenceBackendOrt | Loads the model and creates @see cl OnnxInference. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`prepare ` | OnnxInferenceBackendPyC | Loads the model and creates @see cl OnnxInference. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`prepare ` | OnnxInferenceBackendPyEval | Loads the model and creates @see cl OnnxInference. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`prepare ` | OnnxInferenceBackendShape | Loads the model and creates @see cl OnnxInference. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`print_node ` | CodeNodeVisitor | Debugging purpose. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`print_node ` | CodeNodeVisitor | Debugging purpose. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`process_profiling ` | OnnxWholeSession | Flattens json returned by onnxruntime profiling. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_model ` | OnnxInferenceBackend | Computes the prediction. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_model ` | OnnxInferenceBackendMicro | Computes the prediction. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_model ` | OnnxInferenceBackendOrt | Computes the prediction. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_model ` | OnnxInferenceBackendPyC | Computes the prediction. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_model ` | OnnxInferenceBackendPyEval | Computes the prediction. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_model ` | OnnxInferenceBackendShape | Computes the prediction. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_node ` | OnnxInferenceBackend | This method is not implemented as it is much more efficient to run a whole model than every node independently. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_node ` | OnnxInferenceBackendMicro | This method is not implemented as it is much more efficient to run a whole model than every node independently. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_node ` | OnnxInferenceBackendOrt | This method is not implemented as it is much more efficient to run a whole model than every node independently. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_node ` | OnnxInferenceBackendPyC | This method is not implemented as it is much more efficient to run a whole model than every node independently. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_node ` | OnnxInferenceBackendPyEval | This method is not implemented as it is much more efficient to run a whole model than every node independently. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`run_node ` | OnnxInferenceBackendShape | This method is not implemented as it is much more efficient to run a whole model than every node independently. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`supports_device ` | OnnxInferenceBackend | Checks whether the backend is compiled with particular device support. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`supports_device ` | OnnxInferenceBackendMicro | Checks whether the backend is compiled with particular device support. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`supports_device ` | OnnxInferenceBackendOrt | Checks whether the backend is compiled with particular device support. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`supports_device ` | OnnxInferenceBackendPyC | Checks whether the backend is compiled with particular device support. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`supports_device ` | OnnxInferenceBackendPyEval | Checks whether the backend is compiled with particular device support. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`supports_device ` | OnnxInferenceBackendShape | Checks whether the backend is compiled with particular device support. | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`validate ` | XGBClassifierConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`validate ` | XGBConverter | validates the model | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+ | :meth:`validate ` | XGBRegressorConverter | | +--------------------------------------------------------------------------------------------------------------------------------------------------------------+-----------------------------------+------------------------------------------------------------------------------------------------------------------------+