Class: Chainer::CpuDevice

Inherits:
AbstractDevice show all
Defined in:
lib/chainer/device.rb

Instance Method Summary collapse

Methods inherited from AbstractDevice

#use

Instance Method Details

#==(other) ⇒ Object



55
56
57
58
# File 'lib/chainer/device.rb', line 55

def ==(other)
  return false unless other.is_a?(CpuDevice)
  true
end

#xmObject



51
52
53
# File 'lib/chainer/device.rb', line 51

def xm
  Numo
end