mrkn / mxnet.rb

MXNet binding for Ruby
MIT License
48 stars 10 forks source link

Error in Symbol.var spec #19

Closed ljulliar closed 6 years ago

ljulliar commented 6 years ago

I tried to fix the following test Error in symbol but couldn't find the root cause. May be in symbol.c

 1) MXNet::Symbol.var 
     Failure/Error: sym.send :set_attributes, **attr

     TypeError:
       no implicit conversion of Symbol into String
     # ./lib/mxnet/symbol.rb:371:in `set_attributes'
     # ./lib/mxnet/symbol.rb:371:in `var'
     # ./spec/mxnet/symbol_spec.rb:15:in `block (3 levels) in <module:MXNet>'
mrkn commented 6 years ago

@ljulliar Thanks for the reporting. I've fixed this at master branch.