def disable_all_checks():
  """Disables all checks (both static and dynamic) by TensorContracts."""
  global _all_disabled
  _all_disabled = True
Disables all checks (both static and dynamic) by TensorContracts.
language/canine/tensor_contracts.py