MCPcopy Create free account

hub / github.com/apache/singa / functions

Functions5,531 in github.com/apache/singa

↓ 4 callersMethodSend
src/utils/channel.cc:77
↓ 4 callersMethodSetLearningRateGenerator
The argument is a function that returns the learning rate given the current step (i.e., curren running iteration).
include/singa/model/optimizer.h:81
↓ 4 callersMethodSetMomentumGenerator
The argument function returns the momentum value given the current running step (i.e., iterations/mini-batches).
include/singa/model/optimizer.h:187
↓ 4 callersMethodSetSkipIteration
include/singa/core/device.h:127
↓ 4 callersMethodSetTestPartResultReporterForCurrentThread
Sets the test part result reporter for the current thread.
test/gtest/gtest-all.cc:2186
↓ 4 callersMethodSet_a
src/model/layer/prelu.h:53
↓ 4 callersFunctionStrDup
test/gtest/gtest.h:2818
↓ 4 callersFunctionSubColumn
src/core/tensor/tensor.cc:1504
↓ 4 callersMethodTrainThread
A wrapper method to spawn a thread to execute Train() method.
include/singa/model/feed_forward_net.h:135
↓ 4 callersMethodUniform
include/singa/model/initializer.h:57
↓ 4 callersMethod__init__
(self, lr=0.1, momentum=0, dampening=0, we
python/singa/opt.py:216
↓ 4 callersFunction_ctensor_eq_ndarray
(t1, np1)
test/python/test_api.py:75
↓ 4 callersMethod_forward_helper
(self, dev, is_train, use_graph, sequential)
test/python/test_model.py:426
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/model/resnet.py:157
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
examples/largedataset_cnn/model/resnet.py:157
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
examples/cifar_distributed_cnn/model/resnet.py:157
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
examples/cnn/model/resnet.py:157
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1)
examples/cnn_ms/model/resnet.py:157
↓ 4 callersMethod_rnn_helper
(self, mode)
test/python/test_api.py:784
↓ 4 callersMethod_save_states_load_states_helper
(self, dev, graph_flag="False")
test/python/test_model.py:259
↓ 4 callersFunctionaccuracy
(pred, target)
examples/healthcare/application/Cardiovascular_Disease/train.py:50
↓ 4 callersFunctionaccuracy
(pred, target)
examples/singa_peft/examples/train.py:50
↓ 4 callersFunctionangle_arg
Reduce argument for trigonometric functions. \param abs half-precision floating-point value \param k value to take quarter period \return \a abs reduc
include/half.hpp:1604
↓ 4 callersFunctionappendInteger
include/singa/io/integer.h:57
↓ 4 callersFunctionarithmetic_shift
Platform-independent arithmetic right shift. \param arg integer value in two's complement \param i shift amount (at most 31) \return \a arg right shif
include/half.hpp:605
↓ 4 callersFunctionatan2
Fixed point arc tangent. This uses the CORDIC algorithm in vectoring mode. \param my y coordinate as Q0.30 \param mx x coordinate as Q0.30 \param n nu
include/half.hpp:1582
↓ 4 callersFunctionbinary_insert_get_rank
Insert the new_item to rank_list, then get the rank of it. :param rank_list: :param new_item: :return:
examples/model_selection/Trails/internal/ml/model_selection/src/controller/controler.py:36
↓ 4 callersFunctionc_str
test/gtest/gtest.h:3565
↓ 4 callersFunctionceil
Nearest integer not less than half value. See also:** Documentation for [std::ceil](https://en.cppreference.com/w/cpp/numeric/math/ceil). \param arg h
include/half.hpp:4045
↓ 4 callersFunctioncheck_dataset_exist
(dirpath)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/data/mnist.py:27
↓ 4 callersFunctioncheck_dataset_exist
(dirpath)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/mnist_cnn.py:62
↓ 4 callersFunctioncheck_dataset_exist
(dirpath)
examples/largedataset_cnn/autograd/mnist_cnn.py:62
↓ 4 callersFunctioncheck_dataset_exist
(dirpath)
examples/cifar_distributed_cnn/data/mnist.py:27
↓ 4 callersFunctioncheck_dataset_exist
(dirpath)
examples/cifar_distributed_cnn/autograd/mnist_cnn.py:62
↓ 4 callersFunctioncheck_dataset_exist
(dirpath)
examples/singa_peft/examples/autograd/mnist_cnn.py:62
↓ 4 callersFunctioncheck_dataset_exist
(dirpath)
examples/cnn/data/mnist.py:27
↓ 4 callersFunctioncheck_dataset_exist
(dirpath)
examples/cnn/autograd/mnist_cnn.py:62
↓ 4 callersFunctioncheck_dataset_exist
(dirpath)
examples/cnn_ms/data/mnist.py:27
↓ 4 callersFunctioncheck_dataset_exist
(dirpath)
examples/cnn_ms/autograd/mnist_cnn.py:62
↓ 4 callersFunctioncheck_exist_or_download
(url)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/data/download_mnist.py:24
↓ 4 callersFunctioncheck_exist_or_download
(url)
examples/cifar_distributed_cnn/data/download_mnist.py:24
↓ 4 callersFunctioncheck_exist_or_download
(url)
examples/cnn/data/download_mnist.py:24
↓ 4 callersFunctioncheck_exist_or_download
(url)
examples/cnn_ms/data/download_mnist.py:24
↓ 4 callersMethodcompile
Compile and initialize the model This function will automatically derive the shape of parameters in each sublayer based on the shape
examples/model_selection/Trails/singa_pkg_code/model.py:179
↓ 4 callersFunctionconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
examples/onnx/bert/tokenization.py:132
↓ 4 callersMethodcopy
shallow copy calls copy constructor of singa::Tensor Returns: new tensor copied
python/singa/tensor.py:480
↓ 4 callersMethodcopy
test/gtest/gtest.h:9163
↓ 4 callersMethodcrop_shape
include/singa/io/transformer.h:65
↓ 4 callersMethoddeserialize
(cls, data_str: str)
examples/model_selection/Trails/internal/ml/model_selection/src/common/structure.py:39
↓ 4 callersMethoddevice_check
(self, *inputs)
python/singa/opt.py:146
↓ 4 callersMethodfully_train_arch
Args: model: use_test_acc: epoch_num: how many epoch, set by scheduler train_loader:
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase2/algo/trainer.py:313
↓ 4 callersMethodfused_sparsification
Performs all reduce of the tensors after fusing and sparsification. Args: tensor(List of Tensors): a list of tensors to be al
python/singa/opt.py:803
↓ 4 callersFunctiongenerate_shape_multipliers
generate shape multipliers for e.g. tensor of shape (3,3), stride (1,3) will have shape multipliers of (3,1) for e.g. tensor of shape (3,3), stride (3
src/core/tensor/tensor_math_cpp.h:61
↓ 4 callersFunctiongenerate_traversal_info
generate a traversal_info vector based on the tensor's shape for the traverse_next function to work
src/core/tensor/tensor_math_cpp.h:44
↓ 4 callersMethodgradients_check
(self, func, param, autograds,
test/python/test_operation.py:348
↓ 4 callersMethodhe_uniform
(self, dev)
test/python/test_initializer.py:47
↓ 4 callersMethodimage_dim_order
include/singa/io/encoder.h:55
↓ 4 callersMethodkey
Gets the user supplied key.
test/gtest/gtest.h:17886
↓ 4 callersFunctionldexp
Multiply by power of two. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::ldexp](https://en.cppreferen
include/half.hpp:4185
↓ 4 callersFunctionload_image_path
(list)
examples/malaria_cnn/data/malaria.py:86
↓ 4 callersFunctionload_image_path
(list)
examples/healthcare/data/malaria.py:86
↓ 4 callersFunctionmake_loader
(X, y, transformer=None, batch_size=64)
examples/model_selection/Trails/internal/ml/model_selection/src/dataset_utils/structure_data_loader.py:214
↓ 4 callersFunctionmake_tuple
test/gtest/gtest.h:1308
↓ 4 callersFunctionmult
Do matrix-matrix or matrix-vector multiplication. This function returns C = alpha * A * B + beta * C Currently below cases are supported
python/singa/tensor.py:1302
↓ 4 callersMethodnum_filters
src/model/layer/convolution.h:62
↓ 4 callersMethodoffset
include/singa/core/common.h:78
↓ 4 callersFunctiononnx_type_to_singa_type
(onnx_type)
python/singa/sonnx.py:64
↓ 4 callersMethodparam_values
src/model/layer/rnn.h:66
↓ 4 callersFunctionparse_arguments
()
examples/model_selection/Trails/internal/ml/model_selection/exps/shared_args.py:179
↓ 4 callersMethodpre_calculate_epoch_required
(K: int, U: int, eta: int=3, max_unit_per_model: int=200)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase2/run_sh.py:34
↓ 4 callersMethodpre_calculate_time_required
(self, K, U)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase2/run_sh.py:106
↓ 4 callersFunctionprepare_inputs_targets_for_rnn_test
(dev)
test/python/test_operation.py:61
↓ 4 callersFunctionrandom
Gets the random number generator.
test/gtest/gtest-all.cc:1202
↓ 4 callersFunctionrelu
Relu means rectified linear function, i.e, y = max(0, x) is applied to the CTensors elementwise. Args: x (Tensor): input tensor.
python/singa/autograd.py:442
↓ 4 callersMethodrepeater
Returns repeater that broadcasts the TestEventListener events to all subscribers.
test/gtest/gtest-all.cc:5072
↓ 4 callersMethodreset_states
(self, dev)
examples/singa_peft/examples/model/char_rnn.py:53
↓ 4 callersMethodreset_states
(self, dev)
examples/rnn/char_rnn.py:53
↓ 4 callersFunctionresize_dataset
(x, image_size)
examples/singa_peft/examples/train.py:85
↓ 4 callersMethodserialize_model_encoding
(cls, arch_micro: ModelMicroCfg)
examples/model_selection/Trails/internal/ml/model_selection/src/search_space/mlp_api/space.py:474
↓ 4 callersMethodset_bnBias
src/model/layer/batchnorm.h:63
↓ 4 callersMethodset_bnScale
src/model/layer/batchnorm.h:59
↓ 4 callersMethodset_runningMean
src/model/layer/batchnorm.h:67
↓ 4 callersMethodset_runningVariance
src/model/layer/batchnorm.h:71
↓ 4 callersFunctionsincos
Fixed point sine and cosine. This uses the CORDIC algorithm in rotation mode. \param mz angle in [-pi/2,pi/2] as Q1.30 \param n number of iterations (
include/half.hpp:1558
↓ 4 callersFunctionsum
Sum of tensor elements over given axis Args: t: Singa.tensor The array_like tensor to be sumed axis: None or int or t
python/singa/tensor.py:1044
↓ 4 callersMethodtest_to_run_count
Gets the number of tests that should run.
test/gtest/gtest-all.cc:2244
↓ 4 callersMethodtrain_one_batch_dis
(self, x, y)
examples/gan/model/gan_mlp.py:78
↓ 4 callersMethodtrain_one_batch_dis
(self, x, y)
examples/singa_peft/examples/model/gan_mlp.py:78
↓ 4 callersFunctiontraverse_next
function to traverse a const strided tensor object it requires an additional vector, traversal_info {0,0,0,0 ...}, comprising (x.shape().size()+2) ele
src/core/tensor/tensor_math_cpp.h:116
↓ 4 callersFunctionuci_folder_to_name
(f)
examples/model_selection/Trails/internal/ml/model_selection/src/dataset_utils/structure_data_loader.py:233
↓ 4 callersMethodwait
Wait for the cuda streams used by the communicator to finish their operations.
python/singa/opt.py:822
↓ 3 callersFunctionAdd
src/core/tensor/tensor_math.h:125
↓ 3 callersMethodAddTestPartResult
Adds a test part result to the list.
test/gtest/gtest-all.cc:3211
↓ 3 callersFunctionArrayAsVector
test/gtest/gtest-all.cc:3269
↓ 3 callersMethodAsType
src/model/feed_forward_net.cc:125
↓ 3 callersFunctionAssertionResult
Used in the EXPECT_TRUE/FALSE(bool_expression).
test/gtest/gtest.h:17675
↓ 3 callersFunctionBernoulli
src/core/tensor/tensor.cc:1541
↓ 3 callersFunctionCaptureStderr
Starts capturing stderr.
test/gtest/gtest-all.cc:8869
↓ 3 callersFunctionCheckDataTypeAndLang
include/singa/core/tensor.h:323
↓ 3 callersMethodClear
Clears the object.
test/gtest/gtest-all.cc:3323
← previousnext →401–500 of 5,531, ranked by callers