message: extend strict_model for checker
diff: @@ -92,9 +92,11 @@ def check_sparse_tensor(sparse, ctx=DEFAULT_CONTEXT): # type: (SparseTensorProt
  def check_model(model, full_check=False): # type: (Union[ModelProto, Text], bool) -> None
  + # If model is a path instead of ModelProto
  if isinstance(model, string_types):
  C.check_model_path(model)
  - m = onnx.load(model)
  + if full_check:
  + onnx.shape_inference.infer_shapes_path(model, check_type=True, strict_mode=True)
  else:
  # If the protobuf is larger than 2GB,
  # remind users should use the model path to check
  @@ -102,9 +104,8 @@ def check_model(model, full_check=False): # type: (Union[ModelProto, Text], boo
  if sys.getsizeof(protobuf_string) > MAXIMUM_PROTOBUF:
  raise ValueError('This protobuf of onnx model is too large (>2GB). Call check_model with model path instead.')
  C.check_model(protobuf_string)
  - m = model
  if full_check:
  - onnx.shape_inference.infer_shapes(m, check_type=True)
  + onnx.shape_inference.infer_shapes(model, check_type=True, strict_mode=True)
  ValidationError = C.ValidationError
  