Turi Create
4.0
|
#include <ml/neural_net/model_spec.hpp>
Public Member Functions | |
const CoreML::Specification::Pipeline & | get_coreml_spec () const |
std::unique_ptr< CoreML::Specification::Pipeline > | move_coreml_spec () && |
Simple wrapper around CoreML::Specification::Pipeline that allows client code to pass around instances without importing full protobuf headers.
Definition at line 567 of file model_spec.hpp.
|
inline |
Exposes the underlying CoreML proto.
Definition at line 582 of file model_spec.hpp.
std::unique_ptr<CoreML::Specification::Pipeline> turi::neural_net::pipeline_spec::move_coreml_spec | ( | ) | && |
Transfer ownership of the underlying CoreML proto, invalidating the current instance (leaving it in a "moved-from" state).
(Note that this method may only be invoked from a pipeline_spec&&)