| 22 | } |
| 23 | |
| 24 | static void setupMultiArrayFeature(Specification::FeatureDescription *feature, const std::string& name) { |
| 25 | feature->set_name(name); |
| 26 | feature->mutable_type()->mutable_multiarraytype()->set_datatype(::CoreML::Specification::ArrayFeatureType_ArrayDataType_FLOAT32); |
| 27 | feature->mutable_type()->mutable_multiarraytype()->add_shape(1); |
| 28 | } |
| 29 | |
| 30 | static void setupStateFeature(Specification::FeatureDescription *feature, const std::string& name) { |
| 31 | feature->set_name(name); |
no test coverage detected