Lines Matching full:if
51 if not (type_size == 1 or type_size == 2 or type_size == 4):
58 if count % type_size == 0:
70 if schema is None:
76 if process.returncode != 0:
101 if op_name == "SOFTMAX":
106 if not self.is_int16xint8:
134 if op_name == "FULLY_CONNECTED":
138 if op_name == "DEPTHWISE_CONV_2D":
145 if layer_name == "AVERAGE_POOL_2D":
162 if len(input_shape) == 4:
163 if len(output_shape) == 2:
182 if 'opcode_index' in op:
188 if 'builtin_options' in op:
190 if 'stride_w' in builtin_options:
192 if 'stride_h' in builtin_options:
194 if 'padding' in builtin_options:
202 if builtin_name not in self.supported_ops:
219 if builtin_name == "CONV_2D" or builtin_name == "DEPTHWISE_CONV_2D" \
246 if builtin_name == "SOFTMAX":
253 if builtin_name == "CONV_2D" or builtin_name == "DEPTHWISE_CONV_2D" \
258 if builtin_name == "FULLY_CONNECTED":
286 if len(input_details) != 1:
304 if __name__ == '__main__':
305 …parser = argparse.ArgumentParser(description="Extract operator data from given model if operator i…
311 … help="Descriptive model name. If left out it will be inferred from actual model.")
318 if args.model_name: