Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/InfiniTensor/InfiniTensor
/ functions
Functions
2,429 in github.com/InfiniTensor/InfiniTensor
⨍
Functions
2,429
◇
Types & classes
632
↓ 1 callers
Function
allReduceSum
test/bang/test_cncl_comm.cc:10
↓ 1 callers
Method
allocWeight
src/core/lazy_allocator.cc:111
↓ 1 callers
Method
attentionKVCache
src/core/graph_handler.cc:378
↓ 1 callers
Method
batchNormalization
src/core/graph_handler.cc:103
↓ 1 callers
Function
bitPosition
src/nnet/Pass/Rule8GuidedDLT.cc:15
↓ 1 callers
Function
broadcast
test/kernels/bang/test_bang_broadcast.cc:16
↓ 1 callers
Method
broadcast
src/core/graph_handler.cc:568
↓ 1 callers
Function
buildAnsNegNeg
L<x:0:2><y:0:4>Sum ... [(((-1 * x) + (-2 * y)) + 7)] {L<i1:0:8>Sum<t1:0:5> {({A}[i1] * {B}[t1])}}
test/nnet/test_Rule2VariableMerging.cc:102
↓ 1 callers
Function
buildAnsPosNeg
L<x:0:2><y:0:4>Sum ... [((x + (-2 * y)) + 6)] {L<i1:0:8>Sum<t1:0:5> {({A}[i1] * {B}[t1])}}}
test/nnet/test_Rule2VariableMerging.cc:68
↓ 1 callers
Function
buildAnsPosPos
L<x:0:2><y:0:4>Sum ... [(x + (2 * y))] {L<i3:0:8>Sum<t1:0:5> {({A}[i3] * {B}[t1])}}
test/nnet/test_Rule2VariableMerging.cc:13
↓ 1 callers
Function
buildConv
test/nnet/test_compareFormulas.cc:9
↓ 1 callers
Method
buildExpr
src/nnet/iterator_table.cc:269
↓ 1 callers
Function
buildNestedExpr
test/nnet/test_serializer.cc:30
↓ 1 callers
Function
buildSimpleExpr
test/nnet/test_serializer.cc:14
↓ 1 callers
Function
buildTConv4x4_NHWF_FRSC
Warn: F is the number of input channels, which is inversed compared with normal Conv. Our data layout: NHWF -> NHWC, FRSC Pytorch data layout: NFHW ->
test/nnet/test_TConv2gemm.cc:182
↓ 1 callers
Function
buildTConv4x4_NHWF_RSFC
Warn: F is the number of input channels, which is inversed compared with normal Conv. Our data layout: NHWF -> NHWC, RSFC Pytorch data layout: NFHW ->
test/nnet/test_OpSearch.cc:98
↓ 1 callers
Method
cast
src/core/graph_handler.cc:611
↓ 1 callers
Method
change_shape
src/core/graph_handler.cc:793
↓ 1 callers
Function
checkExprsEquvivalence
src/nnet/test.cc:64
↓ 1 callers
Method
checkOOB
src/nnet/derivator.cc:416
↓ 1 callers
Function
checkShape
src/operators/gather_elements.cc:13
↓ 1 callers
Method
checkValid
tensor's "source" and "target" must be in "ops". tensor has no "source" and no "target" must not exist. "inputs" or "outputs" of operators must be in
src/core/graph.cc:354
↓ 1 callers
Method
clip
src/core/graph_handler.cc:260
↓ 1 callers
Method
cloneKV
src/core/graph.cc:270
↓ 1 callers
Method
cloneOperator
include/core/graph.h:49
↓ 1 callers
Method
compute
src/kernels/cuda/conv.cc:170
↓ 1 callers
Method
compute
src/kernels/cuda/element_wise.cc:13
↓ 1 callers
Method
compute
include/core/kernel.h:171
↓ 1 callers
Function
computeDifference1
src/utils/validation.cc:11
↓ 1 callers
Function
computeDifference3
src/utils/validation.cc:28
↓ 1 callers
Function
computeDifference4
src/utils/validation.cc:38
↓ 1 callers
Function
computeDifference5
src/utils/validation.cc:48
↓ 1 callers
Method
concat
src/core/graph_handler.cc:369
↓ 1 callers
Method
copyBlob
src/core/runtime.cc:131
↓ 1 callers
Method
copyBlobFromCPU
include/cuda/cuda_runtime.h:71
↓ 1 callers
Method
copyData
include/core/tensor.h:114
↓ 1 callers
Method
copyout
include/core/tensor.h:85
↓ 1 callers
Function
cuDataType2ComputeType
src/kernels/cuda/matmul.cc:37
↓ 1 callers
Function
decimalToBinary
include/nnet/dbg.h:531
↓ 1 callers
Method
deleteConnection
src/core/graph.cc:318
↓ 1 callers
Method
depthToSpace
src/core/graph_handler.cc:648
↓ 1 callers
Function
device_to_str
src/utils/operator_utils.cc:94
↓ 1 callers
Function
dtype_repr_convert
src/core/graph_handler.cc:756
↓ 1 callers
Method
elu
src/core/graph_handler.cc:40
↓ 1 callers
Method
expand
src/core/graph_handler.cc:623
↓ 1 callers
Function
export_functions
src/ffi/ffi_infinitensor.cc:349
↓ 1 callers
Function
export_onnx
(model: LlamaModel, ONNX_MODEL_PATH)
examples/python/llama_kvcache_inference.py:26
↓ 1 callers
Function
export_onnx
(model_name, model, data, path, extern=False)
examples/distributed/kunlun/run_pytorch.py:111
↓ 1 callers
Function
export_onnx
(modelname, model, data, path, extern=False, dtype="fp32")
examples/distributed/bang/run_pytorch_mlu.py:101
↓ 1 callers
Function
export_onnx
(model, data, path, extern=False)
examples/distributed/cuda/run_pytorch.py:89
↓ 1 callers
Function
export_values
src/ffi/ffi_infinitensor.cc:65
↓ 1 callers
Function
find_successor
(op_type: str, idx: int, search_limit: int = 1)
examples/distributed/parallel_opt.py:159
↓ 1 callers
Function
fp16_to_float
src/utils/data_convert.cc:18
↓ 1 callers
Method
freeHeap
src/core/graph.cc:289
↓ 1 callers
Function
from_json
src/core/perf_engine.cc:28
↓ 1 callers
Method
gather
src/core/graph_handler.cc:436
↓ 1 callers
Method
gatherElements
src/core/graph_handler.cc:450
↓ 1 callers
Function
gen_standard
(task_name: str, model: onnx.ModelProto)
examples/distributed/kunlun/kunlun_launch.py:206
↓ 1 callers
Function
gen_standard
(name, model1, model2, voc_size, bs, len)
examples/distributed/cuda/launch_kvcache.py:195
↓ 1 callers
Function
gen_standard
(name, model, voc_size, bs, len)
examples/distributed/cuda/cuda_launch.py:109
↓ 1 callers
Function
generate_input_output
(model)
examples/distributed/bang/bang_launch.py:114
↓ 1 callers
Method
get
include/core/data_type.h:64
↓ 1 callers
Method
getB
include/operators/G2BMM.h:48
↓ 1 callers
Method
getBMKWD
include/operators/G2BMM.h:51
↓ 1 callers
Method
getBMWND
include/operators/GBMM.h:49
↓ 1 callers
Method
getBias
include/operators/GBMM.h:42
↓ 1 callers
Method
getBlockSize
include/operators/transpose.h:33
↓ 1 callers
Function
getCuComputeType
src/kernels/cuda/matmul.cc:51
↓ 1 callers
Method
getData
src/nnet/expr.cc:62
↓ 1 callers
Function
getDiff
(base, test)
examples/distributed/ascend_launch.py:144
↓ 1 callers
Method
getDilation
include/operators/G2BMM.h:44
↓ 1 callers
Method
getDilation
include/operators/GBMM.h:41
↓ 1 callers
Function
getFormat
A helper function that converts DataType to python format string
src/ffi/ffi_infinitensor.cc:398
↓ 1 callers
Method
getFormulaStride
include/nnet/Visitor/StrideVisitor.h:19
↓ 1 callers
Method
getHeapPtr
src/core/lazy_allocator.cc:202
↓ 1 callers
Method
getIterDimInTensor
src/nnet/iterator_table.cc:98
↓ 1 callers
Method
getKh
include/operators/pooling.h:49
↓ 1 callers
Method
getKw
include/operators/pooling.h:50
↓ 1 callers
Function
getLength
include/nnet/expr.h:204
↓ 1 callers
Method
getLogMode
src/nnet/derivator.cc:529
↓ 1 callers
Method
getM
include/operators/G2BMM.h:49
↓ 1 callers
Method
getMemPoolStatus
src/core/lazy_allocator.cc:59
↓ 1 callers
Method
getModeString
include/operators/transpose.h:35
↓ 1 callers
Method
getNumIntermediateStates
src/nnet/derivator.cc:143
↓ 1 callers
Method
getNumRows
include/nnet/iterator_table.h:86
↓ 1 callers
Method
getObjectRangesWithoutPaddings
src/nnet/expr.cc:171
↓ 1 callers
Method
getOutputDataType
src/operators/unary.cc:184
↓ 1 callers
Function
getPReluExpr
test/nnet/test_memboundOp.cc:99
↓ 1 callers
Function
getPatternName
src/nnet/iterator_table.cc:513
↓ 1 callers
Function
getProjectHome
src/nnet/test.cc:9
↓ 1 callers
Method
getReduction
include/operators/element_wise.h:43
↓ 1 callers
Method
getResult
include/nnet/Visitor/MatchTableVisitor.h:55
↓ 1 callers
Method
getReverseMap
src/nnet/iterator_table.cc:256
↓ 1 callers
Method
getScale
src/kernels/bang/activation.cc:14
↓ 1 callers
Method
getSimplifiedNnetExpr
include/operators/membound.h:30
↓ 1 callers
Method
getTrainingMode
include/operators/dropout.h:46
↓ 1 callers
Method
getW
include/operators/GBMM.h:47
↓ 1 callers
Method
getWeightPtr
src/core/lazy_allocator.cc:186
↓ 1 callers
Method
getWidth
include/operators/G2BMM.h:43
↓ 1 callers
Method
getWorkspace
Get $size workspace by bytes
include/kunlun/kunlun_runtime.h:52
← previous
next →
401–500 of 2,429, ranked by callers