Browse Source

support float32

tags/v0.3.0-alpha
jiangjinsheng 5 years ago
parent
commit
eab0fe4e8d
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      mindspore/ops/_op_impl/tbe/batch_to_space.py
  2. +1
    -0
      mindspore/ops/_op_impl/tbe/space_to_batch.py

+ 1
- 0
mindspore/ops/_op_impl/tbe/batch_to_space.py View File

@@ -28,6 +28,7 @@ batch_to_space_op_info = TBERegOp("BatchToSpace") \
.input(0, "x", False, "required", "all") \
.output(0, "y", False, "required", "all") \
.dtype_format(DataType.F16_5HD, DataType.F16_5HD) \
.dtype_format(DataType.F32_5HD, DataType.F32_5HD) \
.get_op_info()




+ 1
- 0
mindspore/ops/_op_impl/tbe/space_to_batch.py View File

@@ -28,6 +28,7 @@ space_to_batch_op_info = TBERegOp("SpaceToBatch") \
.input(0, "x", False, "required", "all") \
.output(0, "y", False, "required", "all") \
.dtype_format(DataType.F16_5HD, DataType.F16_5HD) \
.dtype_format(DataType.F32_5HD, DataType.F32_5HD) \
.get_op_info()




Loading…
Cancel
Save