Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cambricon/mlu-ops
/ functions
Functions
4,409 in github.com/Cambricon/mlu-ops
⨍
Functions
4,409
◇
Types & classes
1,080
↓ 13 callers
Method
onlyServeAsInput
test/mlu_op_gtest/pb_gtest/src/executor.cpp:56
↓ 12 callers
Method
asDouble
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3248
↓ 12 callers
Method
failed_test_count
Gets the number of failed tests.
test/mlu_op_gtest/googletest/src/gtest.cc:734
↓ 12 callers
Function
ifNeedTensorStrideProcess
Check if tensor need stride process.
kernels/tensor_stride_process/tensor_stride_process_host.cpp:152
↓ 12 callers
Function
mluOpGetTensordimD
core/tensor.h:408
↓ 12 callers
Method
read
test/mlu_op_gtest/pb_gtest/src/file_reader/file_reader_impl_bin.cpp:80
↓ 12 callers
Method
reportable_test_count
Gets the number of tests to be printed in the XML report.
test/mlu_op_gtest/googletest/src/gtest.cc:749
↓ 12 callers
Method
type
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2932
↓ 11 callers
Function
CountIf
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:275
↓ 11 callers
Function
DeathTestAbort
Routine for aborting the program which is safe to call from an exec-style death test child process, in which case the error message is propagated back
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:267
↓ 11 callers
Function
decodePrefixedString
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2607
↓ 11 callers
Method
end
test/mlu_op_gtest/include/pzstd/Range.h:95
↓ 11 callers
Method
extend
core/tensor.cpp:228
↓ 11 callers
Function
get
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-tuple.h:1070
↓ 11 callers
Method
push
test/mlu_op_gtest/pb_gtest/tests/mlu_op_test.h:289
↓ 11 callers
Function
shapeStrideCount
core/tensor.h:567
↓ 10 callers
Function
GetEnv
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2515
↓ 10 callers
Function
ParseNaturalNumber
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:930
↓ 10 callers
Function
StringStreamToString
Converts the buffer in a stringstream to an std::string, converting NUL bytes to "\\0" along the way.
test/mlu_op_gtest/googletest/src/gtest.cc:1913
↓ 10 callers
Function
computeGenericButterflyLaststageMat
kernels/fft/fft_optm_device/fft_generic_butterfly.h:367
↓ 10 callers
Method
getOffsetLimit
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3957
↓ 10 callers
Method
getOffsetStart
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3955
↓ 10 callers
Function
make_tuple
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-tuple.h:762
↓ 10 callers
Method
set
test/mlu_op_gtest/pb_gtest/src/zoo/nms/nms3D_utils.h:36
↓ 10 callers
Function
sig
test/mlu_op_gtest/pb_gtest/src/zoo/poly_nms/pnms_impl.cpp:38
↓ 10 callers
Function
strideCaseWithNotConsistentDense
kernels/tensor_stride_process/tensor_stride_process_host.cpp:52
↓ 10 callers
Method
test_property_count
Returns the number of the test properties.
test/mlu_op_gtest/googletest/src/gtest.cc:2108
↓ 9 callers
Method
AtEnd
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-param-util-generated.h:6219
↓ 9 callers
Method
BaseGenerator
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-param-util-generated.h:6175
↓ 9 callers
Function
FOpen
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2487
↓ 9 callers
Method
GetTestCase
Gets the i-th test case among all the test cases. i can range from 0 to total_test_case_count() - 1. If i is not in that range, returns NULL.
test/mlu_op_gtest/googletest/src/gtest.cc:4303
↓ 9 callers
Method
GetTestInfo
Returns the i-th test among all the tests. i can range from 0 to total_test_count() - 1. If i is not in that range, returns NULL.
test/mlu_op_gtest/googletest/src/gtest.cc:2612
↓ 9 callers
Function
ParseBoolFlag
Parses a string for a bool flag, in the form of either "--flag=value" or "--flag". In the former case, the value is taken as true as long as it does
test/mlu_op_gtest/googletest/src/gtest.cc:5279
↓ 9 callers
Method
Passed
Returns true iff the unit test passed (i.e. all test cases passed).
test/mlu_op_gtest/googletest/src/gtest.cc:4291
↓ 9 callers
Method
begin
test/mlu_op_gtest/include/pzstd/Range.h:93
↓ 9 callers
Method
compile
based on source contents, create temp file to compile and return compiled object name
test/mlu_op_gtest/tools/linker.py:170
↓ 9 callers
Function
computeGenericButterflyOtherstagesMat
kernels/fft/fft_optm_device/fft_generic_butterfly.h:209
↓ 9 callers
Function
cvtFloatToHalf
ref: sopa/core/src/util/type_converter.cpp
test/mlu_op_gtest/pb_gtest/src/tools.cpp:460
↓ 9 callers
Method
empty
test/mlu_op_gtest/pb_gtest/include/parser.h:93
↓ 9 callers
Method
getComment
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3947
↓ 9 callers
Function
policyFunc
kernels/fft/c2c_fft/c2c_fft_host.cpp:1606
↓ 9 callers
Function
puts_modify
(flag_diff, flag, search_columns_layout, columns_list, layout)
tools/perf_analyse/prototxt_to_excel.py:123
↓ 9 callers
Method
reportable_disabled_test_count
Gets the number of disabled tests that will be reported in the XML report.
test/mlu_op_gtest/googletest/src/gtest.cc:739
↓ 9 callers
Function
throwRuntimeError
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2663
↓ 8 callers
Function
BoolFromGTestEnv
Reads and returns the Boolean environment variable corresponding to the given flag; if it's not set, returns default_value. The value is considered t
test/mlu_op_gtest/googletest/src/gtest-port.cc:1166
↓ 8 callers
Function
GetTimeInMillis
Returns the current time in milliseconds.
test/mlu_op_gtest/googletest/src/gtest.cc:782
↓ 8 callers
Function
HandleExceptionsInMethodIfSupported
test/mlu_op_gtest/googletest/src/gtest.cc:2296
↓ 8 callers
Function
IsSubstringImpl
test/mlu_op_gtest/googletest/src/gtest.cc:1519
↓ 8 callers
Function
PrintCharsAsStringTo
test/mlu_op_gtest/googletest/src/gtest-printers.cc:259
↓ 8 callers
Function
assignPartitionParams
kernels/mutual_information/mutual_information_backward/mutual_information_backward.cpp:532
↓ 8 callers
Function
assignPartitionParams
kernels/mutual_information/mutual_information_forward/mutual_information_forward.cpp:440
↓ 8 callers
Function
computeGenericButterflyFirststageMat
kernels/fft/fft_optm_device/fft_generic_butterfly.h:138
↓ 8 callers
Method
getOnchipDtype
core/tensor.h:126
↓ 8 callers
Method
isArray
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3894
↓ 8 callers
Method
isObject
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3896
↓ 8 callers
Method
parse_args
(self)
tools/perf_analyse/analysis_suite/args_parser/_base_parser.py:23
↓ 8 callers
Function
random
Gets the random number generator.
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:756
↓ 7 callers
Function
ForEach
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:288
↓ 7 callers
Function
FormatFileLocation
Formats a source file path and a line number as they would appear in an error message from the compiler used to compile this code.
test/mlu_op_gtest/googletest/src/gtest-port.cc:870
↓ 7 callers
Function
GTEST_LOCK_EXCLUDED_
test/mlu_op_gtest/googletest/src/gtest.cc:4352
↓ 7 callers
Function
Indent
test/mlu_op_gtest/pb_gtest/src/gtest/mlu_op_test_result_printer.cpp:644
↓ 7 callers
Function
Indent
test/mlu_op_gtest/googletest/src/gtest.cc:3828
↓ 7 callers
Function
ParseStringFlag
test/mlu_op_gtest/googletest/src/gtest.cc:5315
↓ 7 callers
Function
SumOverTestCaseList
Iterates over a vector of TestCases, keeping a running sum of the results of calling a given int-returning method on each. Returns the sum.
test/mlu_op_gtest/googletest/src/gtest.cc:326
↓ 7 callers
Method
UponLeavingGTest
test/mlu_op_gtest/googletest/src/gtest.cc:4078
↓ 7 callers
Method
begin
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-param-util.h:187
↓ 7 callers
Function
calComputingDiags
Calculate computing diagonal number of partition mode for default kernel
kernels/mutual_information/mutual_information_backward/mutual_information_backward.cpp:492
↓ 7 callers
Function
calComputingDiags
Calculate computing diagonal number of partition mode for default kernel
kernels/mutual_information/mutual_information_forward/mutual_information_forward.cpp:400
↓ 7 callers
Method
end
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-param-util.h:188
↓ 7 callers
Function
fftGetTransposeWorkspaceSize
kernels/fft/common/fft_basic_ops.cpp:484
↓ 7 callers
Function
fftTranspose
kernels/fft/common/fft_basic_ops.cpp:519
↓ 7 callers
Method
getInputTensorValue
return value's dtype is according to value type. if value type is value_*, return dtype is dtype in proto. if value type is random, return dtype is fp
test/mlu_op_gtest/pb_gtest/src/parser.cpp:436
↓ 7 callers
Function
getUintEnvVar
core/tool.cpp:432
↓ 7 callers
Function
listeners
Provides access to the event listener list.
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:571
↓ 7 callers
Method
lock
core/tensor.cpp:223
↓ 7 callers
Function
neVersion
(str1, str2)
version_pre_check.py:21
↓ 7 callers
Method
os_stack_trace_getter
Returns the current OS stack trace getter if it is not NULL; otherwise, creates an OsStackTraceGetter, makes it the current getter, and returns it.
test/mlu_op_gtest/googletest/src/gtest.cc:5138
↓ 7 callers
Function
policyMatrixDotVectorFunc
kernels/fft/c2c_fft/c2c_fft_host.cpp:30
↓ 7 callers
Method
unlock
core/tensor.cpp:227
↓ 7 callers
Method
value
Gets the user supplied value.
test/mlu_op_gtest/googletest/include/gtest/gtest.h:519
↓ 7 callers
Function
valueToQuotedStringN
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:4447
↓ 6 callers
Function
Abort
test/mlu_op_gtest/googletest/src/gtest-port.cc:1102
↓ 6 callers
Method
Append
test/mlu_op_gtest/googletest/src/gtest.cc:3161
↓ 6 callers
Function
ChopLowBits
Chops off the n lowest bits from a bit pattern. Returns the n lowest bits. As a side effect, the original bit pattern will be shifted to the right b
test/mlu_op_gtest/googletest/src/gtest.cc:1686
↓ 6 callers
Function
FormatForComparisonFailureMessage
test/mlu_op_gtest/googletest/include/gtest/gtest-printers.h:379
↓ 6 callers
Function
FormatRegexSyntaxError
Helper function used by ValidateRegex() to format error messages.
test/mlu_op_gtest/googletest/src/gtest-port.cc:666
↓ 6 callers
Function
InRange
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2540
↓ 6 callers
Function
IsInSet
Returns true iff ch appears anywhere in str (excluding the terminating '\0' character).
test/mlu_op_gtest/googletest/src/gtest-port.cc:602
↓ 6 callers
Function
IsIntegral
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3764
↓ 6 callers
Function
IsPathSeparator
Returns whether the given character is a valid path separator.
test/mlu_op_gtest/googletest/src/gtest-filepath.cc:88
↓ 6 callers
Function
IsUTF8TrailByte
test/mlu_op_gtest/googletest/src/gtest-printers.cc:369
↓ 6 callers
Method
RemoveFileName
RemoveFileName returns the directory path with the filename removed. Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". If the Fil
test/mlu_op_gtest/googletest/src/gtest-filepath.cc:162
↓ 6 callers
Method
Reset
test/mlu_op_gtest/googletest/src/gtest-port.cc:203
↓ 6 callers
Function
SkipPrefix
If *pstr starts with the given prefix, modifies *pstr to be right past the prefix and returns true; otherwise leaves *pstr unchanged and returns false
test/mlu_op_gtest/googletest/src/gtest.cc:5226
↓ 6 callers
Function
StrDup
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2400
↓ 6 callers
Function
StringFromGTestEnv
Reads and returns the string environment variable corresponding to the given flag; if it's not set, returns default_value.
test/mlu_op_gtest/googletest/src/gtest-port.cc:1220
↓ 6 callers
Method
appendTensor
core/gen_case.cpp:412
↓ 6 callers
Function
area
test/mlu_op_gtest/pb_gtest/src/zoo/poly_nms/pnms_impl.cpp:53
↓ 6 callers
Method
asString
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:3108
↓ 6 callers
Function
cpuBatchNormForwardTraining
test/mlu_op_gtest/pb_gtest/src/zoo/sync_batchnorm_gather_stats_with_counts/sync_batchnorm_gather_stats_with_counts.cpp:181
← previous
next →
101–200 of 4,409, ranked by callers