Searched refs:is_contiguous_for_memory_format (Results 1 – 3 of 3) sorted by relevance
405 from torch._prims_common import is_contiguous_for_memory_format421 return is_contiguous_for_memory_format(inp._values, **new_kwargs)
310 def is_contiguous_for_memory_format( # type: ignore[return] function
1991 or utils.is_contiguous_for_memory_format(a, memory_format=memory_format)2946 if utils.is_contiguous_for_memory_format(a, memory_format=memory_format):