support float32

This commit is contained in:
jiangjinsheng 2020-05-07 17:13:16 +08:00
parent a945299e42
commit eab0fe4e8d
2 changed files with 2 additions and 0 deletions

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()

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()