Turi Create  4.0
turi::drawing_classifier::data_iterator::batch Struct Reference

#include <toolkits/drawing_classifier/dc_data_iterator.hpp>

Public Attributes

neural_net::shared_float_array drawings
 
neural_net::shared_float_array targets
 
neural_net::shared_float_array weights
 
neural_net::shared_float_array predictions
 

Detailed Description

Defines the output of a data_iterator.

Definition at line 75 of file dc_data_iterator.hpp.

Member Data Documentation

◆ drawings

neural_net::shared_float_array turi::drawing_classifier::data_iterator::batch::drawings

An array with shape: (requested_batch_size, 28, 28 1)

Each row is an image.

Definition at line 84 of file dc_data_iterator.hpp.

◆ predictions

neural_net::shared_float_array turi::drawing_classifier::data_iterator::batch::predictions

An array with shape: (requested_batch_size, 1)

Each row is the prediction.

Definition at line 105 of file dc_data_iterator.hpp.

◆ targets

neural_net::shared_float_array turi::drawing_classifier::data_iterator::batch::targets

An array with shape: (requested_batch_size, 1)

Each row is the target.

Definition at line 91 of file dc_data_iterator.hpp.

◆ weights

neural_net::shared_float_array turi::drawing_classifier::data_iterator::batch::weights

An array with shape: (requested_batch_size, 1)

Each row is the weight associated with the target.

Definition at line 98 of file dc_data_iterator.hpp.


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