Turi Create  4.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
turi::neural_net::pipeline_spec Class Reference

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

Detailed Description

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.

Member Function Documentation

◆ get_coreml_spec()

const CoreML::Specification::Pipeline& turi::neural_net::pipeline_spec::get_coreml_spec ( ) const
inline

Exposes the underlying CoreML proto.

Definition at line 582 of file model_spec.hpp.

◆ move_coreml_spec()

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


The documentation for this class was generated from the following file: