Skip to content

Commit

Permalink
add some pbtxts, test=develop (#33342)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shixiaowei02 authored Jun 4, 2021
1 parent 34aebbc commit 57bdf32
Show file tree
Hide file tree
Showing 4 changed files with 166 additions and 0 deletions.
50 changes: 50 additions & 0 deletions paddle/fluid/operators/compat/concat.pbtxt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
type: "concat"
def {
inputs {
name: "X"
}
inputs {
name: "AxisTensor"
}
outputs {
name: "Out"
}
attrs {
name: "axis"
type: INT
}
}
extra {
attrs {
name: "use_mkldnn"
type: BOOLEAN
}
attrs {
name: "use_quantizer"
type: BOOLEAN
}
attrs {
name: "mkldnn_data_type"
type: STRING
}
attrs {
name: "op_role"
type: INT
}
attrs {
name: "op_role_var"
type: STRINGS
}
attrs {
name: "op_namescope"
type: STRING
}
attrs {
name: "op_callstack"
type: STRINGS
}
attrs {
name: "op_device"
type: STRING
}
}
38 changes: 38 additions & 0 deletions paddle/fluid/operators/compat/sequence_expand.pbtxt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
type: "sequence_expand"
def {
inputs {
name: "X"
}
inputs {
name: "Y"
}
outputs {
name: "Out"
}
attrs {
name: "ref_level"
type: INT
}
}
extra {
attrs {
name: "op_role"
type: INT
}
attrs {
name: "op_role_var"
type: STRINGS
}
attrs {
name: "op_namescope"
type: STRING
}
attrs {
name: "op_callstack"
type: STRINGS
}
attrs {
name: "op_device"
type: STRING
}
}
39 changes: 39 additions & 0 deletions paddle/fluid/operators/compat/sigmoid.pbtxt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
type: "sigmoid"
def {
inputs {
name: "X"
}
outputs {
name: "Out"
}
}
extra {
attrs {
name: "use_mkldnn"
type: BOOLEAN
}
attrs {
name: "use_cudnn"
type: BOOLEAN
}
attrs {
name: "op_role"
type: INT
}
attrs {
name: "op_role_var"
type: STRINGS
}
attrs {
name: "op_namescope"
type: STRING
}
attrs {
name: "op_callstack"
type: STRINGS
}
attrs {
name: "op_device"
type: STRING
}
}
39 changes: 39 additions & 0 deletions paddle/fluid/operators/compat/tanh.pbtxt
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
type: "tanh"
def {
inputs {
name: "X"
}
outputs {
name: "Out"
}
}
extra {
attrs {
name: "use_mkldnn"
type: BOOLEAN
}
attrs {
name: "use_cudnn"
type: BOOLEAN
}
attrs {
name: "op_role"
type: INT
}
attrs {
name: "op_role_var"
type: STRINGS
}
attrs {
name: "op_namescope"
type: STRING
}
attrs {
name: "op_callstack"
type: STRINGS
}
attrs {
name: "op_device"
type: STRING
}
}

0 comments on commit 57bdf32

Please sign in to comment.