def _check_array(self, value, string): self.assertEqual(basic_math._convert_value_to_string(value), string) value = chainer.Variable(value) self.assertEqual(basic_math._convert_value_to_string(value), string)
def _check_array(self, value, string): self.assertEqual(basic_math._convert_value_to_string(value), string) value = chainer.Variable(value) self.assertEqual(basic_math._convert_value_to_string(value), string)
def _check_scalar(self, value, string): self.assertEqual(basic_math._convert_value_to_string(value), string)
def _check_scalar(self, value, string): self.assertEqual(basic_math._convert_value_to_string(value), string)