chainer / chainer-chemistry

Chainer Chemistry: A Library for Deep Learning in Biology and Chemistry
MIT License
629 stars 131 forks source link

Use as_variable instead of isinstance #397

Closed ktns closed 5 years ago

ktns commented 5 years ago

I think chainer.as_variable is better choice here because it throws a descriptive error if x cannot be treated as an array.

mottodora commented 5 years ago

/test

pfn-ci-bot commented 5 years ago

Successfully created a job for commit 4097031: