Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/singa
/ functions
Functions
5,531 in github.com/apache/singa
⨍
Functions
5,531
◇
Types & classes
1,090
↳
Endpoints
3
↓ 1 callers
Function
ParseInternalRunDeathTestFlag
Returns a newly created InternalRunDeathTestFlag object with fields initialized from the GTEST_FLAG(internal_run_death_test) flag if the flag is speci
test/gtest/gtest-all.cc:7790
↓ 1 callers
Function
PartialMatch
test/gtest/gtest.h:2064
↓ 1 callers
Function
Passed
Returns true iff the unit test passed (i.e. all test cases passed).
test/gtest/gtest-all.cc:977
↓ 1 callers
Method
PostFlagParsingInit
Performs initialization dependent upon flag values obtained in ParseGoogleTestFlagsOnly. Is called from InitGoogleTest after the call to ParseGoogleT
test/gtest/gtest-all.cc:5596
↓ 1 callers
Function
PrintAsStringLiteralTo
Prints a wchar_t c as if it's part of a string literal, escaping it when necessary; returns how c was formatted.
test/gtest/gtest-all.cc:9201
↓ 1 callers
Function
PrintBytesInObjectTo
Delegates to PrintBytesInObjectToImpl() to print the bytes in the given object. The delegation simplifies the implementation, which uses the << opera
test/gtest/gtest-all.cc:9123
↓ 1 callers
Function
PrintBytesInObjectToImpl
Prints the bytes in the given value to the given ostream.
test/gtest/gtest-all.cc:9091
↓ 1 callers
Function
PrintColorEncoded
Prints a string containing code-encoded text. The following escape sequences can be used in the string to control the text color: @@ prints a sin
test/gtest/gtest-all.cc:6271
↓ 1 callers
Function
PrintTestPartResult
Prints a TestPartResult.
test/gtest/gtest-all.cc:4014
↓ 1 callers
Function
PrintTo
test/gtest/gtest.h:9544
↓ 1 callers
Function
RE
Constructs an RE from a string.
test/gtest/gtest.h:2040
↓ 1 callers
Function
RUN_ALL_TESTS
test/gtest/gtest.h:20057
↓ 1 callers
Function
ReLU
src/core/tensor/tensor_math.h:256
↓ 1 callers
Method
ReadMean
examples/cpp/imagenet/ilsvrc12.h:285
↓ 1 callers
Method
RecordProperty
Adds a test property to the list. If a property with the same key as the supplied property is already represented, the value of this test_property rep
test/gtest/gtest-all.cc:3218
↓ 1 callers
Method
Register
src/model/updater/updater.cc:25
↓ 1 callers
Method
RemoveDirectoryName
Returns a copy of the FilePath with the directory part removed. Example: FilePath("path/to/file").RemoveDirectoryName() returns FilePath("file"). If t
test/gtest/gtest-all.cc:7984
↓ 1 callers
Method
RemoveExtension
Returns a copy of the FilePath with the case-insensitive extension removed. Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns FilePath(
test/gtest/gtest-all.cc:7953
↓ 1 callers
Function
RepeatDataToFrom
src/core/tensor/tensor.cc:646
↓ 1 callers
Function
ReportInvalidTestCaseType
test/gtest/gtest-all.cc:3717
↓ 1 callers
Method
ReportTestPartResult
Increments the test part result count and remembers the result. This method is from the TestPartResultReporterInterface interface.
test/gtest/gtest-all.cc:2066
↓ 1 callers
Method
Run
Runs the test and updates the test result.
test/gtest/gtest-all.cc:3625
↓ 1 callers
Function
Set
test/gtest/gtest.h:3560
↓ 1 callers
Function
SetChannelDirectory
src/utils/channel.cc:94
↓ 1 callers
Method
SetDefaultDir
src/utils/channel.cc:39
↓ 1 callers
Method
SetDefaultResultPrinter
Sets the default_result_printer attribute to the provided listener. The listener is also added to the listener list and previous default_result_printe
test/gtest/gtest-all.cc:5079
↓ 1 callers
Method
SetDefaultXmlGenerator
Sets the default_xml_generator attribute to the provided listener. The listener is also added to the listener list and previous default_xml_generator
test/gtest/gtest-all.cc:5095
↓ 1 callers
Method
SetDestFilePath
src/utils/channel.cc:64
↓ 1 callers
Function
SetLogDestination
src/utils/logging.cc:66
↓ 1 callers
Function
SetStderrLogging
src/utils/logging.cc:56
↓ 1 callers
Method
SetUp
Sets up the test fixture. A sub-class may override this.
test/gtest/gtest-all.cc:3387
↓ 1 callers
Method
Setup
include/singa/model/initializer.h:59
↓ 1 callers
Function
ShouldRunTestOnShard
Given the total number of shards, the shard index, and the test id, returns true iff the test should be run on this shard. The test id is some arbitra
test/gtest/gtest-all.cc:5928
↓ 1 callers
Function
ShouldUseColor
Returns true iff Google Test should use colors in the output.
test/gtest/gtest-all.cc:4069
↓ 1 callers
Function
Shuffle
test/gtest/gtest-all.cc:733
↓ 1 callers
Function
Sigmoid
src/core/tensor/tensor_math.h:267
↓ 1 callers
Method
Size
* @return Number of elements in the queue. */
include/singa/utils/safe_queue.h:99
↓ 1 callers
Function
SkipSpaces
Skips to the first non-space char in str. Returns an empty string if str contains only whitespace characters.
test/gtest/gtest-all.cc:9524
↓ 1 callers
Function
SleepMilliseconds
Sleeps for (roughly) n milli-seconds. This function is only for testing Google Test's own constructs. Don't use it in user tests, either directly or
test/gtest/gtest.h:2295
↓ 1 callers
Function
SliceColumns
src/core/tensor/tensor.cc:1459
↓ 1 callers
Function
SliceRows
src/core/tensor/tensor.cc:1441
↓ 1 callers
Method
Snapshot
src/io/snapshot.cc:33
↓ 1 callers
Function
SplitString
Splits a given string on a given delimiter, populating a given vector with the fields. GTEST_HAS_DEATH_TEST implies that we have ::std::string, so we
test/gtest/gtest-all.cc:7702
↓ 1 callers
Function
StackGrowsDown
test/gtest/gtest-all.cc:7482
↓ 1 callers
Function
StackLowerThanAddress
test/gtest/gtest-all.cc:7477
↓ 1 callers
Function
StrCaseCmp
test/gtest/gtest.h:2815
↓ 1 callers
Function
StrError
test/gtest/gtest.h:2897
↓ 1 callers
Method
TearDown
Tears down the test fixture. A sub-class may override this.
test/gtest/gtest-all.cc:3393
↓ 1 callers
Function
TestOneEpoch
examples/cpp/imagenet/alexnet.cc:237
↓ 1 callers
Function
TestPartResult
C'tor. TestPartResult does NOT have a default constructor. Always use this constructor (with parameters) to create a TestPartResult object.
test/gtest/gtest.h:17103
↓ 1 callers
Function
TestPartResultTypeToString
Converts a TestPartResult::Type enum to human-friendly string representation. Both kNonFatalFailure and kFatalFailure are translated to "Failure", as
test/gtest/gtest-all.cc:3984
↓ 1 callers
Method
ToProto
src/core/tensor/tensor.cc:419
↓ 1 callers
Function
ToUpper
test/gtest/gtest.h:2795
↓ 1 callers
Function
Train
examples/cpp/imagenet/alexnet.cc:300
↓ 1 callers
Function
Train
examples/cpp/cifar10/vgg-parallel.cc:205
↓ 1 callers
Function
Train
examples/cpp/cifar10/cnn-parallel.cc:142
↓ 1 callers
Method
Train
src/model/feed_forward_net.cc:129
↓ 1 callers
Method
TrainOnBatch
src/model/feed_forward_net.cc:190
↓ 1 callers
Function
TrainOneEpoch
examples/cpp/imagenet/alexnet.cc:168
↓ 1 callers
Method
TryPop
* Try to pop an element from the queue. * \return false the queue is empty now. */
include/singa/utils/safe_queue.h:86
↓ 1 callers
Function
UniversalPrintArray
test/gtest/gtest.h:9802
↓ 1 callers
Method
Unlock
test/gtest/gtest.h:2656
↓ 1 callers
Function
ValidateRegex
Generates non-fatal failures and returns false if regex is invalid; otherwise returns true.
test/gtest/gtest-all.cc:8467
↓ 1 callers
Function
ValidateTestPropertyName
test/gtest/gtest-all.cc:3302
↓ 1 callers
Function
VecToStr
include/singa/utils/string.h:56
↓ 1 callers
Method
WaitForNotification
Blocks until the controller thread notifies. Must be called from a test thread.
test/gtest/gtest.h:2328
↓ 1 callers
Function
Write
test/gtest/gtest.h:2893
↓ 1 callers
Function
WriteToShardStatusFileIfNeeded
Reads the GTEST_SHARD_STATUS_FILE environment variable, and creates the file if the variable is present. If a file already exists at this location, th
test/gtest/gtest-all.cc:5843
↓ 1 callers
Method
__call__
(self, loss)
python/singa/opt.py:103
↓ 1 callers
Method
__eq__
(self, rhs)
python/singa/tensor.py:728
↓ 1 callers
Method
__getitem__
(self, index: int)
examples/healthcare/data/bloodmnist.py:194
↓ 1 callers
Method
__gt__
(self, rhs)
python/singa/tensor.py:716
↓ 1 callers
Method
__init__
(self, conv1, conv2)
test/python/test_onnx.py:1977
↓ 1 callers
Method
__init__
(self, length)
examples/model_selection/Trails/internal/ml/model_selection/src/tools/utils.py:91
↓ 1 callers
Method
__init__
(self, lr=0.1, momentum=0, dampening=0, we
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/prune_synflow.py:112
↓ 1 callers
Method
__init__
(self, in_filters, out_filters, reps, stri
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/model/xceptionnet.py:27
↓ 1 callers
Method
__init__
(self, in_filters, out_filters, reps, stri
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/xceptionnet.py:33
↓ 1 callers
Method
__init__
(self, perceptron_size=100, num_classes=10)
examples/healthcare/models/malaria_net.py:90
↓ 1 callers
Method
__init__
(self, in_filters, out_filters, reps, stri
examples/largedataset_cnn/model/xceptionnet.py:27
↓ 1 callers
Method
__init__
(self, in_filters, out_filters, reps, stri
examples/largedataset_cnn/autograd/xceptionnet.py:33
↓ 1 callers
Method
__init__
(self, in_filters, out_filters, reps, stri
examples/cifar_distributed_cnn/model/xceptionnet.py:27
↓ 1 callers
Method
__init__
(self, in_filters, out_filters, reps, stri
examples/cifar_distributed_cnn/autograd/xceptionnet.py:33
↓ 1 callers
Method
__init__
Data object for loading a plain text file. Args: fpath, path to the text file. train_ratio, split the text file into
examples/singa_peft/examples/model/char_rnn.py:94
↓ 1 callers
Method
__init__
(self, in_filters, out_filters, reps, stri
examples/singa_peft/examples/autograd/xceptionnet.py:33
↓ 1 callers
Method
__init__
(self, in_filters, out_filters, reps, stri
examples/cnn/model/xceptionnet.py:27
↓ 1 callers
Method
__init__
(self, in_filters, out_filters, reps, stri
examples/cnn/autograd/xceptionnet.py:33
↓ 1 callers
Method
__init__
Data object for loading a plain text file. Args: fpath, path to the text file. train_ratio, split the text file into
examples/rnn/char_rnn.py:94
↓ 1 callers
Method
__init__
(self, in_filters, out_filters, reps,
examples/cnn_ms/model/xceptionnet.py:27
↓ 1 callers
Method
__init__
(self, in_filters, out_filters, reps, stri
examples/cnn_ms/autograd/xceptionnet.py:33
↓ 1 callers
Method
__repr__
(self)
examples/onnx/bert/run_onnx_squad.py:66
↓ 1 callers
Method
__start_connection
Start the network connection to server.
examples/hfl/src/client.py:79
↓ 1 callers
Method
__start_connection
Start the network connection of server.
examples/hfl/src/server.py:73
↓ 1 callers
Method
__start_rank_pairing
Sending global rank to server
examples/hfl/src/client.py:83
↓ 1 callers
Method
__start_rank_pairing
Start pair each client to a global rank
examples/hfl/src/server.py:79
↓ 1 callers
Function
_check_is_max_context
Check if this is the 'max context' doc span for the token.
examples/onnx/bert/run_onnx_squad.py:79
↓ 1 callers
Method
_clean_text
Performs invalid character removal and whitespace cleanup on text.
examples/onnx/bert/tokenization.py:282
↓ 1 callers
Function
_compute_fans
Computes the number of input and output units for a weight shape. # Arguments shape: Integer shape tuple. data_format: Image data
python/singa/initializer.py:248
↓ 1 callers
Function
_compute_softmax
Compute softmax probability over raw logits.
examples/onnx/bert/run_onnx_squad.py:487
↓ 1 callers
Function
_data_transforms_cifar100
(args)
examples/model_selection/Trails/internal/ml/model_selection/src/tools/utils.py:230
↓ 1 callers
Method
_do_backward
(self, *dys)
python/singa/autograd.py:316
← previous
next →
1,401–1,500 of 5,531, ranked by callers