diff --git a/tensorflow/core/ops/compat/ops_history_v1/ParseExampleV2.pbtxt b/tensorflow/core/ops/compat/ops_history_v1/ParseExampleV2.pbtxt new file mode 100644 index 00000000000..0d7e1d37e23 --- /dev/null +++ b/tensorflow/core/ops/compat/ops_history_v1/ParseExampleV2.pbtxt @@ -0,0 +1,110 @@ +op { + name: "ParseExampleV2" + input_arg { + name: "serialized" + type: DT_STRING + } + input_arg { + name: "names" + type: DT_STRING + } + input_arg { + name: "sparse_keys" + type: DT_STRING + } + input_arg { + name: "dense_keys" + type: DT_STRING + } + input_arg { + name: "ragged_keys" + type: DT_STRING + } + input_arg { + name: "dense_defaults" + type_list_attr: "Tdense" + } + output_arg { + name: "sparse_indices" + type: DT_INT64 + number_attr: "num_sparse" + } + output_arg { + name: "sparse_values" + type_list_attr: "sparse_types" + } + output_arg { + name: "sparse_shapes" + type: DT_INT64 + number_attr: "num_sparse" + } + output_arg { + name: "dense_values" + type_list_attr: "Tdense" + } + output_arg { + name: "ragged_values" + type_list_attr: "ragged_value_types" + } + output_arg { + name: "ragged_row_splits" + type_list_attr: "ragged_split_types" + } + attr { + name: "Tdense" + type: "list(type)" + has_minimum: true + allowed_values { + list { + type: DT_FLOAT + type: DT_INT64 + type: DT_STRING + } + } + } + attr { + name: "num_sparse" + type: "int" + has_minimum: true + } + attr { + name: "sparse_types" + type: "list(type)" + has_minimum: true + allowed_values { + list { + type: DT_FLOAT + type: DT_INT64 + type: DT_STRING + } + } + } + attr { + name: "ragged_value_types" + type: "list(type)" + has_minimum: true + allowed_values { + list { + type: DT_FLOAT + type: DT_INT64 + type: DT_STRING + } + } + } + attr { + name: "ragged_split_types" + type: "list(type)" + has_minimum: true + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "dense_shapes" + type: "list(shape)" + has_minimum: true + } +} diff --git a/tensorflow/core/ops/ops.pbtxt b/tensorflow/core/ops/ops.pbtxt index 9faea9ed7d2..6779b721871 100644 --- a/tensorflow/core/ops/ops.pbtxt +++ b/tensorflow/core/ops/ops.pbtxt @@ -25250,6 +25250,116 @@ op { } } } +op { + name: "ParseExampleV2" + input_arg { + name: "serialized" + type: DT_STRING + } + input_arg { + name: "names" + type: DT_STRING + } + input_arg { + name: "sparse_keys" + type: DT_STRING + } + input_arg { + name: "dense_keys" + type: DT_STRING + } + input_arg { + name: "ragged_keys" + type: DT_STRING + } + input_arg { + name: "dense_defaults" + type_list_attr: "Tdense" + } + output_arg { + name: "sparse_indices" + type: DT_INT64 + number_attr: "num_sparse" + } + output_arg { + name: "sparse_values" + type_list_attr: "sparse_types" + } + output_arg { + name: "sparse_shapes" + type: DT_INT64 + number_attr: "num_sparse" + } + output_arg { + name: "dense_values" + type_list_attr: "Tdense" + } + output_arg { + name: "ragged_values" + type_list_attr: "ragged_value_types" + } + output_arg { + name: "ragged_row_splits" + type_list_attr: "ragged_split_types" + } + attr { + name: "Tdense" + type: "list(type)" + has_minimum: true + allowed_values { + list { + type: DT_FLOAT + type: DT_INT64 + type: DT_STRING + } + } + } + attr { + name: "num_sparse" + type: "int" + has_minimum: true + } + attr { + name: "sparse_types" + type: "list(type)" + has_minimum: true + allowed_values { + list { + type: DT_FLOAT + type: DT_INT64 + type: DT_STRING + } + } + } + attr { + name: "ragged_value_types" + type: "list(type)" + has_minimum: true + allowed_values { + list { + type: DT_FLOAT + type: DT_INT64 + type: DT_STRING + } + } + } + attr { + name: "ragged_split_types" + type: "list(type)" + has_minimum: true + allowed_values { + list { + type: DT_INT32 + type: DT_INT64 + } + } + } + attr { + name: "dense_shapes" + type: "list(shape)" + has_minimum: true + } +} op { name: "ParseSequenceExample" input_arg {