Functions¶
Summary¶
function |
class parent |
truncated documentation |
---|---|---|
Guesses default inputs (float ones) if not specified. |
||
Demangle a C++ identifier using c++filt |
||
Makes the list of existing names. Returns a set of unique names including intermediate results. |
||
Implements mixture of losses l1 and l2. |
||
Implements loss l1. |
||
Implements loss l2. |
||
This only works for a binary classification. The log loss is ‘log(yt, yp) = (1-yt)log(1-yp) - ytlog(yp), this … |
||
Take a time from nvprof and convert it into a chrome://tracing time. |
||
Returns the ONNX graph for function . |
||
Returns the ONNX graph for function where … |
||
Returns the ONNX graph for function where … |
||
Returns the ONNX graph for function . |
||
Implements a gradient based on class OrtModuleGraphBuilder. |
||
Implements a gradient based on class PyGradientGraphBuilder. |
||
Returns the ONNX graph for function or … |
||
Returns the ONNX graph for function … |
||
Returns the ONNX graph for function or … |
||
Returns the ONNX graph for function l1_weight … |
||
The function the raw scores from a classifier, uses the sigmoid function to compute probabilities, then the log function … |
||
Returns the ONNX graph for the gradient of function or … |
||
Returns the ONNX graph for function . |
||
Returns the ONNX graph for function l1_weight … |
||
Replaces a node by a subgraph. |
||
Returns the ONNX graph for function or … |
||
Returns the ONNX graph for function l1 is and … |
||
Returns the ONNX graph for function . |
||
Rewrites operators with no gradient. |
||
Format size with metric units (like nvvp) |
||
Returns a name different from any name in existing_names. |
||
Returns a name different from any name in existing_names. |
||
Adds an initializer to graph. |
||
Modifies an ONNX graph to add operators to score and allow training. |
||
Runs a couple of functions to check the module is working. |
||
Converts traces produced by nvprof and saved with format sqlite3 (extension .sql). The output format … |
||
Returns the corresponding providers for a specific device. |
||
Converts a numpy dtype into a var type. |
||
The redering of file Operator.md breaks links. This … |
||
Returns the ONNX graph corresponding to a function. |
||
Returns the class names for the ImageNet competition as a dictionary. |
||
Returns the highest available onnx opset version. |
||
Returns the opset associated to an opset. |
||
Converts device into C_OrtDevice. |
||
Converts device into device type. |
||
Returns the list of supported function by |
||
Returns the list of initializers to train. |
||
Converts a json dump obtained with function |
||
Converts a big json dump (from |
||
Implements |
||
Measures a statement and returns the results as a dictionary. |
||
Converts a numpy array to C_OrtValue. |
||
Converts traces produced by nvprof and saved with format sqlite3 (extension .sql). |
||
Builds the gradient for an onnx graph. |
||
Renames ONNX initializers to make sure their name follows the alphabetical order. The model is modified inplace. … |
||
Replaces one operator by an onnx graph. |
||
Returns a string representing the device. Opposite of function |
||
Returns onnx nodes to compute where and . |
||
Plots one or several ONNX graph into a matplotlib graph. |
||
Converts a ONNX TensorProto type into numpy type. |
||
Converts provider into a device. |
||
Replaces initializers by other initializers, usually trained ones. |
||
Displays the content of an C_OrtValue. |
||
Every loss function reduces the results to compute a loss. The score function needs to get the loss for every observation, … |