random_sample, used in generating fp32 radom numbers, accepts only 1 parameter.
It fixes the python runtime error for this case.
Signed-off-by: Sanggyu Lee <sg5.lee@samsung.com>
np.array(np.random.randint(0, 255, this_shape, this_dtype)))
elif input_dtypes[idx] == np.float32:
input_values.append(
- np.array(np.random.random_sample(this_shape, this_dtype)))
+ np.array(np.random.random_sample(this_shape), this_dtype))
interpreter.set_tensor(input_details[idx]['index'], input_values[idx])
# get output values by running