MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / max

Method max

imperative/python/megengine/xla/rules/hlotensor.py:186–189  ·  view source on GitHub ↗
(self, axis, keepdims=False)

Source from the content-addressed store, hash-verified

184 return prod(self, axis, keepdims)
185
186 def max(self, axis, keepdims=False):
187 from .reduction import max
188
189 return max(self, axis, keepdims)
190
191 def min(self, axis, keepdims=False):
192 from .reduction import min

Callers 15

checkFunction · 0.45
benchmark_op.pyFile · 0.45
_max_endMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
forwardMethod · 0.45
sideeffect_forwardMethod · 0.45
_apply_boxesMethod · 0.45
_make_feedMethod · 0.45
softmaxFunction · 0.45
_expand_labelFunction · 0.45

Calls 1

maxFunction · 0.85

Tested by 12

test_exponential_opFunction · 0.36
test_min_max_observerFunction · 0.36
test_histogram_observerFunction · 0.36
forwardMethod · 0.36
test_maxFunction · 0.36
as_tensorFunction · 0.36
funcFunction · 0.36
ctc_nll_naive_npyFunction · 0.36
test_maxFunction · 0.36