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
↓ 3 callers
Method
ConvHandle
src/model/operation/convolution.cc:29
↓ 3 callers
Function
CopyColumns
src/core/tensor/tensor.cc:1445
↓ 3 callers
Function
CpuConvForward
src/model/operation/convolution.cc:96
↓ 3 callers
Method
CudnnConvHandle
src/model/operation/convolution.cc:444
↓ 3 callers
Function
DivColumn
Divide column 'v' by each column of matrix M; write results into 'out'
src/core/tensor/tensor.cc:1318
↓ 3 callers
Method
Evaluate
src/model/feed_forward_net.cc:240
↓ 3 callers
Function
FlagToEnvVar
Returns the name of the environment variable corresponding to the given flag. For example, FlagToEnvVar("foo") will return "GTEST_FOO" in the open-so
test/gtest/gtest-all.cc:8919
↓ 3 callers
Function
FlushInfoLog
test/gtest/gtest.h:2151
↓ 3 callers
Function
FormatTimeInMillisAsSeconds
Formats the given time in milliseconds as seconds.
test/gtest/gtest-all.cc:4697
↓ 3 callers
Method
Free
src/core/memory/memory.cc:97
↓ 3 callers
Function
GenConvConf
USE_CUDNN
examples/cpp/cifar10/cnn.cc:35
↓ 3 callers
Function
GenConvConf
examples/cpp/cifar10/cnn-parallel.cc:37
↓ 3 callers
Function
GenDenseConf
examples/cpp/imagenet/alexnet.cc:85
↓ 3 callers
Function
GenPoolingConf
examples/cpp/imagenet/alexnet.cc:65
↓ 3 callers
Function
GenPoolingConf
examples/cpp/cifar10/cnn.cc:60
↓ 3 callers
Function
GenPoolingConf
examples/cpp/cifar10/cnn-parallel.cc:62
↓ 3 callers
Function
GenReLUConf
examples/cpp/cifar10/cnn.cc:73
↓ 3 callers
Function
GenReLUConf
examples/cpp/cifar10/cnn-parallel.cc:75
↓ 3 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/gtest/gtest-all.cc:5216
↓ 3 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/gtest/gtest-all.cc:3893
↓ 3 callers
Method
GetTestPartResultReporterForCurrentThread
Returns the test part result reporter for the current thread.
test/gtest/gtest-all.cc:2180
↓ 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/gtest/gtest-all.cc:2082
↓ 3 callers
Method
Instance
include/singa/utils/singleton.h:30
↓ 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/gtest/gtest-all.cc:8986
↓ 3 callers
Function
IsSpace
test/gtest/gtest.h:2778
↓ 3 callers
Function
IsTrue
test/gtest/gtest-all.cc:6132
↓ 3 callers
Method
L1
DEPRECATED use l1()
src/core/tensor/tensor.cc:830
↓ 3 callers
Method
Malloc
src/core/memory/memory.cc:90
↓ 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/gtest/gtest-all.cc:8557
↓ 3 callers
Method
Negative_slope
src/model/layer/activation.h:47
↓ 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/gtest/gtest-all.cc:6161
↓ 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/gtest/gtest-all.cc:8934
↓ 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/gtest/gtest-all.cc:6216
↓ 3 callers
Method
Pop
* Pop an element from the queue. * It will be blocked until one element is poped. */
include/singa/utils/safe_queue.h:56
↓ 3 callers
Function
PrintByteSegmentInObjectTo
Prints a segment of bytes in the given object.
test/gtest/gtest-all.cc:9072
↓ 3 callers
Function
PrintRawArrayTo
test/gtest/gtest.h:9638
↓ 3 callers
Method
ReadShape
src/io/snapshot.cc:115
↓ 3 callers
Method
ReadTestData
examples/cpp/cifar10/cifar10.h:95
↓ 3 callers
Method
ReadTrainData
examples/cpp/cifar10/cifar10.h:83
↓ 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/gtest/gtest-all.cc:8175
↓ 3 callers
Function
ReportFailureInUnknownLocation
test/gtest/gtest-all.cc:3410
↓ 3 callers
Method
SeekToFirst
src/io/lmdb_reader.cc:103
↓ 3 callers
Function
ShuffleRange
test/gtest/gtest-all.cc:712
↓ 3 callers
Function
SliceOn
src/core/tensor/tensor.cc:1421
↓ 3 callers
Function
SoftmaxCrossEntropyBwd
src/core/tensor/tensor.cc:1717
↓ 3 callers
Method
__init__
(self, hidden_size, num_layers=1, bidirectional=True,
examples/qabot/qabot_model.py:48
↓ 3 callers
Method
__len__
(self)
examples/healthcare/data/bloodmnist.py:191
↓ 3 callers
Method
_get_attn_pad_mask
Args: seq_q: [batch_size, seq_len] seq_k: [batch_size, seq_len] Returns: [batch_size, seq_len, se
examples/trans/model.py:173
↓ 3 callers
Method
_get_attn_pad_mask
Args: seq_q: [batch_size, seq_len] seq_k: [batch_size, seq_len] Returns: [batch_size, seq_len, se
examples/singa_peft/examples/model/trans.py:205
↓ 3 callers
Method
_get_name_prefix
Get the name prefix Returns: prefix(str): the layer or param name prefix
python/singa/layer.py:222
↓ 3 callers
Method
_max
Args: a (CTensor): First operand b (CTensor): Second operand Returns: CTensor, the output
python/singa/autograd.py:3409
↓ 3 callers
Method
_min
Args: a (CTensor): First operand b (CTensor): Second operand Returns: CTensor, the output
python/singa/autograd.py:3062
↓ 3 callers
Function
abs
Absolute value. See also:** Documentation for [std::abs](https://en.cppreference.com/w/cpp/numeric/math/fabs). \param arg operand \return absolute val
include/half.hpp:2734
↓ 3 callers
Function
accuracy
(pred, target)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/train_ms_model.py:236
↓ 3 callers
Function
accuracy
(pred, target)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/train_cnn.py:236
↓ 3 callers
Function
accuracy
(pred, target)
examples/cnn_ms/train_ms_model.py:224
↓ 3 callers
Function
accuracy
(pred, target)
examples/cnn_ms/train_cnn.py:231
↓ 3 callers
Function
add
Elementi-wise addition. Args: lhs (Tensor): lhs tensor rhs (Tensor): rhs tensor ret (Tensor, optional): if not None, the
python/singa/tensor.py:1232
↓ 3 callers
Method
alpha
src/model/layer/lrn.h:56
↓ 3 callers
Method
beta
src/model/layer/lrn.h:57
↓ 3 callers
Method
block
For functions in xx_math.cc to access the block. Users should not operate against Block directly. block_ is allocated in constructors.
include/singa/core/tensor.h:80
↓ 3 callers
Method
broadcasted
include/singa/core/tensor.h:118
↓ 3 callers
Function
check_underflow
Check value for underflow. \param arg non-zero half-precision value to check \return \a arg \exception FE_UNDERFLOW if arg is subnormal
include/half.hpp:767
↓ 3 callers
Method
coordination
(self, budget: float, score_time_per_model: float, train_time_per_epoch: float, only_phase1: bool)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/run_ms.py:276
↓ 3 callers
Method
copy_from_numpy
Copy the data from the numpy array. Args: np_array: source numpy array offset (int): destination offset
python/singa/tensor.py:360
↓ 3 callers
Method
current_test_result
Returns the TestResult for the test that's currently running, or the TestResult for the ad hoc test if no test is running.
test/gtest/gtest-all.cc:6078
↓ 3 callers
Method
data_pre_processing
(self, mini_batch, metrics: str, new_model: nn.Module)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/evaluator.py:454
↓ 3 callers
Function
decode_libsvm
(line)
examples/model_selection/Trails/internal/ml/model_selection/src/dataset_utils/save_load_torch.py:28
↓ 3 callers
Method
dropout_ratio
src/model/layer/dropout.h:52
↓ 3 callers
Function
eq
Elementi-wise comparison for t == x. Args: t (Tensor): left hand side operand x (Tensor or float): right hand side operand R
python/singa/tensor.py:1218
↓ 3 callers
Method
factor
src/model/layer/batchnorm.h:51
↓ 3 callers
Function
float2half
include/half.hpp:1064
↓ 3 callers
Method
forward
(self, x)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/mnist_cnn.py:48
↓ 3 callers
Method
forward
(self, x)
examples/largedataset_cnn/autograd/mnist_cnn.py:48
↓ 3 callers
Method
forward
(self, x)
examples/cifar_distributed_cnn/autograd/mnist_cnn.py:48
↓ 3 callers
Method
forward
(self, x)
examples/singa_peft/examples/autograd/mnist_cnn.py:48
↓ 3 callers
Method
forward
(self, x)
examples/cnn/autograd/mnist_cnn.py:48
↓ 3 callers
Method
forward
(self, x)
examples/cnn_ms/autograd/mnist_cnn.py:48
↓ 3 callers
Method
free_data
src/core/common/common.cc:38
↓ 3 callers
Function
ge
Elementi-wise comparison for t >= x. Args: t (Tensor): left hand side operand x (Tensor or float): right hand side operand R
python/singa/tensor.py:1204
↓ 3 callers
Function
get_bn_weight_from
combine scale and bias into weight format required by dnnl
src/model/operation/batchnorm.h:38
↓ 3 callers
Method
get_ground_truth
:param arch_id: :param dataset: :param epoch_num: which epoch's performance to return :param total_epoch:
examples/model_selection/Trails/internal/ml/model_selection/src/query_api/interface.py:54
↓ 3 callers
Method
get_s
get state from the node's weights or tensor_dict Args: name (str): name of the state node (ONNXNode): ONNX no
python/singa/sonnx.py:2047
↓ 3 callers
Method
get_states
Get states of this layer and all sublayers Returns: states(dict): A dictionary contains state names and values of th
python/singa/layer.py:140
↓ 3 callers
Method
get_train_one_epoch_time
(self, device: str)
examples/model_selection/Trails/internal/ml/model_selection/src/query_api/query_api_mlp.py:134
↓ 3 callers
Method
graph
Turn on the computational graph. Specify execution mode. Args: mode(bool): when mode is True, model will use computational graph
examples/cnn_ms/pkg_model_code/model.py:227
↓ 3 callers
Function
gt
Elementi-wise comparison for t > x. Args: t (Tensor): left hand side operand x (Tensor or float): right hand side operand Re
python/singa/tensor.py:1190
↓ 3 callers
Function
half2float
include/half.hpp:1303
↓ 3 callers
Function
hyperbolic_args
Get exponentials for hyperbolic computation \param abs half-precision floating-point value \param exp variable to take unbiased exponent of larger res
include/half.hpp:1650
↓ 3 callers
Function
if_cuda_avaiable
(device)
examples/model_selection/Trails/internal/ml/model_slicing/baseline_int.py:110
↓ 3 callers
Method
k
src/model/layer/lrn.h:58
↓ 3 callers
Function
le
Elementi-wise comparison for t <= x. Args: t (Tensor): left hand side operand x (Tensor or float): right hand side operand R
python/singa/tensor.py:1176
↓ 3 callers
Function
libsvm_dataloader
(args, data_dir, nfield, batch_size)
examples/model_selection/Trails/internal/ml/model_selection/src/dataset_utils/structure_data_loader.py:118
↓ 3 callers
Method
local_size
src/model/layer/lrn.h:55
↓ 3 callers
Function
lt
Elementi-wise comparison for t < x Args: t (Tensor): left hand side operand x (Tensor or float): right hand side operand Ret
python/singa/tensor.py:1162
↓ 3 callers
Method
notify
src/io/network/endpoint.cc:246
↓ 3 callers
Method
num_output
src/model/layer/dense.h:54
↓ 3 callers
Method
p1_evaluate
:param data_str: encoded ModelAcquireData :return:
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/evaluator.py:110
↓ 3 callers
Function
parse_config_arguments
(config_path: str)
examples/model_selection/Trails/internal/ml/model_selection/shared_config.py:24
↓ 3 callers
Method
pointer
test/gtest/gtest.h:2596
← previous
next →
501–600 of 5,531, ranked by callers