What is the opset number?#

Every library is versioned. scikit-learn may change the implementation of a specific model. That happens for example with the SVC model where the parameter break_ties was added in 0.22. ONNX does also have a version called opset number. Operator ArgMin was added in opset 1 and changed in opset 11, 12, 13. Sometimes, it is updated to extend the list of types it supports, sometimes, it moves a parameter into the input list. The runtime used to deploy the model does not implement a new version, in that case, a model must be converted by usually using the most recent opset supported by the runtime, we call that opset the targeted opset. An ONNX graph only contains one unique opset, every node must be described following the specifications defined by the latest opset below the targeted opset.

This example considers an IsolationForest and digs into opsets.

Data#

A simple example.

from onnx.defs import onnx_opset_version
from skl2onnx import to_onnx
import numpy
import matplotlib.pyplot as plt
from sklearn.ensemble import IsolationForest
from sklearn.datasets import make_blobs

X, y = make_blobs(n_samples=100, n_features=2)

model = IsolationForest(n_estimators=3)
model.fit(X)
labels = model.predict(X)

fig, ax = plt.subplots(1, 1)
for k in (-1, 1):
    ax.plot(X[labels == k, 0], X[labels == k, 1], 'o', label="cl%d" % k)
ax.set_title("Sample")
Sample

ONNX#

onx = to_onnx(model, X[:1].astype(numpy.float32),
              target_opset={'': 15, 'ai.onnx.ml': 2})
print(onx)

Out:

