Module: CNTK::InspectUtil

Included in:
Axis, MinibatchData, StdUMapStreamInfoMinibatchData, StreamInformation, Value
Defined in:
lib/cntk/inspect.rb

Instance Method Summary collapse

Instance Method Details

#inspect_methods(mthds) ⇒ Object



7
8
9
10
# File 'lib/cntk/inspect.rb', line 7

def inspect_methods(mthds)
  s = inspect_methods_p(mthds)
  "#<#{self.class} #{s}>"
end

#inspect_methods_p(mthds) ⇒ Object



3
4
5
# File 'lib/cntk/inspect.rb', line 3

def inspect_methods_p(mthds)
  mthds.map{|mth| "#{mth}=" + send(mth).inspect }.join(", ")
end