MCPcopy
hub / github.com/dmlc/dgl / max

Function max

python/dgl/backend/backend.py:481–496  ·  view source on GitHub ↗

Reduce max the input tensor along the given dim. Parameters ---------- input : Tensor The input tensor. dim : int The reduce dim. Returns ------- Tensor A framework-specific tensor.

(input, dim)

Source from the content-addressed store, hash-verified

479
480
481def max(input, dim):
482 """Reduce max the input tensor along the given dim.
483
484 Parameters
485 ----------
486 input : Tensor
487 The input tensor.
488 dim : int
489 The reduce dim.
490
491 Returns
492 -------
493 Tensor
494 A framework-specific tensor.
495 """
496 pass
497
498
499def reduce_max(input):

Callers 15

mergeFunction · 0.50
_topk_onFunction · 0.50
from_scipy_sparse_matrixFunction · 0.50
from_edge_listFunction · 0.50
infer_broadcast_shapeFunction · 0.50
linkx_homophilyFunction · 0.50
add_edgesMethod · 0.50
graphFunction · 0.50
heterographFunction · 0.50
create_blockFunction · 0.50
reshape_lhs_rhsFunction · 0.50
reshape_lhs_rhsFunction · 0.50

Calls

no outgoing calls

Tested by 2

ranklist_by_heapqFunction · 0.40
ranklist_by_sortedFunction · 0.40