ir_version: 8
producer_name: "skl2onnx"
producer_version: "1.11.1"
domain: "ai.onnx"
model_version: 0
doc_string: ""
graph {
  node {
    input: "X"
    input: "node_sample0_Gathercst"
    output: "node_sample0_output0"
    name: "node_sample0_Gather"
    op_type: "Gather"
    attribute {
      name: "axis"
      i: 1
      type: INT
    }
    domain: ""
  }
  node {
    input: "X"
    input: "node_sample0_Gathercst"
    output: "node_sample1_output0"
    name: "node_sample1_Gather"
    op_type: "Gather"
    attribute {
      name: "axis"
      i: 1
      type: INT
    }
    domain: ""
  }
  node {
    input: "node_sample0_output0"
    output: "node_sample0_Y0"
    name: "node_sample0_TreeEnsembleRegressor"
    op_type: "TreeEnsembleRegressor"
    attribute {
      name: "n_targets"
      i: 1
      type: INT
    }
    attribute {
      name: "nodes_falsenodeids"
      ints: 64
      ints: 29
      ints: 8
      ints: 7
      ints: 6
      ints: 0
      ints: 0
      ints: 0
      ints: 18
      ints: 15
      ints: 14
      ints: 13
      ints: 0
      ints: 0
      ints: 0
      ints: 17
      ints: 0
      ints: 0
      ints: 24
      ints: 23
      ints: 22
      ints: 0
      ints: 0
      ints: 0
      ints: 26
      ints: 0
      ints: 28
      ints: 0
      ints: 0
      ints: 41
      ints: 34
      ints: 33
      ints: 0
      ints: 0
      ints: 36
      ints: 0
      ints: 40
      ints: 39
      ints: 0
      ints: 0
      ints: 0
      ints: 53
      ints: 48
      ints: 45
      ints: 0
      ints: 47
      ints: 0
      ints: 0
      ints: 52
      ints: 51
      ints: 0
      ints: 0
      ints: 0
      ints: 57
      ints: 56
      ints: 0
      ints: 0
      ints: 61
      ints: 60
      ints: 0
      ints: 0
      ints: 63
      ints: 0
      ints: 0
      ints: 82
      ints: 67
      ints: 0
      ints: 75
      ints: 74
      ints: 71
      ints: 0
      ints: 73
      ints: 0
      ints: 0
      ints: 0
      ints: 79
      ints: 78
      ints: 0
      ints: 0
      ints: 81
      ints: 0
      ints: 0
      ints: 112
      ints: 97
      ints: 92
      ints: 89
      ints: 88
      ints: 0
      ints: 0
      ints: 91
      ints: 0
      ints: 0
      ints: 94
      ints: 0
      ints: 96
      ints: 0
      ints: 0
      ints: 105
      ints: 102
      ints: 101
      ints: 0
      ints: 0
      ints: 104
      ints: 0
      ints: 0
      ints: 109
      ints: 108
      ints: 0
      ints: 0
      ints: 111
      ints: 0
      ints: 0
      ints: 122
      ints: 117
      ints: 116
      ints: 0
      ints: 0
      ints: 119
      ints: 0
      ints: 121
      ints: 0
      ints: 0
      ints: 126
      ints: 125
      ints: 0
      ints: 0
      ints: 130
      ints: 129
      ints: 0
      ints: 0
      ints: 132
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_featureids"
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_hitrates"
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      type: FLOATS
    }
    attribute {
      name: "nodes_missing_value_tracks_true"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_modes"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      type: STRINGS
    }
    attribute {
      name: "nodes_nodeids"
      ints: 0
      ints: 1
      ints: 2
      ints: 3
      ints: 4
      ints: 5
      ints: 6
      ints: 7
      ints: 8
      ints: 9
      ints: 10
      ints: 11
      ints: 12
      ints: 13
      ints: 14
      ints: 15
      ints: 16
      ints: 17
      ints: 18
      ints: 19
      ints: 20
      ints: 21
      ints: 22
      ints: 23
      ints: 24
      ints: 25
      ints: 26
      ints: 27
      ints: 28
      ints: 29
      ints: 30
      ints: 31
      ints: 32
      ints: 33
      ints: 34
      ints: 35
      ints: 36
      ints: 37
      ints: 38
      ints: 39
      ints: 40
      ints: 41
      ints: 42
      ints: 43
      ints: 44
      ints: 45
      ints: 46
      ints: 47
      ints: 48
      ints: 49
      ints: 50
      ints: 51
      ints: 52
      ints: 53
      ints: 54
      ints: 55
      ints: 56
      ints: 57
      ints: 58
      ints: 59
      ints: 60
      ints: 61
      ints: 62
      ints: 63
      ints: 64
      ints: 65
      ints: 66
      ints: 67
      ints: 68
      ints: 69
      ints: 70
      ints: 71
      ints: 72
      ints: 73
      ints: 74
      ints: 75
      ints: 76
      ints: 77
      ints: 78
      ints: 79
      ints: 80
      ints: 81
      ints: 82
      ints: 83
      ints: 84
      ints: 85
      ints: 86
      ints: 87
      ints: 88
      ints: 89
      ints: 90
      ints: 91
      ints: 92
      ints: 93
      ints: 94
      ints: 95
      ints: 96
      ints: 97
      ints: 98
      ints: 99
      ints: 100
      ints: 101
      ints: 102
      ints: 103
      ints: 104
      ints: 105
      ints: 106
      ints: 107
      ints: 108
      ints: 109
      ints: 110
      ints: 111
      ints: 112
      ints: 113
      ints: 114
      ints: 115
      ints: 116
      ints: 117
      ints: 118
      ints: 119
      ints: 120
      ints: 121
      ints: 122
      ints: 123
      ints: 124
      ints: 125
      ints: 126
      ints: 127
      ints: 128
      ints: 129
      ints: 130
      ints: 131
      ints: 132
      type: INTS
    }
    attribute {
      name: "nodes_treeids"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_truenodeids"
      ints: 1
      ints: 2
      ints: 3
      ints: 4
      ints: 5
      ints: 0
      ints: 0
      ints: 0
      ints: 9
      ints: 10
      ints: 11
      ints: 12
      ints: 0
      ints: 0
      ints: 0
      ints: 16
      ints: 0
      ints: 0
      ints: 19
      ints: 20
      ints: 21
      ints: 0
      ints: 0
      ints: 0
      ints: 25
      ints: 0
      ints: 27
      ints: 0
      ints: 0
      ints: 30
      ints: 31
      ints: 32
      ints: 0
      ints: 0
      ints: 35
      ints: 0
      ints: 37
      ints: 38
      ints: 0
      ints: 0
      ints: 0
      ints: 42
      ints: 43
      ints: 44
      ints: 0
      ints: 46
      ints: 0
      ints: 0
      ints: 49
      ints: 50
      ints: 0
      ints: 0
      ints: 0
      ints: 54
      ints: 55
      ints: 0
      ints: 0
      ints: 58
      ints: 59
      ints: 0
      ints: 0
      ints: 62
      ints: 0
      ints: 0
      ints: 65
      ints: 66
      ints: 0
      ints: 68
      ints: 69
      ints: 70
      ints: 0
      ints: 72
      ints: 0
      ints: 0
      ints: 0
      ints: 76
      ints: 77
      ints: 0
      ints: 0
      ints: 80
      ints: 0
      ints: 0
      ints: 83
      ints: 84
      ints: 85
      ints: 86
      ints: 87
      ints: 0
      ints: 0
      ints: 90
      ints: 0
      ints: 0
      ints: 93
      ints: 0
      ints: 95
      ints: 0
      ints: 0
      ints: 98
      ints: 99
      ints: 100
      ints: 0
      ints: 0
      ints: 103
      ints: 0
      ints: 0
      ints: 106
      ints: 107
      ints: 0
      ints: 0
      ints: 110
      ints: 0
      ints: 0
      ints: 113
      ints: 114
      ints: 115
      ints: 0
      ints: 0
      ints: 118
      ints: 0
      ints: 120
      ints: 0
      ints: 0
      ints: 123
      ints: 124
      ints: 0
      ints: 0
      ints: 127
      ints: 128
      ints: 0
      ints: 0
      ints: 131
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_values"
      floats: 4.22844934463501
      floats: -5.8534650802612305
      floats: -6.637514114379883
      floats: -6.720792293548584
      floats: -7.180142402648926
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: -6.158231735229492
      floats: -6.477215766906738
      floats: -5.261491775512695
      floats: -6.348924160003662
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: -6.226452350616455
      floats: 0.0
      floats: 0.0
      floats: -6.112663269042969
      floats: -6.121067047119141
      floats: -6.131063461303711
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: -6.514410972595215
      floats: 0.0
      floats: -5.905197620391846
      floats: 0.0
      floats: 0.0
      floats: -6.0385284423828125
      floats: -7.146186828613281
      floats: -4.841617584228516
      floats: 0.0
      floats: 0.0
      floats: -5.035580158233643
      floats: 0.0
      floats: -4.393228530883789
      floats: -4.680880546569824
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: 0.6851817965507507
      floats: -5.047564506530762
      floats: -5.57161808013916
      floats: 0.0
      floats: -5.203311920166016
      floats: 0.0
      floats: 0.0
      floats: -4.366146087646484
      floats: -4.719284534454346
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: 3.5544168949127197
      floats: 3.0757758617401123
      floats: 0.0
      floats: 0.0
      floats: 0.9917594790458679
      floats: 3.5885818004608154
      floats: 0.0
      floats: 0.0
      floats: 1.3914518356323242
      floats: 0.0
      floats: 0.0
      floats: -9.112297058105469
      floats: 5.797518253326416
      floats: 0.0
      floats: 6.90334939956665
      floats: 6.7264933586120605
      floats: -10.232491493225098
      floats: 0.0
      floats: -9.433489799499512
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: 8.186742782592773
      floats: -9.341296195983887
      floats: 0.0
      floats: 0.0
      floats: 8.239633560180664
      floats: 0.0
      floats: 0.0
      floats: -0.42951685190200806
      floats: 6.136129856109619
      floats: -7.648913860321045
      floats: -8.351550102233887
      floats: 5.7825927734375
      floats: 0.0
      floats: 0.0
      floats: 5.644931316375732
      floats: 0.0
      floats: 0.0
      floats: 5.046217918395996
      floats: 0.0
      floats: -0.711794912815094
      floats: 0.0
      floats: 0.0
      floats: -7.64070463180542
      floats: -8.69334602355957
      floats: -8.933687210083008
      floats: 0.0
      floats: 0.0
      floats: -8.178422927856445
      floats: 0.0
      floats: 0.0
      floats: 7.607797145843506
      floats: 6.6142144203186035
      floats: 0.0
      floats: 0.0
      floats: 7.9403862953186035
      floats: 0.0
      floats: 0.0
      floats: 5.133726596832275
      floats: 0.13942432403564453
      floats: 5.049410343170166
      floats: 0.0
      floats: 0.0
      floats: 0.968691349029541
      floats: 0.0
      floats: 4.527759552001953
      floats: 0.0
      floats: 0.0
      floats: 0.20249173045158386
      floats: 0.15495988726615906
      floats: 0.0
      floats: 0.0
      floats: 6.072888374328613
      floats: 5.339177131652832
      floats: 0.0
      floats: 0.0
      floats: 6.942908763885498
      floats: 0.0
      floats: 0.0
      type: FLOATS
    }
    attribute {
      name: "post_transform"
      s: "NONE"
      type: STRING
    }
    attribute {
      name: "target_ids"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "target_nodeids"
      ints: 5
      ints: 6
      ints: 7
      ints: 12
      ints: 13
      ints: 14
      ints: 16
      ints: 17
      ints: 21
      ints: 22
      ints: 23
      ints: 25
      ints: 27
      ints: 28
      ints: 32
      ints: 33
      ints: 35
      ints: 38
      ints: 39
      ints: 40
      ints: 44
      ints: 46
      ints: 47
      ints: 50
      ints: 51
      ints: 52
      ints: 55
      ints: 56
      ints: 59
      ints: 60
      ints: 62
      ints: 63
      ints: 66
      ints: 70
      ints: 72
      ints: 73
      ints: 74
      ints: 77
      ints: 78
      ints: 80
      ints: 81
      ints: 87
      ints: 88
      ints: 90
      ints: 91
      ints: 93
      ints: 95
      ints: 96
      ints: 100
      ints: 101
      ints: 103
      ints: 104
      ints: 107
      ints: 108
      ints: 110
      ints: 111
      ints: 115
      ints: 116
      ints: 118
      ints: 120
      ints: 121
      ints: 124
      ints: 125
      ints: 128
      ints: 129
      ints: 131
      ints: 132
      type: INTS
    }
    attribute {
      name: "target_treeids"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "target_weights"
      floats: 5.0
      floats: 6.0
      floats: 7.0
      floats: 12.0
      floats: 13.0
      floats: 14.0
      floats: 16.0
      floats: 17.0
      floats: 21.0
      floats: 22.0
      floats: 23.0
      floats: 25.0
      floats: 27.0
      floats: 28.0
      floats: 32.0
      floats: 33.0
      floats: 35.0
      floats: 38.0
      floats: 39.0
      floats: 40.0
      floats: 44.0
      floats: 46.0
      floats: 47.0
      floats: 50.0
      floats: 51.0
      floats: 52.0
      floats: 55.0
      floats: 56.0
      floats: 59.0
      floats: 60.0
      floats: 62.0
      floats: 63.0
      floats: 66.0
      floats: 70.0
      floats: 72.0
      floats: 73.0
      floats: 74.0
      floats: 77.0
      floats: 78.0
      floats: 80.0
      floats: 81.0
      floats: 87.0
      floats: 88.0
      floats: 90.0
      floats: 91.0
      floats: 93.0
      floats: 95.0
      floats: 96.0
      floats: 100.0
      floats: 101.0
      floats: 103.0
      floats: 104.0
      floats: 107.0
      floats: 108.0
      floats: 110.0
      floats: 111.0
      floats: 115.0
      floats: 116.0
      floats: 118.0
      floats: 120.0
      floats: 121.0
      floats: 124.0
      floats: 125.0
      floats: 128.0
      floats: 129.0
      floats: 131.0
      floats: 132.0
      type: FLOATS
    }
    domain: "ai.onnx.ml"
  }
  node {
    input: "X"
    input: "node_sample0_Gathercst"
    output: "node_sample2_output0"
    name: "node_sample2_Gather"
    op_type: "Gather"
    attribute {
      name: "axis"
      i: 1
      type: INT
    }
    domain: ""
  }
  node {
    input: "node_sample1_output0"
    output: "node_sample1_Y0"
    name: "node_sample1_TreeEnsembleRegressor"
    op_type: "TreeEnsembleRegressor"
    attribute {
      name: "n_targets"
      i: 1
      type: INT
    }
    attribute {
      name: "nodes_falsenodeids"
      ints: 34
      ints: 5
      ints: 4
      ints: 0
      ints: 0
      ints: 15
      ints: 14
      ints: 9
      ints: 0
      ints: 13
      ints: 12
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 23
      ints: 18
      ints: 0
      ints: 22
      ints: 21
      ints: 0
      ints: 0
      ints: 0
      ints: 31
      ints: 28
      ints: 27
      ints: 0
      ints: 0
      ints: 30
      ints: 0
      ints: 0
      ints: 33
      ints: 0
      ints: 0
      ints: 58
      ints: 37
      ints: 0
      ints: 45
      ints: 42
      ints: 41
      ints: 0
      ints: 0
      ints: 44
      ints: 0
      ints: 0
      ints: 51
      ints: 48
      ints: 0
      ints: 50
      ints: 0
      ints: 0
      ints: 55
      ints: 54
      ints: 0
      ints: 0
      ints: 57
      ints: 0
      ints: 0
      ints: 86
      ints: 75
      ints: 68
      ints: 65
      ints: 64
      ints: 0
      ints: 0
      ints: 67
      ints: 0
      ints: 0
      ints: 72
      ints: 71
      ints: 0
      ints: 0
      ints: 74
      ints: 0
      ints: 0
      ints: 81
      ints: 80
      ints: 79
      ints: 0
      ints: 0
      ints: 0
      ints: 83
      ints: 0
      ints: 85
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_featureids"
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_hitrates"
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      type: FLOATS
    }
    attribute {
      name: "nodes_missing_value_tracks_true"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_modes"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      type: STRINGS
    }
    attribute {
      name: "nodes_nodeids"
      ints: 0
      ints: 1
      ints: 2
      ints: 3
      ints: 4
      ints: 5
      ints: 6
      ints: 7
      ints: 8
      ints: 9
      ints: 10
      ints: 11
      ints: 12
      ints: 13
      ints: 14
      ints: 15
      ints: 16
      ints: 17
      ints: 18
      ints: 19
      ints: 20
      ints: 21
      ints: 22
      ints: 23
      ints: 24
      ints: 25
      ints: 26
      ints: 27
      ints: 28
      ints: 29
      ints: 30
      ints: 31
      ints: 32
      ints: 33
      ints: 34
      ints: 35
      ints: 36
      ints: 37
      ints: 38
      ints: 39
      ints: 40
      ints: 41
      ints: 42
      ints: 43
      ints: 44
      ints: 45
      ints: 46
      ints: 47
      ints: 48
      ints: 49
      ints: 50
      ints: 51
      ints: 52
      ints: 53
      ints: 54
      ints: 55
      ints: 56
      ints: 57
      ints: 58
      ints: 59
      ints: 60
      ints: 61
      ints: 62
      ints: 63
      ints: 64
      ints: 65
      ints: 66
      ints: 67
      ints: 68
      ints: 69
      ints: 70
      ints: 71
      ints: 72
      ints: 73
      ints: 74
      ints: 75
      ints: 76
      ints: 77
      ints: 78
      ints: 79
      ints: 80
      ints: 81
      ints: 82
      ints: 83
      ints: 84
      ints: 85
      ints: 86
      type: INTS
    }
    attribute {
      name: "nodes_treeids"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_truenodeids"
      ints: 1
      ints: 2
      ints: 3
      ints: 0
      ints: 0
      ints: 6
      ints: 7
      ints: 8
      ints: 0
      ints: 10
      ints: 11
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 16
      ints: 17
      ints: 0
      ints: 19
      ints: 20
      ints: 0
      ints: 0
      ints: 0
      ints: 24
      ints: 25
      ints: 26
      ints: 0
      ints: 0
      ints: 29
      ints: 0
      ints: 0
      ints: 32
      ints: 0
      ints: 0
      ints: 35
      ints: 36
      ints: 0
      ints: 38
      ints: 39
      ints: 40
      ints: 0
      ints: 0
      ints: 43
      ints: 0
      ints: 0
      ints: 46
      ints: 47
      ints: 0
      ints: 49
      ints: 0
      ints: 0
      ints: 52
      ints: 53
      ints: 0
      ints: 0
      ints: 56
      ints: 0
      ints: 0
      ints: 59
      ints: 60
      ints: 61
      ints: 62
      ints: 63
      ints: 0
      ints: 0
      ints: 66
      ints: 0
      ints: 0
      ints: 69
      ints: 70
      ints: 0
      ints: 0
      ints: 73
      ints: 0
      ints: 0
      ints: 76
      ints: 77
      ints: 78
      ints: 0
      ints: 0
      ints: 0
      ints: 82
      ints: 0
      ints: 84
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_values"
      floats: 1.4383972883224487
      floats: -6.940292835235596
      floats: -7.19439172744751
      floats: 0.0
      floats: 0.0
      floats: -6.233448028564453
      floats: -6.300246238708496
      floats: -6.587768077850342
      floats: 0.0
      floats: -5.718491554260254
      floats: -6.520071029663086
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: -6.710877418518066
      floats: -5.711697101593018
      floats: 0.0
      floats: -4.839216232299805
      floats: -5.089686393737793
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: -4.564691543579102
      floats: -5.864675998687744
      floats: -6.25465202331543
      floats: 0.0
      floats: 0.0
      floats: -5.933238983154297
      floats: 0.0
      floats: 0.0
      floats: -4.1814093589782715
      floats: 0.0
      floats: 0.0
      floats: -1.5678393840789795
      floats: 4.982552528381348
      floats: 0.0
      floats: 5.783455848693848
      floats: 5.609598636627197
      floats: -8.253325462341309
      floats: 0.0
      floats: 0.0
      floats: 5.728328227996826
      floats: 0.0
      floats: 0.0
      floats: 7.9272565841674805
      floats: -9.540437698364258
      floats: 0.0
      floats: -7.520229339599609
      floats: 0.0
      floats: 0.0
      floats: 8.334753036499023
      floats: 8.112022399902344
      floats: 0.0
      floats: 0.0
      floats: 8.382072448730469
      floats: 0.0
      floats: 0.0
      floats: 2.242347478866577
      floats: 0.9129023551940918
      floats: 0.4242255687713623
      floats: 6.010468482971191
      floats: 3.4167706966400146
      floats: 0.0
      floats: 0.0
      floats: 7.25547981262207
      floats: 0.0
      floats: 0.0
      floats: 5.240567207336426
      floats: 0.7736712694168091
      floats: 0.0
      floats: 0.0
      floats: 0.699055552482605
      floats: 0.0
      floats: 0.0
      floats: 6.464239597320557
      floats: 1.673324704170227
      floats: 0.9882327318191528
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: 6.656536102294922
      floats: 0.0
      floats: 7.415436267852783
      floats: 0.0
      floats: 0.0
      floats: 0.0
      type: FLOATS
    }
    attribute {
      name: "post_transform"
      s: "NONE"
      type: STRING
    }
    attribute {
      name: "target_ids"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "target_nodeids"
      ints: 3
      ints: 4
      ints: 8
      ints: 11
      ints: 12
      ints: 13
      ints: 14
      ints: 17
      ints: 20
      ints: 21
      ints: 22
      ints: 26
      ints: 27
      ints: 29
      ints: 30
      ints: 32
      ints: 33
      ints: 36
      ints: 40
      ints: 41
      ints: 43
      ints: 44
      ints: 47
      ints: 49
      ints: 50
      ints: 53
      ints: 54
      ints: 56
      ints: 57
      ints: 63
      ints: 64
      ints: 66
      ints: 67
      ints: 70
      ints: 71
      ints: 73
      ints: 74
      ints: 78
      ints: 79
      ints: 80
      ints: 82
      ints: 84
      ints: 85
      ints: 86
      type: INTS
    }
    attribute {
      name: "target_treeids"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "target_weights"
      floats: 3.0
      floats: 4.0
      floats: 8.0
      floats: 11.0
      floats: 12.0
      floats: 13.0
      floats: 14.0
      floats: 17.0
      floats: 20.0
      floats: 21.0
      floats: 22.0
      floats: 26.0
      floats: 27.0
      floats: 29.0
      floats: 30.0
      floats: 32.0
      floats: 33.0
      floats: 36.0
      floats: 40.0
      floats: 41.0
      floats: 43.0
      floats: 44.0
      floats: 47.0
      floats: 49.0
      floats: 50.0
      floats: 53.0
      floats: 54.0
      floats: 56.0
      floats: 57.0
      floats: 63.0
      floats: 64.0
      floats: 66.0
      floats: 67.0
      floats: 70.0
      floats: 71.0
      floats: 73.0
      floats: 74.0
      floats: 78.0
      floats: 79.0
      floats: 80.0
      floats: 82.0
      floats: 84.0
      floats: 85.0
      floats: 86.0
      type: FLOATS
    }
    domain: "ai.onnx.ml"
  }
  node {
    input: "node_sample0_Y0"
    output: "path_length0_output0"
    name: "path_length0_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 7
      type: INT
    }
    domain: ""
  }
  node {
    input: "node_sample0_Y0"
    output: "node_sample0_output02"
    name: "node_sample0_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 7
      type: INT
    }
    domain: ""
  }
  node {
    input: "node_sample2_output0"
    output: "node_sample2_Y0"
    name: "node_sample2_TreeEnsembleRegressor"
    op_type: "TreeEnsembleRegressor"
    attribute {
      name: "n_targets"
      i: 1
      type: INT
    }
    attribute {
      name: "nodes_falsenodeids"
      ints: 74
      ints: 35
      ints: 20
      ints: 11
      ints: 10
      ints: 7
      ints: 0
      ints: 9
      ints: 0
      ints: 0
      ints: 0
      ints: 15
      ints: 14
      ints: 0
      ints: 0
      ints: 17
      ints: 0
      ints: 19
      ints: 0
      ints: 0
      ints: 26
      ints: 23
      ints: 0
      ints: 25
      ints: 0
      ints: 0
      ints: 34
      ints: 31
      ints: 30
      ints: 0
      ints: 0
      ints: 33
      ints: 0
      ints: 0
      ints: 0
      ints: 59
      ints: 46
      ints: 45
      ints: 42
      ints: 41
      ints: 0
      ints: 0
      ints: 44
      ints: 0
      ints: 0
      ints: 0
      ints: 54
      ints: 51
      ints: 50
      ints: 0
      ints: 0
      ints: 53
      ints: 0
      ints: 0
      ints: 58
      ints: 57
      ints: 0
      ints: 0
      ints: 0
      ints: 71
      ints: 66
      ints: 65
      ints: 64
      ints: 0
      ints: 0
      ints: 0
      ints: 68
      ints: 0
      ints: 70
      ints: 0
      ints: 0
      ints: 73
      ints: 0
      ints: 0
      ints: 94
      ints: 93
      ints: 82
      ints: 81
      ints: 80
      ints: 0
      ints: 0
      ints: 0
      ints: 90
      ints: 87
      ints: 86
      ints: 0
      ints: 0
      ints: 89
      ints: 0
      ints: 0
      ints: 92
      ints: 0
      ints: 0
      ints: 0
      ints: 102
      ints: 97
      ints: 0
      ints: 101
      ints: 100
      ints: 0
      ints: 0
      ints: 0
      ints: 112
      ints: 111
      ints: 108
      ints: 107
      ints: 0
      ints: 0
      ints: 110
      ints: 0
      ints: 0
      ints: 0
      ints: 114
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_featureids"
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 1
      ints: 0
      ints: 1
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_hitrates"
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      type: FLOATS
    }
    attribute {
      name: "nodes_missing_value_tracks_true"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_modes"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      strings: "LEAF"
      strings: "BRANCH_LEQ"
      strings: "LEAF"
      strings: "LEAF"
      type: STRINGS
    }
    attribute {
      name: "nodes_nodeids"
      ints: 0
      ints: 1
      ints: 2
      ints: 3
      ints: 4
      ints: 5
      ints: 6
      ints: 7
      ints: 8
      ints: 9
      ints: 10
      ints: 11
      ints: 12
      ints: 13
      ints: 14
      ints: 15
      ints: 16
      ints: 17
      ints: 18
      ints: 19
      ints: 20
      ints: 21
      ints: 22
      ints: 23
      ints: 24
      ints: 25
      ints: 26
      ints: 27
      ints: 28
      ints: 29
      ints: 30
      ints: 31
      ints: 32
      ints: 33
      ints: 34
      ints: 35
      ints: 36
      ints: 37
      ints: 38
      ints: 39
      ints: 40
      ints: 41
      ints: 42
      ints: 43
      ints: 44
      ints: 45
      ints: 46
      ints: 47
      ints: 48
      ints: 49
      ints: 50
      ints: 51
      ints: 52
      ints: 53
      ints: 54
      ints: 55
      ints: 56
      ints: 57
      ints: 58
      ints: 59
      ints: 60
      ints: 61
      ints: 62
      ints: 63
      ints: 64
      ints: 65
      ints: 66
      ints: 67
      ints: 68
      ints: 69
      ints: 70
      ints: 71
      ints: 72
      ints: 73
      ints: 74
      ints: 75
      ints: 76
      ints: 77
      ints: 78
      ints: 79
      ints: 80
      ints: 81
      ints: 82
      ints: 83
      ints: 84
      ints: 85
      ints: 86
      ints: 87
      ints: 88
      ints: 89
      ints: 90
      ints: 91
      ints: 92
      ints: 93
      ints: 94
      ints: 95
      ints: 96
      ints: 97
      ints: 98
      ints: 99
      ints: 100
      ints: 101
      ints: 102
      ints: 103
      ints: 104
      ints: 105
      ints: 106
      ints: 107
      ints: 108
      ints: 109
      ints: 110
      ints: 111
      ints: 112
      ints: 113
      ints: 114
      type: INTS
    }
    attribute {
      name: "nodes_treeids"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_truenodeids"
      ints: 1
      ints: 2
      ints: 3
      ints: 4
      ints: 5
      ints: 6
      ints: 0
      ints: 8
      ints: 0
      ints: 0
      ints: 0
      ints: 12
      ints: 13
      ints: 0
      ints: 0
      ints: 16
      ints: 0
      ints: 18
      ints: 0
      ints: 0
      ints: 21
      ints: 22
      ints: 0
      ints: 24
      ints: 0
      ints: 0
      ints: 27
      ints: 28
      ints: 29
      ints: 0
      ints: 0
      ints: 32
      ints: 0
      ints: 0
      ints: 0
      ints: 36
      ints: 37
      ints: 38
      ints: 39
      ints: 40
      ints: 0
      ints: 0
      ints: 43
      ints: 0
      ints: 0
      ints: 0
      ints: 47
      ints: 48
      ints: 49
      ints: 0
      ints: 0
      ints: 52
      ints: 0
      ints: 0
      ints: 55
      ints: 56
      ints: 0
      ints: 0
      ints: 0
      ints: 60
      ints: 61
      ints: 62
      ints: 63
      ints: 0
      ints: 0
      ints: 0
      ints: 67
      ints: 0
      ints: 69
      ints: 0
      ints: 0
      ints: 72
      ints: 0
      ints: 0
      ints: 75
      ints: 76
      ints: 77
      ints: 78
      ints: 79
      ints: 0
      ints: 0
      ints: 0
      ints: 83
      ints: 84
      ints: 85
      ints: 0
      ints: 0
      ints: 88
      ints: 0
      ints: 0
      ints: 91
      ints: 0
      ints: 0
      ints: 0
      ints: 95
      ints: 96
      ints: 0
      ints: 98
      ints: 99
      ints: 0
      ints: 0
      ints: 0
      ints: 103
      ints: 104
      ints: 105
      ints: 106
      ints: 0
      ints: 0
      ints: 109
      ints: 0
      ints: 0
      ints: 0
      ints: 113
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "nodes_values"
      floats: -5.38836669921875
      floats: 2.6741490364074707
      floats: -5.781283378601074
      floats: -6.121484279632568
      floats: -6.345580577850342
      floats: -6.552550792694092
      floats: 0.0
      floats: -6.384026050567627
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: -6.022738933563232
      floats: -6.736152172088623
      floats: 0.0
      floats: 0.0
      floats: -7.18642520904541
      floats: 0.0
      floats: -5.735946178436279
      floats: 0.0
      floats: 0.0
      floats: -5.514770030975342
      floats: -5.634060382843018
      floats: 0.0
      floats: -5.633615970611572
      floats: 0.0
      floats: 0.0
      floats: -4.071470737457275
      floats: -6.35576868057251
      floats: -4.856705665588379
      floats: 0.0
      floats: 0.0
      floats: -5.815401077270508
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: 6.6962714195251465
      floats: 5.94218111038208
      floats: 5.813019752502441
      floats: -8.359419822692871
      floats: -9.472864151000977
      floats: 0.0
      floats: 0.0
      floats: -7.970173358917236
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: 6.541445255279541
      floats: 6.401567459106445
      floats: -8.187482833862305
      floats: 0.0
      floats: 0.0
      floats: 6.498035430908203
      floats: 0.0
      floats: 0.0
      floats: -9.062292098999023
      floats: -9.740395545959473
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: 8.572309494018555
      floats: 7.309723377227783
      floats: -7.261103630065918
      floats: -8.61176586151123
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: -9.732256889343262
      floats: 0.0
      floats: -8.980844497680664
      floats: 0.0
      floats: 0.0
      floats: 8.71993637084961
      floats: 0.0
      floats: 0.0
      floats: 0.029325326904654503
      floats: -3.5425593852996826
      floats: -5.276545524597168
      floats: -5.309634208679199
      floats: -5.311147212982178
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: -5.216431617736816
      floats: -4.672993183135986
      floats: -6.606118202209473
      floats: 0.0
      floats: 0.0
      floats: -4.596368312835693
      floats: 0.0
      floats: 0.0
      floats: -4.910524368286133
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: -0.4198070168495178
      floats: -1.6532766819000244
      floats: 0.0
      floats: -0.5683971047401428
      floats: 5.738556385040283
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: 7.30081844329834
      floats: 1.7465746402740479
      floats: 4.9260735511779785
      floats: 0.8584946990013123
      floats: 0.0
      floats: 0.0
      floats: 0.5328559279441833
      floats: 0.0
      floats: 0.0
      floats: 0.0
      floats: 1.1188793182373047
      floats: 0.0
      floats: 0.0
      type: FLOATS
    }
    attribute {
      name: "post_transform"
      s: "NONE"
      type: STRING
    }
    attribute {
      name: "target_ids"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "target_nodeids"
      ints: 6
      ints: 8
      ints: 9
      ints: 10
      ints: 13
      ints: 14
      ints: 16
      ints: 18
      ints: 19
      ints: 22
      ints: 24
      ints: 25
      ints: 29
      ints: 30
      ints: 32
      ints: 33
      ints: 34
      ints: 40
      ints: 41
      ints: 43
      ints: 44
      ints: 45
      ints: 49
      ints: 50
      ints: 52
      ints: 53
      ints: 56
      ints: 57
      ints: 58
      ints: 63
      ints: 64
      ints: 65
      ints: 67
      ints: 69
      ints: 70
      ints: 72
      ints: 73
      ints: 79
      ints: 80
      ints: 81
      ints: 85
      ints: 86
      ints: 88
      ints: 89
      ints: 91
      ints: 92
      ints: 93
      ints: 96
      ints: 99
      ints: 100
      ints: 101
      ints: 106
      ints: 107
      ints: 109
      ints: 110
      ints: 111
      ints: 113
      ints: 114
      type: INTS
    }
    attribute {
      name: "target_treeids"
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      ints: 0
      type: INTS
    }
    attribute {
      name: "target_weights"
      floats: 6.0
      floats: 8.0
      floats: 9.0
      floats: 10.0
      floats: 13.0
      floats: 14.0
      floats: 16.0
      floats: 18.0
      floats: 19.0
      floats: 22.0
      floats: 24.0
      floats: 25.0
      floats: 29.0
      floats: 30.0
      floats: 32.0
      floats: 33.0
      floats: 34.0
      floats: 40.0
      floats: 41.0
      floats: 43.0
      floats: 44.0
      floats: 45.0
      floats: 49.0
      floats: 50.0
      floats: 52.0
      floats: 53.0
      floats: 56.0
      floats: 57.0
      floats: 58.0
      floats: 63.0
      floats: 64.0
      floats: 65.0
      floats: 67.0
      floats: 69.0
      floats: 70.0
      floats: 72.0
      floats: 73.0
      floats: 79.0
      floats: 80.0
      floats: 81.0
      floats: 85.0
      floats: 86.0
      floats: 88.0
      floats: 89.0
      floats: 91.0
      floats: 92.0
      floats: 93.0
      floats: 96.0
      floats: 99.0
      floats: 100.0
      floats: 101.0
      floats: 106.0
      floats: 107.0
      floats: 109.0
      floats: 110.0
      floats: 111.0
      floats: 113.0
      floats: 114.0
      type: FLOATS
    }
    domain: "ai.onnx.ml"
  }
  node {
    input: "node_sample1_Y0"
    output: "path_length1_output0"
    name: "path_length1_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 7
      type: INT
    }
    domain: ""
  }
  node {
    input: "node_sample1_Y0"
    output: "node_sample1_output02"
    name: "node_sample1_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 7
      type: INT
    }
    domain: ""
  }
  node {
    input: "path_length0_output0"
    output: "path_length0_Y0"
    name: "path_length0_LabelEncoder"
    op_type: "LabelEncoder"
    attribute {
      name: "keys_int64s"
      ints: 5
      ints: 6
      ints: 7
      ints: 12
      ints: 13
      ints: 14
      ints: 16
      ints: 17
      ints: 21
      ints: 22
      ints: 23
      ints: 25
      ints: 27
      ints: 28
      ints: 32
      ints: 33
      ints: 35
      ints: 38
      ints: 39
      ints: 40
      ints: 44
      ints: 46
      ints: 47
      ints: 50
      ints: 51
      ints: 52
      ints: 55
      ints: 56
      ints: 59
      ints: 60
      ints: 62
      ints: 63
      ints: 66
      ints: 70
      ints: 72
      ints: 73
      ints: 74
      ints: 77
      ints: 78
      ints: 80
      ints: 81
      ints: 87
      ints: 88
      ints: 90
      ints: 91
      ints: 93
      ints: 95
      ints: 96
      ints: 100
      ints: 101
      ints: 103
      ints: 104
      ints: 107
      ints: 108
      ints: 110
      ints: 111
      ints: 115
      ints: 116
      ints: 118
      ints: 120
      ints: 121
      ints: 124
      ints: 125
      ints: 128
      ints: 129
      ints: 131
      ints: 132
      type: INTS
    }
    attribute {
      name: "values_floats"
      floats: 6.0
      floats: 6.0
      floats: 5.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 6.0
      floats: 6.0
      floats: 6.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 4.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 6.0
      floats: 7.0
      floats: 7.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      type: FLOATS
    }
    domain: "ai.onnx.ml"
  }
  node {
    input: "node_sample0_output02"
    output: "node_sample0_Y02"
    name: "node_sample0_LabelEncoder"
    op_type: "LabelEncoder"
    attribute {
      name: "keys_int64s"
      ints: 5
      ints: 6
      ints: 7
      ints: 12
      ints: 13
      ints: 14
      ints: 16
      ints: 17
      ints: 21
      ints: 22
      ints: 23
      ints: 25
      ints: 27
      ints: 28
      ints: 32
      ints: 33
      ints: 35
      ints: 38
      ints: 39
      ints: 40
      ints: 44
      ints: 46
      ints: 47
      ints: 50
      ints: 51
      ints: 52
      ints: 55
      ints: 56
      ints: 59
      ints: 60
      ints: 62
      ints: 63
      ints: 66
      ints: 70
      ints: 72
      ints: 73
      ints: 74
      ints: 77
      ints: 78
      ints: 80
      ints: 81
      ints: 87
      ints: 88
      ints: 90
      ints: 91
      ints: 93
      ints: 95
      ints: 96
      ints: 100
      ints: 101
      ints: 103
      ints: 104
      ints: 107
      ints: 108
      ints: 110
      ints: 111
      ints: 115
      ints: 116
      ints: 118
      ints: 120
      ints: 121
      ints: 124
      ints: 125
      ints: 128
      ints: 129
      ints: 131
      ints: 132
      type: INTS
    }
    attribute {
      name: "values_floats"
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 2.0
      floats: 2.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 2.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 5.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 4.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 2.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 4.0
      floats: 2.0
      floats: 6.0
      floats: 2.0
      floats: 1.0
      floats: 2.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 3.0
      floats: 2.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 5.0
      floats: 2.0
      floats: 4.0
      type: FLOATS
    }
    domain: "ai.onnx.ml"
  }
  node {
    input: "node_sample2_Y0"
    output: "path_length2_output0"
    name: "path_length2_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 7
      type: INT
    }
    domain: ""
  }
  node {
    input: "node_sample2_Y0"
    output: "node_sample2_output02"
    name: "node_sample2_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 7
      type: INT
    }
    domain: ""
  }
  node {
    input: "path_length1_output0"
    output: "path_length1_Y0"
    name: "path_length1_LabelEncoder"
    op_type: "LabelEncoder"
    attribute {
      name: "keys_int64s"
      ints: 3
      ints: 4
      ints: 8
      ints: 11
      ints: 12
      ints: 13
      ints: 14
      ints: 17
      ints: 20
      ints: 21
      ints: 22
      ints: 26
      ints: 27
      ints: 29
      ints: 30
      ints: 32
      ints: 33
      ints: 36
      ints: 40
      ints: 41
      ints: 43
      ints: 44
      ints: 47
      ints: 49
      ints: 50
      ints: 53
      ints: 54
      ints: 56
      ints: 57
      ints: 63
      ints: 64
      ints: 66
      ints: 67
      ints: 70
      ints: 71
      ints: 73
      ints: 74
      ints: 78
      ints: 79
      ints: 80
      ints: 82
      ints: 84
      ints: 85
      ints: 86
      type: INTS
    }
    attribute {
      name: "values_floats"
      floats: 4.0
      floats: 4.0
      floats: 6.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 5.0
      floats: 6.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 7.0
      floats: 4.0
      floats: 7.0
      floats: 7.0
      floats: 7.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 4.0
      type: FLOATS
    }
    domain: "ai.onnx.ml"
  }
  node {
    input: "node_sample1_output02"
    output: "node_sample1_Y02"
    name: "node_sample1_LabelEncoder"
    op_type: "LabelEncoder"
    attribute {
      name: "keys_int64s"
      ints: 3
      ints: 4
      ints: 8
      ints: 11
      ints: 12
      ints: 13
      ints: 14
      ints: 17
      ints: 20
      ints: 21
      ints: 22
      ints: 26
      ints: 27
      ints: 29
      ints: 30
      ints: 32
      ints: 33
      ints: 36
      ints: 40
      ints: 41
      ints: 43
      ints: 44
      ints: 47
      ints: 49
      ints: 50
      ints: 53
      ints: 54
      ints: 56
      ints: 57
      ints: 63
      ints: 64
      ints: 66
      ints: 67
      ints: 70
      ints: 71
      ints: 73
      ints: 74
      ints: 78
      ints: 79
      ints: 80
      ints: 82
      ints: 84
      ints: 85
      ints: 86
      type: INTS
    }
    attribute {
      name: "values_floats"
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 3.0
      floats: 4.0
      floats: 3.0
      floats: 10.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 18.0
      floats: 3.0
      floats: 2.0
      floats: 1.0
      floats: 2.0
      floats: 2.0
      floats: 1.0
      floats: 12.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 2.0
      floats: 1.0
      floats: 1.0
      floats: 7.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      type: FLOATS
    }
    domain: "ai.onnx.ml"
  }
  node {
    input: "node_sample0_Y02"
    input: "path_length0_Reshapecst"
    output: "node_sample0_reshaped0"
    name: "node_sample0_Reshape"
    op_type: "Reshape"
    attribute {
      name: "allowzero"
      i: 0
      type: INT
    }
    domain: ""
  }
  node {
    input: "path_length0_Y0"
    input: "path_length0_Reshapecst"
    output: "path_length0_reshaped0"
    name: "path_length0_Reshape"
    op_type: "Reshape"
    attribute {
      name: "allowzero"
      i: 0
      type: INT
    }
    domain: ""
  }
  node {
    input: "path_length2_output0"
    output: "path_length2_Y0"
    name: "path_length2_LabelEncoder"
    op_type: "LabelEncoder"
    attribute {
      name: "keys_int64s"
      ints: 6
      ints: 8
      ints: 9
      ints: 10
      ints: 13
      ints: 14
      ints: 16
      ints: 18
      ints: 19
      ints: 22
      ints: 24
      ints: 25
      ints: 29
      ints: 30
      ints: 32
      ints: 33
      ints: 34
      ints: 40
      ints: 41
      ints: 43
      ints: 44
      ints: 45
      ints: 49
      ints: 50
      ints: 52
      ints: 53
      ints: 56
      ints: 57
      ints: 58
      ints: 63
      ints: 64
      ints: 65
      ints: 67
      ints: 69
      ints: 70
      ints: 72
      ints: 73
      ints: 79
      ints: 80
      ints: 81
      ints: 85
      ints: 86
      ints: 88
      ints: 89
      ints: 91
      ints: 92
      ints: 93
      ints: 96
      ints: 99
      ints: 100
      ints: 101
      ints: 106
      ints: 107
      ints: 109
      ints: 110
      ints: 111
      ints: 113
      ints: 114
      type: INTS
    }
    attribute {
      name: "values_floats"
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 6.0
      floats: 7.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 6.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 6.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 6.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 7.0
      floats: 8.0
      floats: 8.0
      floats: 6.0
      floats: 6.0
      floats: 7.0
      floats: 7.0
      floats: 6.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 7.0
      floats: 7.0
      floats: 4.0
      floats: 5.0
      floats: 7.0
      floats: 7.0
      floats: 6.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 8.0
      floats: 6.0
      floats: 6.0
      floats: 6.0
      type: FLOATS
    }
    domain: "ai.onnx.ml"
  }
  node {
    input: "node_sample2_output02"
    output: "node_sample2_Y02"
    name: "node_sample2_LabelEncoder"
    op_type: "LabelEncoder"
    attribute {
      name: "keys_int64s"
      ints: 6
      ints: 8
      ints: 9
      ints: 10
      ints: 13
      ints: 14
      ints: 16
      ints: 18
      ints: 19
      ints: 22
      ints: 24
      ints: 25
      ints: 29
      ints: 30
      ints: 32
      ints: 33
      ints: 34
      ints: 40
      ints: 41
      ints: 43
      ints: 44
      ints: 45
      ints: 49
      ints: 50
      ints: 52
      ints: 53
      ints: 56
      ints: 57
      ints: 58
      ints: 63
      ints: 64
      ints: 65
      ints: 67
      ints: 69
      ints: 70
      ints: 72
      ints: 73
      ints: 79
      ints: 80
      ints: 81
      ints: 85
      ints: 86
      ints: 88
      ints: 89
      ints: 91
      ints: 92
      ints: 93
      ints: 96
      ints: 99
      ints: 100
      ints: 101
      ints: 106
      ints: 107
      ints: 109
      ints: 110
      ints: 111
      ints: 113
      ints: 114
      type: INTS
    }
    attribute {
      name: "values_floats"
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 2.0
      floats: 3.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 2.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 6.0
      floats: 2.0
      floats: 1.0
      floats: 1.0
      floats: 4.0
      floats: 4.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 2.0
      floats: 2.0
      floats: 2.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      floats: 6.0
      floats: 8.0
      floats: 9.0
      floats: 4.0
      floats: 1.0
      floats: 1.0
      floats: 1.0
      type: FLOATS
    }
    domain: "ai.onnx.ml"
  }
  node {
    input: "path_length1_Y0"
    input: "path_length0_Reshapecst"
    output: "path_length1_reshaped0"
    name: "path_length1_Reshape"
    op_type: "Reshape"
    attribute {
      name: "allowzero"
      i: 0
      type: INT
    }
    domain: ""
  }
  node {
    input: "node_sample1_Y02"
    input: "path_length0_Reshapecst"
    output: "node_sample1_reshaped0"
    name: "node_sample1_Reshape"
    op_type: "Reshape"
    attribute {
      name: "allowzero"
      i: 0
      type: INT
    }
    domain: ""
  }
  node {
    input: "node_sample0_reshaped0"
    input: "dec_Powcst"
    output: "plus2_0_C0"
    name: "plus2_0_Greater"
    op_type: "Greater"
    domain: ""
  }
  node {
    input: "node_sample0_reshaped0"
    input: "dec_Powcst"
    output: "eq2_0_C0"
    name: "eq2_0_Equal"
    op_type: "Equal"
    domain: ""
  }
  node {
    input: "node_sample2_Y02"
    input: "path_length0_Reshapecst"
    output: "node_sample2_reshaped0"
    name: "node_sample2_Reshape"
    op_type: "Reshape"
    attribute {
      name: "allowzero"
      i: 0
      type: INT
    }
    domain: ""
  }
  node {
    input: "path_length2_Y0"
    input: "path_length0_Reshapecst"
    output: "path_length2_reshaped0"
    name: "path_length2_Reshape"
    op_type: "Reshape"
    attribute {
      name: "allowzero"
      i: 0
      type: INT
    }
    domain: ""
  }
  node {
    input: "node_sample1_reshaped0"
    input: "dec_Powcst"
    output: "eq2_1_C0"
    name: "eq2_1_Equal"
    op_type: "Equal"
    domain: ""
  }
  node {
    input: "eq2_0_C0"
    output: "eq2_0_output0"
    name: "eq2_0_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 1
      type: INT
    }
    domain: ""
  }
  node {
    input: "plus2_0_C0"
    output: "plus2_0_output0"
    name: "plus2_0_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 1
      type: INT
    }
    domain: ""
  }
  node {
    input: "node_sample2_reshaped0"
    input: "dec_Powcst"
    output: "eq2_2_C0"
    name: "eq2_2_Equal"
    op_type: "Equal"
    domain: ""
  }
  node {
    input: "node_sample1_reshaped0"
    input: "dec_Powcst"
    output: "plus2_1_C0"
    name: "plus2_1_Greater"
    op_type: "Greater"
    domain: ""
  }
  node {
    input: "node_sample2_reshaped0"
    input: "dec_Powcst"
    output: "plus2_2_C0"
    name: "plus2_2_Greater"
    op_type: "Greater"
    domain: ""
  }
  node {
    input: "plus2_0_output0"
    input: "node_sample0_reshaped0"
    output: "eqp2ps0_C0"
    name: "eqp2ps0_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "plus2_1_C0"
    output: "plus2_1_output0"
    name: "plus2_1_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 1
      type: INT
    }
    domain: ""
  }
  node {
    input: "eq2_1_C0"
    output: "eq2_1_output0"
    name: "eq2_1_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 1
      type: INT
    }
    domain: ""
  }
  node {
    input: "plus2_2_C0"
    output: "plus2_2_output0"
    name: "plus2_2_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 1
      type: INT
    }
    domain: ""
  }
  node {
    input: "eq2_2_C0"
    output: "eq2_2_output0"
    name: "eq2_2_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 1
      type: INT
    }
    domain: ""
  }
  node {
    input: "eqp2ps0_C0"
    input: "eqp2p_m1_0_Addcst"
    output: "eqp2p_m1_0_C0"
    name: "eqp2p_m1_0_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "eqp2ps0_C0"
    input: "eqp2p_m1_0_Maxcst"
    output: "eqp_ns0_max0"
    name: "eqp_ns0_Max"
    op_type: "Max"
    domain: ""
  }
  node {
    input: "plus2_1_output0"
    input: "node_sample1_reshaped0"
    output: "eqp2ps1_C0"
    name: "eqp2ps1_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "plus2_2_output0"
    input: "node_sample2_reshaped0"
    output: "eqp2ps2_C0"
    name: "eqp2ps2_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "eqp2p_m1_0_C0"
    input: "eqp2p_m1_0_Maxcst"
    output: "eqp2p_m1_0_max0"
    name: "eqp2p_m1_0_Max"
    op_type: "Max"
    domain: ""
  }
  node {
    input: "eqp2p_m1_0_C0"
    input: "eqp2p_m1_0_Maxcst1"
    output: "eqp2p_m1_0_max02"
    name: "eqp2p_m1_0_Max1"
    op_type: "Max"
    domain: ""
  }
  node {
    input: "eqp2ps1_C0"
    input: "eqp2p_m1_0_Addcst"
    output: "eqp2p_m1_1_C0"
    name: "eqp2p_m1_1_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "eqp2ps1_C0"
    input: "eqp2p_m1_0_Maxcst"
    output: "eqp_ns1_max0"
    name: "eqp_ns1_Max"
    op_type: "Max"
    domain: ""
  }
  node {
    input: "eqp2ps2_C0"
    input: "eqp2p_m1_0_Addcst"
    output: "eqp2p_m1_2_C0"
    name: "eqp2p_m1_2_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "eqp2ps2_C0"
    input: "eqp2p_m1_0_Maxcst"
    output: "eqp_ns2_max0"
    name: "eqp_ns2_Max"
    op_type: "Max"
    domain: ""
  }
  node {
    input: "eqp2p_m1_0_max02"
    input: "eqp_ns0_max0"
    output: "eqp_ns0_C01"
    name: "eqp_ns0_Div"
    op_type: "Div"
    domain: ""
  }
  node {
    input: "eqp2p_m1_0_max0"
    output: "eqp_log0_output0"
    name: "eqp_log0_Log"
    op_type: "Log"
    domain: ""
  }
  node {
    input: "eqp2p_m1_1_C0"
    input: "eqp2p_m1_0_Maxcst"
    output: "eqp2p_m1_1_max0"
    name: "eqp2p_m1_1_Max"
    op_type: "Max"
    domain: ""
  }
  node {
    input: "eqp2p_m1_1_C0"
    input: "eqp2p_m1_0_Maxcst1"
    output: "eqp2p_m1_1_max02"
    name: "eqp2p_m1_1_Max1"
    op_type: "Max"
    domain: ""
  }
  node {
    input: "eqp2p_m1_2_C0"
    input: "eqp2p_m1_0_Maxcst"
    output: "eqp2p_m1_2_max0"
    name: "eqp2p_m1_2_Max"
    op_type: "Max"
    domain: ""
  }
  node {
    input: "eqp2p_m1_2_C0"
    input: "eqp2p_m1_0_Maxcst1"
    output: "eqp2p_m1_2_max02"
    name: "eqp2p_m1_2_Max1"
    op_type: "Max"
    domain: ""
  }
  node {
    input: "eqp_log0_output0"
    input: "eqp_log0_Addcst"
    output: "eqp_log0_C01"
    name: "eqp_log0_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "eqp_ns0_C01"
    input: "eqp_ns0_Mulcst"
    output: "eqp_ns0_C0"
    name: "eqp_ns0_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "eqp2p_m1_1_max0"
    output: "eqp_log1_output0"
    name: "eqp_log1_Log"
    op_type: "Log"
    domain: ""
  }
  node {
    input: "eqp2p_m1_1_max02"
    input: "eqp_ns1_max0"
    output: "eqp_ns1_C01"
    name: "eqp_ns1_Div"
    op_type: "Div"
    domain: ""
  }
  node {
    input: "eqp2p_m1_2_max0"
    output: "eqp_log2_output0"
    name: "eqp_log2_Log"
    op_type: "Log"
    domain: ""
  }
  node {
    input: "eqp2p_m1_2_max02"
    input: "eqp_ns2_max0"
    output: "eqp_ns2_C01"
    name: "eqp_ns2_Div"
    op_type: "Div"
    domain: ""
  }
  node {
    input: "eqp_log0_C01"
    input: "dec_Powcst"
    output: "eqp_log0_C0"
    name: "eqp_log0_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "eqp_log1_output0"
    input: "eqp_log0_Addcst"
    output: "eqp_log1_C01"
    name: "eqp_log1_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "eqp_ns1_C01"
    input: "eqp_ns0_Mulcst"
    output: "eqp_ns1_C0"
    name: "eqp_ns1_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "eqp_log2_output0"
    input: "eqp_log0_Addcst"
    output: "eqp_log2_C01"
    name: "eqp_log2_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "eqp_ns2_C01"
    input: "eqp_ns0_Mulcst"
    output: "eqp_ns2_C0"
    name: "eqp_ns2_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "eqp_log0_C0"
    input: "eqp_ns0_C0"
    output: "avlog0_C01"
    name: "avlog0_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "eqp_log1_C01"
    input: "dec_Powcst"
    output: "eqp_log1_C0"
    name: "eqp_log1_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "eqp_log2_C01"
    input: "dec_Powcst"
    output: "eqp_log2_C0"
    name: "eqp_log2_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "avlog0_C01"
    input: "plus2_0_output0"
    output: "avlog0_C0"
    name: "avlog0_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "eqp_log1_C0"
    input: "eqp_ns1_C0"
    output: "avlog1_C01"
    name: "avlog1_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "eqp_log2_C0"
    input: "eqp_ns2_C0"
    output: "avlog2_C01"
    name: "avlog2_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "eq2_0_output0"
    input: "avlog0_C0"
    output: "avpl0_C0"
    name: "avpl0_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "avlog1_C01"
    input: "plus2_1_output0"
    output: "avlog1_C0"
    name: "avlog1_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "avlog2_C01"
    input: "plus2_2_output0"
    output: "avlog2_C0"
    name: "avlog2_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "path_length0_reshaped0"
    input: "avpl0_C0"
    output: "depth0_C01"
    name: "depth0_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "eq2_1_output0"
    input: "avlog1_C0"
    output: "avpl1_C0"
    name: "avpl1_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "eq2_2_output0"
    input: "avlog2_C0"
    output: "avpl2_C0"
    name: "avpl2_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "depth0_C01"
    input: "eqp2p_m1_0_Addcst"
    output: "depth0_C0"
    name: "depth0_Add1"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "path_length1_reshaped0"
    input: "avpl1_C0"
    output: "depth1_C01"
    name: "depth1_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "path_length2_reshaped0"
    input: "avpl2_C0"
    output: "depth2_C01"
    name: "depth2_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "depth1_C01"
    input: "eqp2p_m1_0_Addcst"
    output: "depth1_C0"
    name: "depth1_Add1"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "depth2_C01"
    input: "eqp2p_m1_0_Addcst"
    output: "depth2_C0"
    name: "depth2_Add1"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "depth0_C0"
    input: "depth1_C0"
    input: "depth2_C0"
    output: "dec_sum0"
    name: "dec_Sum"
    op_type: "Sum"
    domain: ""
  }
  node {
    input: "dec_sum0"
    input: "dec_Divcst"
    output: "dec_C0"
    name: "dec_Div"
    op_type: "Div"
    domain: ""
  }
  node {
    input: "dec_C0"
    output: "dec_Y01"
    name: "dec_Neg"
    op_type: "Neg"
    domain: ""
  }
  node {
    input: "dec_Powcst"
    input: "dec_Y01"
    output: "dec_Z0"
    name: "dec_Pow"
    op_type: "Pow"
    domain: ""
  }
  node {
    input: "dec_Z0"
    output: "dec_Y0"
    name: "dec_Neg1"
    op_type: "Neg"
    domain: ""
  }
  node {
    input: "dec_Y0"
    input: "dec_Addcst"
    output: "scores"
    name: "dec_Add"
    op_type: "Add"
    domain: ""
  }
  node {
    input: "scores"
    input: "eqp2p_m1_0_Maxcst1"
    output: "predict_C01"
    name: "predict_Less"
    op_type: "Less"
    domain: ""
  }
  node {
    input: "predict_C01"
    output: "predict_output0"
    name: "predict_Cast"
    op_type: "Cast"
    attribute {
      name: "to"
      i: 7
      type: INT
    }
    domain: ""
  }
  node {
    input: "predict_output0"
    input: "predict_Mulcst"
    output: "predict_C0"
    name: "predict_Mul"
    op_type: "Mul"
    domain: ""
  }
  node {
    input: "predict_C0"
    input: "predict_Addcst"
    output: "label"
    name: "predict_Add"
    op_type: "Add"
    domain: ""
  }
  name: "ONNX(IsolationForest)"
  initializer {
    dims: 1
    data_type: 1
    float_data: 2.0
    name: "dec_Powcst"
  }
  initializer {
    dims: 2
    data_type: 7
    int64_data: 0
    int64_data: 1
    name: "node_sample0_Gathercst"
  }
  initializer {
    dims: 2
    data_type: 7
    int64_data: -1
    int64_data: 1
    name: "path_length0_Reshapecst"
  }
  initializer {
    dims: 1
    data_type: 1
    float_data: -1.0
    name: "eqp2p_m1_0_Addcst"
  }
  initializer {
    dims: 1
    data_type: 1
    float_data: 1.0
    name: "eqp2p_m1_0_Maxcst"
  }
  initializer {
    dims: 1
    data_type: 1
    float_data: 0.5772156715393066
    name: "eqp_log0_Addcst"
  }
  initializer {
    dims: 1
    data_type: 1
    float_data: 0.0
    name: "eqp2p_m1_0_Maxcst1"
  }
  initializer {
    dims: 1
    data_type: 1
    float_data: -2.0
    name: "eqp_ns0_Mulcst"
  }
  initializer {
    dims: 1
    dims: 1
    data_type: 1
    float_data: 25.094013214111328
    name: "dec_Divcst"
  }
  initializer {
    dims: 1
    data_type: 1
    float_data: 0.5
    name: "dec_Addcst"
  }
  initializer {
    dims: 1
    data_type: 7
    int64_data: -2
    name: "predict_Mulcst"
  }
  initializer {
    dims: 1
    data_type: 7
    int64_data: 1
    name: "predict_Addcst"
  }
  input {
    name: "X"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
          }
          dim {
            dim_value: 2
          }
        }
      }
    }
  }
  output {
    name: "label"
    type {
      tensor_type {
        elem_type: 7
        shape {
          dim {
          }
          dim {
            dim_value: 1
          }
        }
      }
    }
  }
  output {
    name: "scores"
    type {
      tensor_type {
        elem_type: 1
        shape {
          dim {
          }
          dim {
            dim_value: 1
          }
        }
      }
    }
  }
}
opset_import {
  domain: "ai.onnx.ml"
  version: 2
}
opset_import {
  domain: ""
  version: 15
}

