Turi Create  4.0
turi::neural_net::Completion Class Reference

#include <ml/neural_net/combine_base.hpp>

Public Member Functions

std::exception_ptr failure () const
 

Static Public Member Functions

static Completion Finished ()
 
static Completion Failure (std::exception_ptr e)
 

Detailed Description

Type representing a message from a Publisher to a Subscriber indicating that the Subscriber will no longer receive any further messages.

Definition at line 128 of file combine_base.hpp.

Member Function Documentation

◆ Failure()

static Completion turi::neural_net::Completion::Failure ( std::exception_ptr  e)
inlinestatic

Returns an instance that signals failure, described by the given exception.

Definition at line 137 of file combine_base.hpp.

◆ failure()

std::exception_ptr turi::neural_net::Completion::failure ( ) const
inline

Returns the exception if a failure and a null pointer otherwise.

Definition at line 142 of file combine_base.hpp.

◆ Finished()

static Completion turi::neural_net::Completion::Finished ( )
inlinestatic

Returns an instance that signals successful completion.

Definition at line 131 of file combine_base.hpp.


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