message: New struct generic_tree_model_extensions.ConstResultTest replaces generic_tree_model_extensions.MatchingValuesTest for the case if no values present.
diff: @@ -10,9 +10,21 @@ import "tensorflow/contrib/decision_trees/proto/generic_tree_model.proto";
  // Used in generic_tree_model.BinaryNode.left_child_test.
  // Tests whether the feature's value belongs to the specified list,
  // (or does not belong if inverse=True).
  +// For empty list use ConstResultTest instead.
  message MatchingValuesTest {
  // When the feature is missing, the test's outcome is undefined.
  FeatureId feature_id = 1;
  repeated Value value = 2;
  bool inverse = 3;
  }
  +
  +// Used in generic_tree_model.BinaryNode.left_child_test.
  +// Returns test_result if feature value is not missed. Otherwise
  +// BinaryNode.default_direction is used.
  +message ConstResultTest {
  + FeatureId feature_id = 1;
  + // value_for_dtype is used to store the type of the feature. The value itself
  + // should be ignored, only its type is used.
  + Value value_for_dtype = 2;
  + bool test_result = 3;
  +}
  