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
↓ 2 callers
Method
run_phase1
Controller explore n models, and return the top K models. :return:
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/run_phase1.py:101
↓ 2 callers
Method
sample_next_arch
Sample next architecture, :param sorted_model: the scoted model, :return:
examples/model_selection/Trails/internal/ml/model_selection/src/controller/core/sample.py:33
↓ 2 callers
Method
sample_next_arch
Sample one random architecture, can sample max 10k architectures. :return: arch_id, architecture
examples/model_selection/Trails/internal/ml/model_selection/src/controller/sampler_all/seq_sampler.py:34
↓ 2 callers
Function
scalbln
Multiply by power of two. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::scalbln](https://en.cpprefer
include/half.hpp:4148
↓ 2 callers
Method
serialize_model
(self)
examples/model_selection/Trails/internal/ml/model_selection/src/common/structure.py:33
↓ 2 callers
Method
serialize_model
(self)
examples/model_selection/Trails/internal/ml/model_selection/src/common/structure.py:64
↓ 2 callers
Method
set_optimizer
(self, optimizer)
examples/hfl/src/mlp.py:63
↓ 2 callers
Method
set_optimizer
(self, optimizer)
examples/gan/model/gan_mlp.py:89
↓ 2 callers
Method
set_optimizer
(self, optimizer)
examples/cifar_distributed_cnn/model/cnn.py:72
↓ 2 callers
Method
set_optimizer
(self, optimizer)
examples/cnn/model/cnn.py:72
↓ 2 callers
Method
set_params
(self, parameters)
python/singa/layer.py:1223
↓ 2 callers
Function
sigmoid
Args: t (Tensor): input Tensor Returns: a new Tensor whose element y = sigmoid(x); x is an element of t
python/singa/tensor.py:989
↓ 2 callers
Function
sign
Args: t (Tensor): input Tensor Returns: a new Tensor whose element y = sign(x)
python/singa/tensor.py:1000
↓ 2 callers
Method
slice_test
(self, dev)
test/python/test_operation.py:2804
↓ 2 callers
Function
softplus
Return `ln(exp(x) + 1)`, where x is Tensor.
python/singa/autograd.py:2991
↓ 2 callers
Function
softsign
Return `(x/(1+|x|))`, where x is Tensor.
python/singa/autograd.py:2916
↓ 2 callers
Method
sparsification
Performs all reduce of a tensor after sparsification. Args: tensor(Tensor): a tensor to be all-reduced accumu
python/singa/opt.py:786
↓ 2 callers
Method
sparsification
src/io/communicator.cc:469
↓ 2 callers
Method
split_test
(self, dev)
test/python/test_operation.py:2978
↓ 2 callers
Function
square
Args: t (Tensor): input Tensor Returns: a new Tensor whose element y = x * x, x is an element of t
python/singa/tensor.py:1022
↓ 2 callers
Method
status
Prints things in bold.
setup.py:104
↓ 2 callers
Method
step_forward
(self, x, h, Wx, Wh, b)
python/singa/layer.py:1203
↓ 2 callers
Method
step_forward
(self, x, h, c)
python/singa/layer.py:1330
↓ 2 callers
Method
stop
(self)
examples/model_selection/Trails/internal/ml/model_selection/src/dataset_utils/stream_dataloader.py:94
↓ 2 callers
Function
sub
Elementi-wise subtraction. Args: lhs (Tensor): lhs tensor rhs (Tensor): rhs tensor ret (Tensor, optional): if not None, t
python/singa/tensor.py:1255
↓ 2 callers
Function
synchronize
(tensor, dist_opt)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/resnet_cifar10.py:142
↓ 2 callers
Function
synchronize
(tensor, dist_opt)
examples/largedataset_cnn/autograd/resnet_cifar10.py:142
↓ 2 callers
Function
synchronize
(tensor, dist_opt)
examples/cifar_distributed_cnn/autograd/resnet_cifar10.py:142
↓ 2 callers
Function
synchronize
(tensor, dist_opt)
examples/cnn/autograd/resnet_cifar10.py:142
↓ 2 callers
Function
synchronize
(tensor, dist_opt)
examples/cnn_ms/autograd/resnet_cifar10.py:142
↓ 2 callers
Method
test_case_to_run_count
Gets the number of all test cases that contain at least one test that should run.
test/gtest/gtest-all.cc:2208
↓ 2 callers
Method
tile_test
(self, dev)
test/python/test_operation.py:3042
↓ 2 callers
Method
time_elapsed_inc
time profiling
include/singa/core/scheduler.h:73
↓ 2 callers
Function
time_string
()
examples/model_selection/Trails/internal/ml/model_selection/src/controller/sampler_bohb/bohb_or.py:35
↓ 2 callers
Function
to_categorical
(y, num_classes)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/mnist_cnn.py:113
↓ 2 callers
Function
to_categorical
(y, num_classes)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/resnet_cifar10.py:122
↓ 2 callers
Function
to_categorical
(y, num_classes)
examples/largedataset_cnn/autograd/mnist_cnn.py:113
↓ 2 callers
Function
to_categorical
(y, num_classes)
examples/largedataset_cnn/autograd/resnet_cifar10.py:122
↓ 2 callers
Function
to_categorical
(y, num_classes)
examples/cifar_distributed_cnn/autograd/mnist_cnn.py:113
↓ 2 callers
Function
to_categorical
(y, num_classes)
examples/cifar_distributed_cnn/autograd/resnet_cifar10.py:122
↓ 2 callers
Function
to_categorical
(y, num_classes)
examples/singa_peft/examples/autograd/mnist_cnn.py:113
↓ 2 callers
Function
to_categorical
(y, num_classes)
examples/cnn/autograd/mnist_cnn.py:113
↓ 2 callers
Function
to_categorical
(y, num_classes)
examples/cnn/autograd/resnet_cifar10.py:122
↓ 2 callers
Function
to_categorical
(y, num_classes)
examples/cnn_ms/autograd/mnist_cnn.py:113
↓ 2 callers
Function
to_categorical
(y, num_classes)
examples/cnn_ms/autograd/resnet_cifar10.py:122
↓ 2 callers
Method
total_test_case_count
Gets the number of all test cases.
test/gtest/gtest-all.cc:2202
↓ 2 callers
Method
total_test_count
Gets the number of all tests.
test/gtest/gtest-all.cc:2239
↓ 2 callers
Function
train_mnist_cnn
(DIST=False, local_rank=None, world_size=None, ncc
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/mnist_cnn.py:166
↓ 2 callers
Function
train_mnist_cnn
(DIST=False, local_rank=None, world_size=None, ncc
examples/largedataset_cnn/autograd/mnist_cnn.py:166
↓ 2 callers
Function
train_mnist_cnn
(DIST=False, local_rank=None, world_size=None, ncc
examples/cifar_distributed_cnn/autograd/mnist_cnn.py:166
↓ 2 callers
Function
train_mnist_cnn
(DIST=False, local_rank=None, world_size=None, ncc
examples/singa_peft/examples/autograd/mnist_cnn.py:166
↓ 2 callers
Function
train_mnist_cnn
(DIST=False, local_rank=None, world_size=None, ncc
examples/cnn/autograd/mnist_cnn.py:166
↓ 2 callers
Function
train_mnist_cnn
(DIST=False, local_rank=None, world_size=None, ncc
examples/cnn_ms/autograd/mnist_cnn.py:166
↓ 2 callers
Method
train_one_batch
(self, x, y)
examples/gan/model/gan_mlp.py:68
↓ 2 callers
Method
train_one_batch
(self, x, y, dist_option, spars)
examples/singa_peft/examples/model/cnn.py:52
↓ 2 callers
Method
upsample_helper
(self, dev)
test/python/test_operation.py:3352
↓ 2 callers
Method
where_helper
(self, dev)
test/python/test_operation.py:3453
↓ 1 callers
Method
Abort
Signals that the death test code which should have exited, didn't. Should be called only in a death test child process. Writes a status byte to the ch
test/gtest/gtest-all.cc:6964
↓ 1 callers
Method
AddArguments
test/gtest/gtest-all.cc:7398
↓ 1 callers
Method
AddEnvironment
Registers and returns a global test environment. When a test program is run, all global test environments will be set-up in the order they were regis
test/gtest/gtest-all.cc:5248
↓ 1 callers
Method
Algorithm
src/model/layer/cudnn_softmax.h:46
↓ 1 callers
Function
AlwaysFalse
Always returns false.
test/gtest/gtest.h:7620
↓ 1 callers
Function
AppendUserMessage
Appends the user-supplied message to the Google-Test-generated message.
test/gtest/gtest-all.cc:3162
↓ 1 callers
Method
Argv
test/gtest/gtest-all.cc:7405
↓ 1 callers
Method
Axis
src/model/layer/flatten.h:45
↓ 1 callers
Method
Backward
src/model/feed_forward_net.cc:218
↓ 1 callers
Method
Begin
test/gtest/gtest.h:10189
↓ 1 callers
Function
Checkpoint
examples/cpp/imagenet/alexnet.cc:289
↓ 1 callers
Function
ClearNonAdHocTestResult
Clears the results of all tests, except the ad hoc tests.
test/gtest/gtest-all.cc:1112
↓ 1 callers
Method
ClearResult
Clears the results of all tests in this test case.
test/gtest/gtest-all.cc:3941
↓ 1 callers
Method
ClearTestPartResults
Clears the test part results.
test/gtest/gtest-all.cc:3206
↓ 1 callers
Method
CloseConnection
Closes the socket.
test/gtest/gtest-all.cc:1521
↓ 1 callers
Function
CmpHelperSTREQ
Helper function for *_STREQ on wide strings.
test/gtest/gtest-all.cc:3030
↓ 1 callers
Function
CodePointToUtf8
Converts a Unicode code point to a narrow string in UTF-8 encoding. code_point parameter is of type UInt32 because wchar_t may not be wide enough to c
test/gtest/gtest-all.cc:2920
↓ 1 callers
Method
Col2Im
src/model/layer/opencl_convolution.cc:199
↓ 1 callers
Function
Col2im
src/model/layer/convolution.cc:224
↓ 1 callers
Method
Constant
include/singa/model/initializer.h:46
↓ 1 callers
Function
CopyArray
test/gtest/gtest.h:7889
↓ 1 callers
Method
CopyToFrom
src/core/device/cpp_cpu.cc:70
↓ 1 callers
Function
CpuBatchNormBackwardx
src/model/operation/batchnorm.cc:181
↓ 1 callers
Function
CpuBatchNormForwardInference
src/model/operation/batchnorm.cc:77
↓ 1 callers
Function
CpuBatchNormForwardTraining
src/model/operation/batchnorm.cc:123
↓ 1 callers
Function
CpuConvBackwardb
src/model/operation/convolution.cc:411
↓ 1 callers
Function
CreateCodePointFromUtf16SurrogatePair
Creates a Unicode code point from UTF16 surrogate pair.
test/gtest/gtest-all.cc:2961
↓ 1 callers
Method
CreateCudaGPUs
src/core/device/platform.cc:114
↓ 1 callers
Method
CreateCudaGPUsOn
src/core/device/platform.cc:122
↓ 1 callers
Method
CreateDirectoriesRecursively
Create directories so that path exists. Returns true if successful or if the directories already exist; returns false if unable to create directories
test/gtest/gtest-all.cc:8137
↓ 1 callers
Method
CreateFolder
Create the directory so that path exists. Returns true if successful or if the directory already exists; returns false if unable to create the directo
test/gtest/gtest-all.cc:8154
↓ 1 callers
Function
CreateInitializer
TODO(wangwei) create the initializers from factory like that for Layer.
include/singa/model/initializer.h:109
↓ 1 callers
Function
CreateNet
examples/cpp/imagenet/alexnet.cc:137
↓ 1 callers
Function
CreateNet
examples/cpp/cifar10/cnn.cc:120
↓ 1 callers
Method
CreateTestData
examples/cpp/imagenet/ilsvrc12.h:249
↓ 1 callers
Method
CreateTestFactory
test/gtest/gtest.h:10396
↓ 1 callers
Method
CreateTrainData
examples/cpp/imagenet/ilsvrc12.h:181
↓ 1 callers
Function
CrossEntropyFwd
Misc.
src/core/tensor/tensor.cc:1711
↓ 1 callers
Function
DeathTestThreadWarning
Generates a textual failure message when a death test finds more than one thread running, or cannot determine the number of threads, prior to executin
test/gtest/gtest-all.cc:6711
↓ 1 callers
Function
DefaultPrintNonContainerTo
test/gtest/gtest.h:9409
↓ 1 callers
Function
DefaultPrintTo
test/gtest/gtest.h:9460
↓ 1 callers
Function
DeleteThreadLocalValue
test/gtest/gtest.h:2546
↓ 1 callers
Method
DeviceQuery
src/core/device/platform.cc:80
← previous
next →
1,201–1,300 of 5,531, ranked by callers