Class: Datasets::CIFAR::Record100

Inherits:
Struct
  • Object
show all
Includes:
Pixelable
Defined in:
lib/datasets/cifar.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Pixelable

#pixels, #to_h

Instance Attribute Details

#coarse_labelObject

Returns the value of attribute coarse_label

Returns:

  • (Object)

    the current value of coarse_label



24
25
26
# File 'lib/datasets/cifar.rb', line 24

def coarse_label
  @coarse_label
end

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



24
25
26
# File 'lib/datasets/cifar.rb', line 24

def data
  @data
end

#fine_labelObject

Returns the value of attribute fine_label

Returns:

  • (Object)

    the current value of fine_label



24
25
26
# File 'lib/datasets/cifar.rb', line 24

def fine_label
  @fine_label
end