Searched refs:torch_function_enabled (Results 1 – 7 of 7) sorted by relevance
13 bool torch_function_enabled() { in torch_function_enabled() function60 if (torch::torch_function_enabled()) { in THPModule_isEnabledTorchFunction()322 torch::torch_function_enabled() && has_torch_function_attr(obj)); in check_has_torch_function()
11 bool torch_function_enabled();
234 return tx.output.torch_function_enabled and any(327 if tx.output.torch_function_enabled and hasattr(torch.Tensor, name):366 if tx.output.torch_function_enabled:
621 initial_values=[tx.output.torch_function_enabled],
480 return ConstantVariable.create(tx.output.torch_function_enabled)
367 self.torch_function_enabled = torch._C._is_torch_function_enabled()616 self.torch_function_enabled,1700 self.torch_function_enabled = enabled
516 _torch_function = torch::torch_function_enabled(); in init()530 _torch_function == torch::torch_function_enabled() && in check()548 if (_torch_function != torch::torch_function_enabled()) in reason()