Skip to content

Commit

Permalink
Update ops-related pbtxt files.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 312775359
Change-Id: Iffdf619b6352f62ea92362d7419c7bc16a423685
  • Loading branch information
tensorflower-gardener committed May 22, 2020
1 parent 063a040 commit c7229fc
Show file tree
Hide file tree
Showing 5 changed files with 262 additions and 0 deletions.
56 changes: 56 additions & 0 deletions tensorflow/core/ops/compat/ops_history_v2/SparseSegmentMean.pbtxt
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,59 @@ op {
}
}
}
op {
name: "SparseSegmentMean"
input_arg {
name: "data"
type_attr: "T"
}
input_arg {
name: "indices"
type_attr: "Tidx"
}
input_arg {
name: "segment_ids"
type_attr: "Tsegmentids"
}
output_arg {
name: "output"
type_attr: "T"
}
attr {
name: "T"
type: "type"
allowed_values {
list {
type: DT_BFLOAT16
type: DT_FLOAT
type: DT_DOUBLE
}
}
}
attr {
name: "Tidx"
type: "type"
default_value {
type: DT_INT32
}
allowed_values {
list {
type: DT_INT32
type: DT_INT64
}
}
}
attr {
name: "Tsegmentids"
type: "type"
default_value {
type: DT_INT32
}
allowed_values {
list {
type: DT_INT32
type: DT_INT64
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,76 @@ op {
}
}
}
op {
name: "SparseSegmentMeanWithNumSegments"
input_arg {
name: "data"
type_attr: "T"
}
input_arg {
name: "indices"
type_attr: "Tidx"
}
input_arg {
name: "segment_ids"
type_attr: "Tsegmentids"
}
input_arg {
name: "num_segments"
type_attr: "Tnumsegments"
}
output_arg {
name: "output"
type_attr: "T"
}
attr {
name: "T"
type: "type"
allowed_values {
list {
type: DT_BFLOAT16
type: DT_FLOAT
type: DT_DOUBLE
}
}
}
attr {
name: "Tidx"
type: "type"
default_value {
type: DT_INT32
}
allowed_values {
list {
type: DT_INT32
type: DT_INT64
}
}
}
attr {
name: "Tnumsegments"
type: "type"
default_value {
type: DT_INT32
}
allowed_values {
list {
type: DT_INT32
type: DT_INT64
}
}
}
attr {
name: "Tsegmentids"
type: "type"
default_value {
type: DT_INT32
}
allowed_values {
list {
type: DT_INT32
type: DT_INT64
}
}
}
}
56 changes: 56 additions & 0 deletions tensorflow/core/ops/compat/ops_history_v2/SparseSegmentSqrtN.pbtxt
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,59 @@ op {
}
}
}
op {
name: "SparseSegmentSqrtN"
input_arg {
name: "data"
type_attr: "T"
}
input_arg {
name: "indices"
type_attr: "Tidx"
}
input_arg {
name: "segment_ids"
type_attr: "Tsegmentids"
}
output_arg {
name: "output"
type_attr: "T"
}
attr {
name: "T"
type: "type"
allowed_values {
list {
type: DT_BFLOAT16
type: DT_FLOAT
type: DT_DOUBLE
}
}
}
attr {
name: "Tidx"
type: "type"
default_value {
type: DT_INT32
}
allowed_values {
list {
type: DT_INT32
type: DT_INT64
}
}
}
attr {
name: "Tsegmentids"
type: "type"
default_value {
type: DT_INT32
}
allowed_values {
list {
type: DT_INT32
type: DT_INT64
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -129,3 +129,76 @@ op {
}
}
}
op {
name: "SparseSegmentSqrtNWithNumSegments"
input_arg {
name: "data"
type_attr: "T"
}
input_arg {
name: "indices"
type_attr: "Tidx"
}
input_arg {
name: "segment_ids"
type_attr: "Tsegmentids"
}
input_arg {
name: "num_segments"
type_attr: "Tnumsegments"
}
output_arg {
name: "output"
type_attr: "T"
}
attr {
name: "T"
type: "type"
allowed_values {
list {
type: DT_BFLOAT16
type: DT_FLOAT
type: DT_DOUBLE
}
}
}
attr {
name: "Tidx"
type: "type"
default_value {
type: DT_INT32
}
allowed_values {
list {
type: DT_INT32
type: DT_INT64
}
}
}
attr {
name: "Tnumsegments"
type: "type"
default_value {
type: DT_INT32
}
allowed_values {
list {
type: DT_INT32
type: DT_INT64
}
}
}
attr {
name: "Tsegmentids"
type: "type"
default_value {
type: DT_INT32
}
allowed_values {
list {
type: DT_INT32
type: DT_INT64
}
}
}
}
4 changes: 4 additions & 0 deletions tensorflow/core/ops/ops.pbtxt
Original file line number Diff line number Diff line change
Expand Up @@ -46097,6 +46097,7 @@ op {
type: "type"
allowed_values {
list {
type: DT_BFLOAT16
type: DT_FLOAT
type: DT_DOUBLE
}
Expand Down Expand Up @@ -46215,6 +46216,7 @@ op {
type: "type"
allowed_values {
list {
type: DT_BFLOAT16
type: DT_FLOAT
type: DT_DOUBLE
}
Expand Down Expand Up @@ -46283,6 +46285,7 @@ op {
type: "type"
allowed_values {
list {
type: DT_BFLOAT16
type: DT_FLOAT
type: DT_DOUBLE
}
Expand Down Expand Up @@ -46401,6 +46404,7 @@ op {
type: "type"
allowed_values {
list {
type: DT_BFLOAT16
type: DT_FLOAT
type: DT_DOUBLE
}
Expand Down

0 comments on commit c7229fc

Please sign in to comment.