The last line shows the opsets. Let’s extract it.

domains = onx.opset_import
for dom in domains:
    print("domain: %r, version: %r" % (dom.domain, dom.version))

Out:

domain: 'ai.onnx.ml', version: 2
domain: '', version: 15

There are two opsets, one for standard operators, the other for machine learning operators.

ONNX and opset#

The converter can convert a model to an older opset than the default one, from 1 to the last available one.

def get_domain_opset(onx):
    domains = onx.opset_import
    res = [{'domain': dom.domain, 'version': dom.version}
           for dom in domains]
    return {d['domain']: d['version'] for d in res}


for opset in range(6, onnx_opset_version() + 1):
    try:
        onx = to_onnx(model, X[:1].astype(numpy.float32),
                      target_opset={'': opset, 'ai.onnx.ml': 2})
    except RuntimeError as e:
        print('target: %r error: %r' % (opset, e))
        continue
    nodes = len(onx.graph.node)
    print('target: %r --> %s %d' % (opset, get_domain_opset(onx), nodes))

Out:

target: 6 --> {'ai.onnx.ml': 2, '': 6} 91
target: 7 --> {'ai.onnx.ml': 2, '': 7} 91
target: 8 --> {'ai.onnx.ml': 2, '': 8} 91
target: 9 --> {'ai.onnx.ml': 2, '': 9} 91
target: 10 --> {'ai.onnx.ml': 2, '': 10} 91
target: 11 --> {'ai.onnx.ml': 2, '': 11} 91
target: 12 --> {'': 12, 'ai.onnx.ml': 2} 91
target: 13 --> {'ai.onnx.ml': 2, '': 13} 91
target: 14 --> {'ai.onnx.ml': 2, '': 14} 91
target: 15 --> {'ai.onnx.ml': 2, '': 15} 91
D:\GitHub\onnx\sklearn-onnx\skl2onnx\common\_topology.py:1405: UserWarning: Parameter target_opset 16 > 15 is higher than the the latest tested version.
  warnings.warn(
target: 16 error: RuntimeError("The model is using version 16 of domain '' not supported yet by this library. You need to specify target_opset={'': 15}.")

It shows that the model cannot be converted for opset below 5. Operator Reshape changed in opset 5: a parameter became an input. The converter does not support opset < 5 because runtimes usually do not.

Other opsets#

The previous example changed the opset of the main domain '' but the other opset domain can be changed as well.

for opset in range(9, onnx_opset_version() + 1):
    for opset_ml in range(1, 4):
        tops = {'': opset, 'ai.onnx.ml': opset_ml}
        try:
            print("try target_opset:", tops)
            onx = to_onnx(
                model, X[:1].astype(numpy.float32), target_opset=tops)
        except RuntimeError as e:
            print('target: %r error: %r' % (opset, e))
            continue
        nodes = len(onx.graph.node)
        print('target: %r --> %s %d' % (opset, get_domain_opset(onx), nodes))

Out:

try target_opset: {'': 9, 'ai.onnx.ml': 1}
target: 9 error: RuntimeError("This converter requires at least opset 2 for domain 'ai.onnx.ml'.")
try target_opset: {'': 9, 'ai.onnx.ml': 2}
target: 9 --> {'ai.onnx.ml': 2, '': 9} 91
try target_opset: {'': 9, 'ai.onnx.ml': 3}
target: 9 --> {'ai.onnx.ml': 2, '': 9} 91
try target_opset: {'': 10, 'ai.onnx.ml': 1}
target: 10 error: RuntimeError("This converter requires at least opset 2 for domain 'ai.onnx.ml'.")
try target_opset: {'': 10, 'ai.onnx.ml': 2}
target: 10 --> {'ai.onnx.ml': 2, '': 10} 91
try target_opset: {'': 10, 'ai.onnx.ml': 3}
target: 10 --> {'ai.onnx.ml': 2, '': 10} 91
try target_opset: {'': 11, 'ai.onnx.ml': 1}
target: 11 error: RuntimeError("This converter requires at least opset 2 for domain 'ai.onnx.ml'.")
try target_opset: {'': 11, 'ai.onnx.ml': 2}
target: 11 --> {'ai.onnx.ml': 2, '': 11} 91
try target_opset: {'': 11, 'ai.onnx.ml': 3}
target: 11 --> {'ai.onnx.ml': 2, '': 11} 91
try target_opset: {'': 12, 'ai.onnx.ml': 1}
target: 12 error: RuntimeError("This converter requires at least opset 2 for domain 'ai.onnx.ml'.")
try target_opset: {'': 12, 'ai.onnx.ml': 2}
target: 12 --> {'': 12, 'ai.onnx.ml': 2} 91
try target_opset: {'': 12, 'ai.onnx.ml': 3}
target: 12 --> {'': 12, 'ai.onnx.ml': 2} 91
try target_opset: {'': 13, 'ai.onnx.ml': 1}
target: 13 error: RuntimeError("This converter requires at least opset 2 for domain 'ai.onnx.ml'.")
try target_opset: {'': 13, 'ai.onnx.ml': 2}
target: 13 --> {'ai.onnx.ml': 2, '': 13} 91
try target_opset: {'': 13, 'ai.onnx.ml': 3}
target: 13 --> {'ai.onnx.ml': 2, '': 13} 91
try target_opset: {'': 14, 'ai.onnx.ml': 1}
target: 14 error: RuntimeError("This converter requires at least opset 2 for domain 'ai.onnx.ml'.")
try target_opset: {'': 14, 'ai.onnx.ml': 2}
target: 14 --> {'ai.onnx.ml': 2, '': 14} 91
try target_opset: {'': 14, 'ai.onnx.ml': 3}
target: 14 --> {'ai.onnx.ml': 2, '': 14} 91
try target_opset: {'': 15, 'ai.onnx.ml': 1}
target: 15 error: RuntimeError("This converter requires at least opset 2 for domain 'ai.onnx.ml'.")
try target_opset: {'': 15, 'ai.onnx.ml': 2}
target: 15 --> {'ai.onnx.ml': 2, '': 15} 91
try target_opset: {'': 15, 'ai.onnx.ml': 3}
target: 15 --> {'ai.onnx.ml': 2, '': 15} 91
try target_opset: {'': 16, 'ai.onnx.ml': 1}
D:\GitHub\onnx\sklearn-onnx\skl2onnx\common\_topology.py:1405: UserWarning: Parameter target_opset 16 > 15 is higher than the the latest tested version.
  warnings.warn(
target: 16 error: RuntimeError("This converter requires at least opset 2 for domain 'ai.onnx.ml'.")
try target_opset: {'': 16, 'ai.onnx.ml': 2}
target: 16 error: RuntimeError("The model is using version 16 of domain '' not supported yet by this library. You need to specify target_opset={'': 15}.")
try target_opset: {'': 16, 'ai.onnx.ml': 3}
D:\GitHub\onnx\sklearn-onnx\skl2onnx\common\_topology.py:1405: UserWarning: Parameter target_opset 16 > 15 is higher than the the latest tested version.
  warnings.warn(
target: 16 error: RuntimeError("The model is using version 16 of domain '' not supported yet by this library. You need to specify target_opset={'': 15}.")

Total running time of the script: ( 0 minutes 5.086 seconds)

Gallery generated by Sphinx-Gallery