fix code style

enforce_failed
qijun 8 years ago
parent 15627e48d8
commit c0192889cc

@ -8,7 +8,8 @@ class TestCrossEntropy(OpTest):
self.op_type = "onehot_cross_entropy"
batch_size = 30
class_num = 10
X = numpy.random.uniform(0.1, 1.0, [batch_size, class_num]).astype("float32")
X = numpy.random.uniform(0.1, 1.0,
[batch_size, class_num]).astype("float32")
label = (class_num / 2) * numpy.ones(batch_size).astype("int32")
self.inputs = {'X': X, 'label': label}
Y = []

Loading…
Cancel
Save