MCPcopy Create free account

hub / github.com/apache/singa / functions

Functions5,531 in github.com/apache/singa

↓ 3 callersMethodConvHandle
src/model/operation/convolution.cc:29
↓ 3 callersFunctionCopyColumns
src/core/tensor/tensor.cc:1445
↓ 3 callersFunctionCpuConvForward
src/model/operation/convolution.cc:96
↓ 3 callersMethodCudnnConvHandle
src/model/operation/convolution.cc:444
↓ 3 callersFunctionDivColumn
Divide column 'v' by each column of matrix M; write results into 'out'
src/core/tensor/tensor.cc:1318
↓ 3 callersMethodEvaluate
src/model/feed_forward_net.cc:240
↓ 3 callersFunctionFlagToEnvVar
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 callersFunctionFlushInfoLog
test/gtest/gtest.h:2151
↓ 3 callersFunctionFormatTimeInMillisAsSeconds
Formats the given time in milliseconds as seconds.
test/gtest/gtest-all.cc:4697
↓ 3 callersMethodFree
src/core/memory/memory.cc:97
↓ 3 callersFunctionGenConvConf
USE_CUDNN
examples/cpp/cifar10/cnn.cc:35
↓ 3 callersFunctionGenConvConf
examples/cpp/cifar10/cnn-parallel.cc:37
↓ 3 callersFunctionGenDenseConf
examples/cpp/imagenet/alexnet.cc:85
↓ 3 callersFunctionGenPoolingConf
examples/cpp/imagenet/alexnet.cc:65
↓ 3 callersFunctionGenPoolingConf
examples/cpp/cifar10/cnn.cc:60
↓ 3 callersFunctionGenPoolingConf
examples/cpp/cifar10/cnn-parallel.cc:62
↓ 3 callersFunctionGenReLUConf
examples/cpp/cifar10/cnn.cc:73
↓ 3 callersFunctionGenReLUConf
examples/cpp/cifar10/cnn-parallel.cc:75
↓ 3 callersMethodGetTestCase
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 callersMethodGetTestInfo
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 callersMethodGetTestPartResultReporterForCurrentThread
Returns the test part result reporter for the current thread.
test/gtest/gtest-all.cc:2180
↓ 3 callersFunctionGetTestTypeId
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 callersMethodInstance
include/singa/utils/singleton.h:30
↓ 3 callersFunctionInt32FromGTestEnv
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 callersFunctionIsSpace
test/gtest/gtest.h:2778
↓ 3 callersFunctionIsTrue
test/gtest/gtest-all.cc:6132
↓ 3 callersMethodL1
DEPRECATED use l1()
src/core/tensor/tensor.cc:830
↓ 3 callersMethodMalloc
src/core/memory/memory.cc:90
↓ 3 callersFunctionMatchRegexAtHead
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 callersMethodNegative_slope
src/model/layer/activation.h:47
↓ 3 callersFunctionParseFlagValue
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 callersFunctionParseInt32
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 callersFunctionParseInt32Flag
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 callersMethodPop
* Pop an element from the queue. * It will be blocked until one element is poped. */
include/singa/utils/safe_queue.h:56
↓ 3 callersFunctionPrintByteSegmentInObjectTo
Prints a segment of bytes in the given object.
test/gtest/gtest-all.cc:9072
↓ 3 callersFunctionPrintRawArrayTo
test/gtest/gtest.h:9638
↓ 3 callersMethodReadShape
src/io/snapshot.cc:115
↓ 3 callersMethodReadTestData
examples/cpp/cifar10/cifar10.h:95
↓ 3 callersMethodReadTrainData
examples/cpp/cifar10/cifar10.h:83
↓ 3 callersMethodRemoveTrailingPathSeparator
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 callersFunctionReportFailureInUnknownLocation
test/gtest/gtest-all.cc:3410
↓ 3 callersMethodSeekToFirst
src/io/lmdb_reader.cc:103
↓ 3 callersFunctionShuffleRange
test/gtest/gtest-all.cc:712
↓ 3 callersFunctionSliceOn
src/core/tensor/tensor.cc:1421
↓ 3 callersFunctionSoftmaxCrossEntropyBwd
src/core/tensor/tensor.cc:1717
↓ 3 callersMethod__init__
(self, hidden_size, num_layers=1, bidirectional=True,
examples/qabot/qabot_model.py:48
↓ 3 callersMethod__len__
(self)
examples/healthcare/data/bloodmnist.py:191
↓ 3 callersMethod_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 callersMethod_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 callersMethod_get_name_prefix
Get the name prefix Returns: prefix(str): the layer or param name prefix
python/singa/layer.py:222
↓ 3 callersMethod_max
Args: a (CTensor): First operand b (CTensor): Second operand Returns: CTensor, the output
python/singa/autograd.py:3409
↓ 3 callersMethod_min
Args: a (CTensor): First operand b (CTensor): Second operand Returns: CTensor, the output
python/singa/autograd.py:3062
↓ 3 callersFunctionabs
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 callersFunctionaccuracy
(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 callersFunctionaccuracy
(pred, target)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/train_cnn.py:236
↓ 3 callersFunctionaccuracy
(pred, target)
examples/cnn_ms/train_ms_model.py:224
↓ 3 callersFunctionaccuracy
(pred, target)
examples/cnn_ms/train_cnn.py:231
↓ 3 callersFunctionadd
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 callersMethodalpha
src/model/layer/lrn.h:56
↓ 3 callersMethodbeta
src/model/layer/lrn.h:57
↓ 3 callersMethodblock
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 callersMethodbroadcasted
include/singa/core/tensor.h:118
↓ 3 callersFunctioncheck_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 callersMethodcoordination
(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 callersMethodcopy_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 callersMethodcurrent_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 callersMethoddata_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 callersFunctiondecode_libsvm
(line)
examples/model_selection/Trails/internal/ml/model_selection/src/dataset_utils/save_load_torch.py:28
↓ 3 callersMethoddropout_ratio
src/model/layer/dropout.h:52
↓ 3 callersFunctioneq
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 callersMethodfactor
src/model/layer/batchnorm.h:51
↓ 3 callersFunctionfloat2half
include/half.hpp:1064
↓ 3 callersMethodforward
(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 callersMethodforward
(self, x)
examples/largedataset_cnn/autograd/mnist_cnn.py:48
↓ 3 callersMethodforward
(self, x)
examples/cifar_distributed_cnn/autograd/mnist_cnn.py:48
↓ 3 callersMethodforward
(self, x)
examples/singa_peft/examples/autograd/mnist_cnn.py:48
↓ 3 callersMethodforward
(self, x)
examples/cnn/autograd/mnist_cnn.py:48
↓ 3 callersMethodforward
(self, x)
examples/cnn_ms/autograd/mnist_cnn.py:48
↓ 3 callersMethodfree_data
src/core/common/common.cc:38
↓ 3 callersFunctionge
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 callersFunctionget_bn_weight_from
combine scale and bias into weight format required by dnnl
src/model/operation/batchnorm.h:38
↓ 3 callersMethodget_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 callersMethodget_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 callersMethodget_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 callersMethodget_train_one_epoch_time
(self, device: str)
examples/model_selection/Trails/internal/ml/model_selection/src/query_api/query_api_mlp.py:134
↓ 3 callersMethodgraph
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 callersFunctiongt
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 callersFunctionhalf2float
include/half.hpp:1303
↓ 3 callersFunctionhyperbolic_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 callersFunctionif_cuda_avaiable
(device)
examples/model_selection/Trails/internal/ml/model_slicing/baseline_int.py:110
↓ 3 callersMethodk
src/model/layer/lrn.h:58
↓ 3 callersFunctionle
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 callersFunctionlibsvm_dataloader
(args, data_dir, nfield, batch_size)
examples/model_selection/Trails/internal/ml/model_selection/src/dataset_utils/structure_data_loader.py:118
↓ 3 callersMethodlocal_size
src/model/layer/lrn.h:55
↓ 3 callersFunctionlt
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 callersMethodnotify
src/io/network/endpoint.cc:246
↓ 3 callersMethodnum_output
src/model/layer/dense.h:54
↓ 3 callersMethodp1_evaluate
:param data_str: encoded ModelAcquireData :return:
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/evaluator.py:110
↓ 3 callersFunctionparse_config_arguments
(config_path: str)
examples/model_selection/Trails/internal/ml/model_selection/shared_config.py:24
↓ 3 callersMethodpointer
test/gtest/gtest.h:2596
← previousnext →501–600 of 5,531, ranked by callers