Browse Source

!12994 [MS][LITE][STABLE]sync ops.fbs

From: @jpc_chenjianping
Reviewed-by: @zhang_xue_tong,@zhanghaibo5
Signed-off-by: @zhang_xue_tong
tags/v1.2.0-rc1
mindspore-ci-bot Gitee 4 years ago
parent
commit
41313c29b5
2 changed files with 15 additions and 18 deletions
  1. +14
    -17
      mindspore/lite/schema/ops.fbs
  2. +1
    -1
      mindspore/lite/src/ops/ops_def.cc

+ 14
- 17
mindspore/lite/schema/ops.fbs View File

@@ -1033,28 +1033,24 @@ table Size {
} }


table RandomStandardNormal { table RandomStandardNormal {
seed : int;
seed2 : int;
seed: long;
seed2: long;
} }


table CropAndResize { table CropAndResize {
method : ResizeMethod;
extrapolation_value : float;
method: ResizeMethod;
extrapolation_value: float;
} }


table StridedSliceGrad {
begin_mask: int;
end_mask: int;
ellipsis_mask: int;
new_axis_mask: int;
shrink_axis_mask: int;
begin: [int];
end: [int];
stride: [int];
isScale: [int];
table Erf {
} }


table Erf {
table StridedSliceGrad {
begin_mask: long;
end_mask: long;
ellipsis_mask: long;
new_axis_mask: long;
shrink_axis_mask: long;
} }


table IsFinite { table IsFinite {
@@ -1064,8 +1060,9 @@ table LinSpace {
} }


table UniformReal { table UniformReal {
seed : int;
seed2 : int;
seed: long;
seed2: long;
} }

table AbsGrad { table AbsGrad {
} }

+ 1
- 1
mindspore/lite/src/ops/ops_def.cc View File

@@ -188,7 +188,7 @@ OP_TYPE(Where)
OP_TYPE(ZerosLike) OP_TYPE(ZerosLike)
OP_TYPE(Select) OP_TYPE(Select)
OP_TYPE(If) OP_TYPE(If)
OP_TYPE(Gru)
OP_TYPE(GRU)
OP_TYPE(NonZero) OP_TYPE(NonZero)
OP_TYPE(InvertPermutation) OP_TYPE(InvertPermutation)
OP_TYPE(Size) OP_TYPE(Size)


Loading…
Cancel
Save