(feature)
| 1023 | """ |
| 1024 | |
| 1025 | def _convert_to_float(feature): |
| 1026 | if feature.type.HasField("multiArrayType"): |
| 1027 | if feature.type.multiArrayType.dataType == _proto.Model_pb2.ArrayFeatureType.DOUBLE: |
| 1028 | feature.type.multiArrayType.dataType = _proto.Model_pb2.ArrayFeatureType.FLOAT32 |
| 1029 | |
| 1030 | for feature in spec.description.input: |
| 1031 | _convert_to_float(feature) |
no test coverage detected