Apache SINGA
A distributed deep learning platform .
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros
Public Member Functions | Static Public Member Functions | Static Public Attributes | Friends | List of all members
singa::SingleLabelImageRecord Class Reference
Inheritance diagram for singa::SingleLabelImageRecord:

Public Member Functions

 SingleLabelImageRecord (const SingleLabelImageRecord &from)
 
SingleLabelImageRecordoperator= (const SingleLabelImageRecord &from)
 
const
::google::protobuf::UnknownFieldSet & 
unknown_fields () const
 
inline::google::protobuf::UnknownFieldSet * mutable_unknown_fields ()
 
void Swap (SingleLabelImageRecord *other)
 
SingleLabelImageRecordNew () const
 
void CopyFrom (const ::google::protobuf::Message &from)
 
void MergeFrom (const ::google::protobuf::Message &from)
 
void CopyFrom (const SingleLabelImageRecord &from)
 
void MergeFrom (const SingleLabelImageRecord &from)
 
void Clear ()
 
bool IsInitialized () const
 
int ByteSize () const
 
bool MergePartialFromCodedStream (::google::protobuf::io::CodedInputStream *input)
 
void SerializeWithCachedSizes (::google::protobuf::io::CodedOutputStream *output) const
 
::google::protobuf::uint8 * SerializeWithCachedSizesToArray (::google::protobuf::uint8 *output) const
 
int GetCachedSize () const
 
::google::protobuf::Metadata GetMetadata () const
 
int shape_size () const
 
void clear_shape ()
 
inline::google::protobuf::int32 shape (int index) const
 
void set_shape (int index,::google::protobuf::int32 value)
 
void add_shape (::google::protobuf::int32 value)
 
const
::google::protobuf::RepeatedField
< ::google::protobuf::int32 > & 
shape () const
 
inline::google::protobuf::RepeatedField
< ::google::protobuf::int32 > * 
mutable_shape ()
 
bool has_label () const
 
void clear_label ()
 
inline::google::protobuf::int32 label () const
 
void set_label (::google::protobuf::int32 value)
 
bool has_pixel () const
 
void clear_pixel ()
 
const ::std::string & pixel () const
 
void set_pixel (const ::std::string &value)
 
void set_pixel (const char *value)
 
void set_pixel (const void *value, size_t size)
 
inline::std::string * mutable_pixel ()
 
inline::std::string * release_pixel ()
 
void set_allocated_pixel (::std::string *pixel)
 
int data_size () const
 
void clear_data ()
 
float data (int index) const
 
void set_data (int index, float value)
 
void add_data (float value)
 
const
::google::protobuf::RepeatedField
< float > & 
data () const
 
inline::google::protobuf::RepeatedField
< float > * 
mutable_data ()
 

Static Public Member Functions

static const
::google::protobuf::Descriptor * 
descriptor ()
 
static const
SingleLabelImageRecord
default_instance ()
 

Static Public Attributes

static const int kShapeFieldNumber = 1
 
static const int kLabelFieldNumber = 2
 
static const int kPixelFieldNumber = 3
 
static const int kDataFieldNumber = 4
 

Friends

void protobuf_AddDesc_model_2eproto ()
 
void protobuf_AssignDesc_model_2eproto ()
 
void protobuf_ShutdownFile_model_2eproto ()
 

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