MCPcopy Create free account

hub / github.com/apache/singa / functions

Functions5,531 in github.com/apache/singa

↓ 6 callersMethoddot
dot multiply Args: a (CTensor): 2d input tensor. b (CTensor): 2d input tensor. Returns: C
python/singa/autograd.py:4941
↓ 6 callersMethodeval
(self)
examples/singa_peft/src/singa_peft/peft_model.py:62
↓ 6 callersMethodfailed_test_count
Gets the number of failed tests.
test/gtest/gtest-all.cc:2218
↓ 6 callersMethodfiltering_phase
(self, N, K, train_loader=None)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/run_ms.py:301
↓ 6 callersMethodfrom_pretrained
(self, W, freeze=True)
python/singa/layer.py:494
↓ 6 callersFunctionget_int
(b)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/data/mnist.py:62
↓ 6 callersFunctionget_int
(b)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/mnist_cnn.py:97
↓ 6 callersFunctionget_int
(b)
examples/largedataset_cnn/autograd/mnist_cnn.py:97
↓ 6 callersFunctionget_int
(b)
examples/cifar_distributed_cnn/data/mnist.py:62
↓ 6 callersFunctionget_int
(b)
examples/cifar_distributed_cnn/autograd/mnist_cnn.py:97
↓ 6 callersFunctionget_int
(b)
examples/singa_peft/examples/data/mnist.py:63
↓ 6 callersFunctionget_int
(b)
examples/singa_peft/examples/autograd/mnist_cnn.py:97
↓ 6 callersFunctionget_int
(b)
examples/cnn/data/mnist.py:62
↓ 6 callersFunctionget_int
(b)
examples/cnn/autograd/mnist_cnn.py:97
↓ 6 callersFunctionget_int
(b)
examples/cnn_ms/data/mnist.py:62
↓ 6 callersFunctionget_int
(b)
examples/cnn_ms/autograd/mnist_cnn.py:97
↓ 6 callersMethodget_params
(self)
examples/singa_peft/examples/model/trans.py:609
↓ 6 callersMethodget_states
(self)
python/singa/opt.py:322
↓ 6 callersMethodget_value
src/core/tensor/tensor.cc:868
↓ 6 callersMethodnew_arch_scratch_with_default_setting
(self, model_encoding: str, bn: bool)
examples/model_selection/Trails/internal/ml/model_selection/src/search_space/mlp_api/space.py:498
↓ 6 callersFunctionreduce_variable
(variable, dist_opt, reducer)
examples/healthcare/application/Cardiovascular_Disease/train.py:77
↓ 6 callersFunctionreduce_variable
(variable, dist_opt, reducer)
examples/singa_peft/examples/train.py:77
↓ 6 callersMethodset
test/gtest/gtest.h:2599
↓ 6 callersMethodset_optimizer
(self, optimizer)
examples/singa_peft/examples/model/cnn.py:72
↓ 6 callersMethodtime_elapsed
include/singa/core/scheduler.h:70
↓ 6 callersMethodtrain
(self)
examples/singa_peft/examples/model/lsgan.py:70
↓ 6 callersMethodverbosity
Verbosity of the time profiling function: verbosity == 0 (default) -> no logging verbosity == 1 -> display forward and backward propagation time verbo
include/singa/core/device.h:119
↓ 5 callersMethodAddInEdge
src/core/scheduler/scheduler.cc:32
↓ 5 callersMethodAddOutEdge
src/core/scheduler/scheduler.cc:34
↓ 5 callersMethodDecode
src/io/csv_decoder.cc:27
↓ 5 callersFunctionDiv
src/core/tensor/tensor.cc:1164
↓ 5 callersMethodEnableDestStderr
Disabled by default.
include/singa/utils/channel.h:43
↓ 5 callersMethodEncode
src/io/jpg_encoder.cc:29
↓ 5 callersFunctionEqFailure
Constructs and returns the message for an equality assertion (e.g. ASSERT_EQ, EXPECT_STREQ, etc) failure. The first four parameters are the expressio
test/gtest/gtest-all.cc:2484
↓ 5 callersFunctionFormatDeathTestOutput
Returns an indented copy of stderr output for a death test. This makes distinguishing death test output lines from regular log lines much easier.
test/gtest/gtest-all.cc:6987
↓ 5 callersMethodGaussian
include/singa/model/initializer.h:71
↓ 5 callersFunctionGenConvConf
examples/cpp/imagenet/alexnet.cc:38
↓ 5 callersFunctionGenPoolingConf
examples/cpp/cifar10/vgg-parallel.cc:68
↓ 5 callersMethodGetAllocatedMem
src/core/device/cuda_gpu.cc:177
↓ 5 callersFunctionGetBitValue
test/singa/test_cudnn_dropout.cc:28
↓ 5 callersFunctionGetLastErrnoDescription
Returns the message describing the last system error in errno.
test/gtest/gtest-all.cc:6798
↓ 5 callersFunctionInitChannel
src/utils/channel.cc:89
↓ 5 callersFunctionInt32FromEnvOrDie
Parses the environment variable var as an Int32. If it is unset, returns default_val. If it is not an Int32, prints an error and aborts.
test/gtest/gtest-all.cc:5910
↓ 5 callersFunctionMultColumn
Multiply column 'v' and each column of matrix M; write results into 'out'
src/core/tensor/tensor.cc:1471
↓ 5 callersFunctionPow
src/core/tensor/tensor_math.h:244
↓ 5 callersFunctionRowMax
src/core/tensor/tensor.cc:1256
↓ 5 callersFunctionSqrt
src/core/tensor/tensor_math.h:290
↓ 5 callersFunctionStringFromGTestEnv
Reads and returns the string environment variable corresponding to the given flag; if it's not set, returns default_value.
test/gtest/gtest-all.cc:9008
↓ 5 callersFunctionSum
src/core/tensor/tensor.cc:1229
↓ 5 callersMethodT
shallow copy. Returns: a new Tensor which shares the underlying data memory (shallow copy).
python/singa/tensor.py:472
↓ 5 callersFunctionTrain
examples/cpp/cifar10/cnn.cc:140
↓ 5 callersFunctionTransform
src/core/tensor/tensor_math.h:344
↓ 5 callersMethod__init__
(self, data_size=10, perceptron_size=100, num_classes=10)
test/python/test_model.py:82
↓ 5 callersFunctionabs
Args: t (Tensor): input Tensor Returns: a new Tensor whose element y = abs(x), x is an element of t
examples/model_selection/Trails/singa_pkg_code/tensor.py:910
↓ 5 callersFunctioncheck_dataset_exist
(dirpath)
examples/singa_peft/examples/data/mnist.py:27
↓ 5 callersMethodclone
Returns: a new Tensor which does deep copy of this tensor
python/singa/tensor.py:404
↓ 5 callersMethodcompile
Compile and initialize the model This function will automatically derive the shape of parameters in each sublayer based on the shape
python/singa/model.py:156
↓ 5 callersMethodcopy_data
Copy data from other Tensor instance. Args: t (Tensor): source Tensor.
examples/model_selection/Trails/singa_pkg_code/tensor.py:349
↓ 5 callersMethoddirty
include/singa/core/scheduler.h:169
↓ 5 callersMethodenhance
Apply random enhancement for Color,Contrast,Brightness,Sharpness. Args: scale(float): enhancement degree is from [1-scale, 1+scal
python/singa/image_tool.py:614
↓ 5 callersFunctionfabs
Absolute value. See also:** Documentation for [std::fabs](https://en.cppreference.com/w/cpp/numeric/math/fabs). \param arg operand \return absolute va
include/half.hpp:2728
↓ 5 callersFunctionfloor
Nearest integer not greater than half value. See also:** Documentation for [std::floor](https://en.cppreference.com/w/cpp/numeric/math/floor). \param
include/half.hpp:4053
↓ 5 callersMethodforward_gen
(self, x)
examples/gan/model/gan_mlp.py:60
↓ 5 callersMethodforward_gen
(self, x)
examples/singa_peft/examples/model/gan_mlp.py:60
↓ 5 callersMethodfused_all_reduce_half
Performs all reduce of the tensors after fusing and converting them to FP16. Args: tensor(List of Tensors): a list of tensors
python/singa/opt.py:775
↓ 5 callersFunctioninit_search_space
:param args: :param loapi: Local score API, records all scored arch, 101 use it to detect which arch is scored. :return:
examples/model_selection/Trails/internal/ml/model_selection/src/search_space/init_search_space.py:26
↓ 5 callersFunctioninit_xDesc
src/model/operation/rnn.cc:143
↓ 5 callersFunctioninit_yDesc
src/model/operation/rnn.cc:132
↓ 5 callersMethodinitialized
include/singa/core/common.h:85
↓ 5 callersMethodline
test/gtest/gtest.h:8406
↓ 5 callersFunctionlisteners
Provides access to the event listener list.
test/gtest/gtest-all.cc:1000
↓ 5 callersMethodload
(self, path, grayscale=False)
python/singa/image_tool.py:231
↓ 5 callersFunctionnext_offset
src/core/tensor/tensor_math_cpp.h:126
↓ 5 callersMethodoriginal_working_dir
Returns the working directory when the first TEST() or TEST_F() was executed.
test/gtest/gtest-all.cc:5418
↓ 5 callersFunctionproduct
(shape)
python/singa/tensor.py:814
↓ 5 callersFunctionproduct
(shape)
examples/model_selection/Trails/singa_pkg_code/tensor.py:783
↓ 5 callersMethodquery_200_epoch
(self, arch_id: str, dataset, epoch_num: int = 199)
examples/model_selection/Trails/internal/ml/model_selection/src/query_api/query_api_img.py:196
↓ 5 callersMethodrepeat
Repeat data of a tensor Args: repeats(int or a sequence): the number that the tensor need to repeat for axis (int):th
python/singa/tensor.py:411
↓ 5 callersMethodreset
test/gtest/gtest.h:2014
↓ 5 callersFunctionround
Nearest integer. See also:** Documentation for [std::round](https://en.cppreference.com/w/cpp/numeric/math/round). \param arg half to round \return ne
include/half.hpp:4069
↓ 5 callersMethodskip_iteration
the number of initial iteration that is skipped for time profiling
include/singa/core/device.h:121
↓ 5 callersMethodto_host
Move the tensor data onto the default host CppCPU device.
python/singa/tensor.py:321
↓ 5 callersMethodtrain
Set the model in evaluation mode. Args: mode(bool): when mode is True, this model will enter training mode
examples/model_selection/Trails/singa_pkg_code/model.py:233
↓ 5 callersFunctiontranspose
To transpose the tensor Args: t: input tensor axes: axes to transpose Returns: the transposed tensor
examples/model_selection/Trails/singa_pkg_code/tensor.py:818
↓ 4 callersMethodApply
src/model/optimizer/optimizer.cc:78
↓ 4 callersFunctionCmpHelperEQ
test/gtest/gtest.h:18851
↓ 4 callersFunctionComputeCrossEntropy
src/core/tensor/tensor.cc:1723
↓ 4 callersFunctionCpuPoolingForward
src/model/operation/pooling.cc:95
↓ 4 callersFunctionCreateLayer
include/singa/model/layer.h:238
↓ 4 callersMethodCudnnBatchNormHandle
src/model/operation/batchnorm.cc:261
↓ 4 callersMethodCudnnRNNHandle
src/model/operation/rnn.cc:27
↓ 4 callersFunctionFOpen
test/gtest/gtest.h:2879
↓ 4 callersMethodFailed
Returns true iff the test failed.
test/gtest/gtest-all.cc:3331
↓ 4 callersFunctionFormatCountableNoun
Formats a countable noun. Depending on its quantity, either the singular form or the plural form is used. e.g. FormatCountableNoun(1, "formula", "fo
test/gtest/gtest-all.cc:3963
↓ 4 callersFunctionFormatForComparisonFailureMessage
test/gtest/gtest.h:18844
↓ 4 callersFunctionFormatTestCount
Formats the count of tests.
test/gtest/gtest-all.cc:3971
↓ 4 callersFunctionGetElementOr
test/gtest/gtest-all.cc:703
↓ 4 callersMethodGetValue
src/core/tensor/tensor.cc:883
↓ 4 callersMethodL2
DEPRECATED use l2()
src/core/tensor/tensor.cc:846
↓ 4 callersMethodPush
* Push an element into the queue. Blocking operation. * @return true if success; */
include/singa/utils/safe_queue.h:45
← previousnext →301–400 of 5,531, ranked by callers