MCPcopy Create free account
hub / github.com/pytorch/pytorch / size_hint

Method size_hint

torch/_inductor/codegen/cpp.py:1409–1412  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1407 )
1408
1409 def size_hint(self):
1410 return V.graph.sizevars.size_hint(
1411 sympy_product(self.call_ranges), fallback=8192
1412 )
1413
1414 def codegen_loops_impl(self, loop_nest, code, worksharing):
1415 threads = parallel_num_threads()

Callers 15

decide_parallel_depthMethod · 0.95
make_benchmark_fnMethod · 0.45
key_ofMethod · 0.45
expandFunction · 0.45
repeatFunction · 0.45
unfoldFunction · 0.45
is_alignedFunction · 0.45
is_aligned_backwardFunction · 0.45
copy_stridedFunction · 0.45
pooling_sizeFunction · 0.45
get_buf_elemsMethod · 0.45

Calls 1

sympy_productFunction · 0.85

Tested by

no test coverage detected