25 """Set inputs for each index"""
27 input_tensorinfo = self.input_tensorinfo(i)
29 if len(inputs_array) > i:
30 input_array = np.array(inputs_array[i], dtype=input_tensorinfo.dtype)
33 f
"model's input size is {size} but given inputs_array size is {len(inputs_array)}.\n{i}-th index input is replaced by an array filled with 0."
35 input_array = np.zeros((
num_elems(input_tensorinfo)),
36 dtype=input_tensorinfo.dtype)
38 self.set_input(i, input_array)
39 self.
inputs.append(input_array)