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
↓ 3 callers
Function
FormatTimeInMillisAsDuration
Formats the given time in milliseconds as seconds.
test/mlu_op_gtest/pb_gtest/src/gtest/mlu_op_test_result_printer.cpp:620
↓ 3 callers
Function
FormatTimeInMillisAsDuration
Formats the given time in milliseconds as seconds.
test/mlu_op_gtest/googletest/src/gtest.cc:3807
↓ 3 callers
Function
FormatTimeInMillisAsSeconds
Formats the given time in milliseconds as seconds.
test/mlu_op_gtest/pb_gtest/src/gtest/mlu_op_test_result_printer.cpp:283
↓ 3 callers
Function
FormatTimeInMillisAsSeconds
Formats the given time in milliseconds as seconds.
test/mlu_op_gtest/googletest/src/gtest.cc:3418
↓ 3 callers
Function
GetPrefixUntilComma
Returns the prefix of 'str' before the first comma in it; returns the entire string if it contains no comma.
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-internal.h:580
↓ 3 callers
Function
GetReservedAttributesForElement
test/mlu_op_gtest/pb_gtest/src/gtest/mlu_op_test_result_printer.cpp:156
↓ 3 callers
Method
GetTestPartResultReporterForCurrentThread
Returns the test part result reporter for the current thread.
test/mlu_op_gtest/googletest/src/gtest.cc:697
↓ 3 callers
Function
GetTestTypeId
Returns the type ID of ::testing::Test. We should always call this instead of GetTypeId< ::testing::Test>() to get the type ID of testing::Test. Thi
test/mlu_op_gtest/googletest/src/gtest.cc:607
↓ 3 callers
Function
InitGoogleTest
Initializes Google Test. This must be called before calling RUN_ALL_TESTS(). In particular, it parses a command line for the flags that Google Test
test/mlu_op_gtest/googletest/src/gtest.cc:5693
↓ 3 callers
Function
Int32FromGTestEnv
Reads and returns a 32-bit integer stored in the environment variable corresponding to the given flag; if it isn't set or doesn't represent a valid 32
test/mlu_op_gtest/googletest/src/gtest-port.cc:1179
↓ 3 callers
Function
MatchRegexAtHead
Returns true iff regex matches a prefix of str. regex must be a valid simple regular expression and not start with "^", or the result is undefined.
test/mlu_op_gtest/googletest/src/gtest-port.cc:762
↓ 3 callers
Function
ParseFlagValue
Parses a string as a command line flag. The string should have the format "--flag=value". When def_optional is true, the "=value" part can be omitte
test/mlu_op_gtest/googletest/src/gtest.cc:5240
↓ 3 callers
Function
ParseInt32
Parses 'str' for a 32-bit signed integer. If successful, writes the result to *value and returns true; otherwise leaves *value unchanged and returns
test/mlu_op_gtest/googletest/src/gtest-port.cc:1126
↓ 3 callers
Function
ParseInt32Flag
Parses a string for an Int32 flag, in the form of "--flag=value". On success, stores the value of the flag in *value, and returns true. On failure,
test/mlu_op_gtest/googletest/src/gtest.cc:5297
↓ 3 callers
Function
PrintByteSegmentInObjectTo
Prints a segment of bytes in the given object.
test/mlu_op_gtest/googletest/src/gtest-printers.cc:61
↓ 3 callers
Function
PrintRawArrayTo
test/mlu_op_gtest/googletest/include/gtest/gtest-printers.h:585
↓ 3 callers
Method
PushLine
test/mlu_op_gtest/googletest/src/gtest.cc:1100
↓ 3 callers
Function
RUN_ALL_TESTS
test/mlu_op_gtest/googletest/include/gtest/gtest.h:2241
↓ 3 callers
Method
RemoveTrailingPathSeparator
If input name has a trailing separator character, remove it and return the name, otherwise return the name string unmodified. On Windows platform, use
test/mlu_op_gtest/googletest/src/gtest-filepath.cc:334
↓ 3 callers
Function
ReportFailureInUnknownLocation
test/mlu_op_gtest/googletest/src/gtest.cc:2148
↓ 3 callers
Function
ShuffleRange
test/mlu_op_gtest/googletest/src/gtest-internal-inl.h:304
↓ 3 callers
Function
StripTrailingSpaces
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2372
↓ 3 callers
Method
TestInfo
Constructs a TestInfo object. It assumes ownership of the test factory object.
test/mlu_op_gtest/googletest/src/gtest.cc:2384
↓ 3 callers
Function
__mluop_arange_base_
kernels/utils/common.h:499
↓ 3 callers
Function
__mluop_float2half
* FUNC: __mluop_float2half * param 'dst' is the destination pointer in NRAM. * param 'src' is the source pointer in NRAM. * param 'src_count' is th
kernels/utils/common.h:74
↓ 3 callers
Method
add_args
(self)
tools/perf_analyse/analysis_suite/args_parser/gtest_log_to_xlsx_parser.py:13
↓ 3 callers
Method
appendCriterion
core/gen_case.cpp:421
↓ 3 callers
Function
array2String
kernels/binary_op/binary_op_host.cpp:266
↓ 3 callers
Function
arrayCastFloatToHalf
test/mlu_op_gtest/pb_gtest/src/tools.cpp:587
↓ 3 callers
Method
cleanup
(self)
test/mlu_op_gtest/tools/linker.py:200
↓ 3 callers
Function
compare_summary
(tpi_dfs, tpi_baseline, version_compare)
tools/perf_analyse/analysis_suite/core/perf_analyser/tpi/compare_tpi.py:18
↓ 3 callers
Method
criterions
test/mlu_op_gtest/pb_gtest/src/parser.cpp:944
↓ 3 callers
Method
current_test_result
Returns the most specific TestResult currently running.
test/mlu_op_gtest/googletest/src/gtest.cc:5151
↓ 3 callers
Method
destroy
test/mlu_op_gtest/pb_gtest/src/gtest/mlu_op_gtest.cpp:220
↓ 3 callers
Function
destroyFFT2dReserveArea
kernels/fft/fft.cpp:2936
↓ 3 callers
Function
dumpProto
test/mlu_op_gtest/tools/prototxt2pb.cpp:197
↓ 3 callers
Function
dumpProto
test/mlu_op_gtest/tools/pb2prototxt.cpp:235
↓ 3 callers
Function
fftBatchMatMulBcast
kernels/fft/common/fft_basic_ops.cpp:370
↓ 3 callers
Function
fftGetBatchMatMulBcastWorkspaceSize
kernels/fft/common/fft_basic_ops.cpp:270
↓ 3 callers
Function
fftGetOptensorWorkspaceSize
kernels/fft/common/fft_basic_ops.cpp:574
↓ 3 callers
Function
fftOptensor
kernels/fft/common/fft_basic_ops.cpp:632
↓ 3 callers
Function
fileExists
test/mlu_op_gtest/include/tools.h:112
↓ 3 callers
Function
float_mult
test/mlu_op_gtest/pb_gtest/src/tools.cpp:1420
↓ 3 callers
Function
generateRandomData
test/mlu_op_gtest/include/tools.h:181
↓ 3 callers
Function
getEnvInt
test/mlu_op_gtest/pb_gtest/src/tools.cpp:534
↓ 3 callers
Function
getGridOut
kernels/sparse_conv/get_indice_pairs/normal_get_indice_pairs.cpp:98
↓ 3 callers
Function
getIndiceIndexIn
kernels/sparse_conv/get_indice_pairs/normal_get_indice_pairs.cpp:48
↓ 3 callers
Function
getIndiceIndexOut
kernels/sparse_conv/get_indice_pairs/normal_get_indice_pairs.cpp:58
↓ 3 callers
Function
getIndiceMaskAll
kernels/sparse_conv/get_indice_pairs/normal_get_indice_pairs.cpp:38
↓ 3 callers
Function
getIndiceOutExpand
kernels/sparse_conv/get_indice_pairs/normal_get_indice_pairs.cpp:68
↓ 3 callers
Function
getJobLimitCapabilityCnrtFuncType
get the max cnrtFunctionType on current CNdevice.
core/runtime/device.h:139
↓ 3 callers
Function
getReduceOpWS
kernels/sparse_conv/get_indice_pairs/normal_get_indice_pairs.cpp:107
↓ 3 callers
Function
getStringEnvVar
core/tool.cpp:458
↓ 3 callers
Function
getTensorShapeSizeT
test/mlu_op_gtest/pb_gtest/include/stride.h:51
↓ 3 callers
Function
getTensorStrideSizeT
test/mlu_op_gtest/pb_gtest/include/stride.h:56
↓ 3 callers
Method
good
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:1105
↓ 3 callers
Method
index
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2336
↓ 3 callers
Method
index
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-death-test-internal.h:252
↓ 3 callers
Function
isFixData
input :[N,hi,wi,ci] offset :[N,ho,wo,dg*kh*kw*2] mask :[N,ho,wo,dg*kh*kw] // optional grad_ouput :[N,ho,wo,co] grad_weight:[co,kh,kw,ci
test/mlu_op_gtest/pb_gtest/src/zoo/dcn_backward_weight/dcn_backward_weight.cpp:39
↓ 3 callers
Method
is_output
test/mlu_op_gtest/pb_gtest/include/executor.h:347
↓ 3 callers
Method
key
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2326
↓ 3 callers
Function
mluOpBorderAlignBackward
kernels/border_align/border_align_backward/border_align_backward.cpp:45
↓ 3 callers
Function
mluOpBorderAlignForward
kernels/border_align/border_align_forward/border_align_forward.cpp:43
↓ 3 callers
Function
mluOpPriorBox
kernels/prior_box/prior_box.cpp:161
↓ 3 callers
Function
parseFromStream
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:2218
↓ 3 callers
Function
policyFunc
kernels/fft/irfft/irfft_host.cpp:1165
↓ 3 callers
Function
polygonCut
test/mlu_op_gtest/pb_gtest/src/zoo/poly_nms/pnms_impl.cpp:73
↓ 3 callers
Function
readU32
safer C++-style cast
test/mlu_op_gtest/pb_gtest/src/file_reader/SkippableFrame.cpp:20
↓ 3 callers
Function
setFFT2dReserveArea
kernels/fft/c2c_fft/c2c_fft_host.cpp:585
↓ 3 callers
Function
setIsAllocated
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/json/json.h:1154
↓ 3 callers
Method
setOpNameAndType
core/gen_case.cpp:405
↓ 3 callers
Function
toHex16Bit
test/mlu_op_gtest/pb_gtest/src/gtest/extra_lib/jsoncppDist/jsoncpp.cpp:4436
↓ 3 callers
Function
to_sheet_helper
( df: pd.DataFrame, writer: pd.io.excel._xlsxwriter.XlsxWriter, sheet_name: str,
tools/perf_analyse/analysis_suite/utils/excel_helper.py:106
↓ 3 callers
Function
transposeCpuNd
test/mlu_op_gtest/pb_gtest/src/internal_kernel/transpose_cpu/transpose_cpu.cpp:30
↓ 3 callers
Method
write_fd
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:404
↓ 2 callers
Method
AddArguments
test/mlu_op_gtest/googletest/src/gtest-death-test.cc:810
↓ 2 callers
Function
AddGlobalTestEnvironment
A convenient wrapper for adding an environment for the test program. You should call this before RUN_ALL_TESTS() is called, probably in main(). If y
test/mlu_op_gtest/googletest/include/gtest/gtest.h:1345
↓ 2 callers
Method
AddTestInfo
Adds a test to this test case. Will delete the test upon destruction of the TestCase object.
test/mlu_op_gtest/googletest/src/gtest.cc:2626
↓ 2 callers
Method
Advance
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-param-util.h:218
↓ 2 callers
Method
AlmostEquals
Returns true iff this number is at most kMaxUlps ULP's away from rhs. In particular, this function: - returns false if either number is (or both are
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-internal.h:334
↓ 2 callers
Function
AlwaysFalse
Always returns false.
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-internal.h:710
↓ 2 callers
Function
AlwaysTrue
test/mlu_op_gtest/googletest/src/gtest.cc:5213
↓ 2 callers
Function
ArrayEq
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-internal.h:998
↓ 2 callers
Function
AtomMatchesChar
Returns true iff the given atom (specified by escaped and pattern) matches ch. The result is undefined if the atom is invalid.
test/mlu_op_gtest/googletest/src/gtest-port.cc:633
↓ 2 callers
Method
BaseGenerator
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-param-util.h:217
↓ 2 callers
Function
BatchMatMul
test/mlu_op_gtest/pb_gtest/src/zoo/dcn_forward/dcn_forward.cpp:392
↓ 2 callers
Function
BatchMatMul
test/mlu_op_gtest/pb_gtest/src/zoo/dcn_backward_weight/dcn_backward_weight.cpp:388
↓ 2 callers
Function
CaptureStream
Starts capturing an output stream (stdout/stderr).
test/mlu_op_gtest/googletest/src/gtest-port.cc:1002
↓ 2 callers
Function
Close
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2508
↓ 2 callers
Function
ConditionalPrintAsText
test/mlu_op_gtest/googletest/src/gtest-printers.cc:403
↓ 2 callers
Function
CreateKey
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2150
↓ 2 callers
Method
Current
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-param-util.h:223
↓ 2 callers
Method
CurrentOsStackTraceExceptTop
Returns the current OS stack trace as an std::string. The maximum number of stack frames to be included is specified by the gtest_stack_trace_depth f
test/mlu_op_gtest/googletest/src/gtest.cc:773
↓ 2 callers
Method
DirectoryExists
Returns true if pathname describes a directory in the file-system that exists.
test/mlu_op_gtest/googletest/src/gtest-filepath.cc:217
↓ 2 callers
Function
FClose
test/mlu_op_gtest/googletest/include/gtest/internal/gtest-port.h:2498
↓ 2 callers
Function
Failed
Returns true iff the test case failed.
test/mlu_op_gtest/googletest/include/gtest/gtest.h:846
↓ 2 callers
Function
FormatCxxExceptionMessage
Adds an "exception thrown" fatal failure to the current test.
test/mlu_op_gtest/googletest/src/gtest.cc:2242
↓ 2 callers
Function
FormatTestCaseCount
Formats the count of test cases.
test/mlu_op_gtest/googletest/src/gtest.cc:2695
↓ 2 callers
Function
GTestIsInitialized
GTestIsInitialized() returns true iff the user has initialized Google Test. Useful for catching the user mistake of not initializing Google Test befo
test/mlu_op_gtest/googletest/src/gtest.cc:319
↓ 2 callers
Function
GetBitOffset
test/mlu_op_gtest/googletest/src/gtest.cc:2770
← previous
next →
301–400 of 4,409, ranked by callers