Turi Create
4.0
mldata_exporter.hpp
1
/* Copyright © 2017 Apple Inc. All rights reserved.
2
*
3
* Use of this source code is governed by a BSD-3-clause license that can
4
* be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5
*/
6
#ifndef COREML_MLDATA_EXPORTER_HPP
7
#define COREML_MLDATA_EXPORTER_HPP
8
9
#include <toolkits/coreml_export/mlmodel_include.hpp>
10
#include <ml/ml_data/metadata.hpp>
11
12
namespace
turi
{
13
14
/**
15
* Initiates a pipeline from an MLData metadata object so that it takes the input
16
* in the form of the input from the mldata, then outputs it as a final
17
* vector named __vectorized_features__ that can then be used by other algorithms.
18
* The pipeline is returned. The input variables of the pipeline are the same
19
* as those given in the ml_data metadata object. The classifier or regressor
20
* needs to be added to the pipeline, along with the appropriate output variables.
21
*
22
*/
23
void
setup_pipeline_from_mldata
(
24
CoreML::Pipeline& pipeline,
25
std::shared_ptr<ml_metadata> metadata);
26
27
}
28
29
#endif
turi::setup_pipeline_from_mldata
void setup_pipeline_from_mldata(CoreML::Pipeline &pipeline, std::shared_ptr< ml_metadata > metadata)
turi
SKD.
Definition:
capi_initialization.hpp:11
toolkits
coreml_export
mldata_exporter.hpp
Generated by
1.8.13