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
↓ 1 callers
Method
forward
(self, x)
examples/cifar_distributed_cnn/model/cnn.py:41
↓ 1 callers
Method
forward
(self, x)
examples/cifar_distributed_cnn/model/alexnet.py:55
↓ 1 callers
Method
forward
(self, x)
examples/cifar_distributed_cnn/model/xceptionnet.py:269
↓ 1 callers
Method
forward
(x)
examples/cifar_distributed_cnn/model/resnet.py:180
↓ 1 callers
Method
forward
Args: enc_inputs: [batch_size, src_len] dec_inputs: [batch_size, tgt_len]
examples/trans/model.py:61
↓ 1 callers
Method
forward
(self, x)
examples/singa_peft/examples/model/cnn.py:41
↓ 1 callers
Method
forward
(self, x)
examples/singa_peft/examples/model/lsgan_mlp.py:45
↓ 1 callers
Method
forward
(self, x)
examples/singa_peft/examples/model/alexnet.py:55
↓ 1 callers
Method
forward
(self, inputs)
examples/singa_peft/examples/model/mlp.py:42
↓ 1 callers
Method
forward
(self, inputs)
examples/singa_peft/examples/model/char_rnn.py:65
↓ 1 callers
Method
forward
Args: enc_inputs: [batch_size, src_len] dec_inputs: [batch_size, tgt_len]
examples/singa_peft/examples/model/trans.py:61
↓ 1 callers
Method
forward
(self, x)
examples/singa_peft/examples/model/gan_mlp.py:46
↓ 1 callers
Method
forward
(self, inputs)
examples/ms_model_mlp/model.py:100
↓ 1 callers
Method
forward
(self, inputs)
examples/mlp/model.py:45
↓ 1 callers
Method
forward
(self, x)
examples/cnn/model/cnn.py:41
↓ 1 callers
Method
forward
(self, x)
examples/cnn/model/alexnet.py:55
↓ 1 callers
Method
forward
(self, x)
examples/cnn/model/xceptionnet.py:269
↓ 1 callers
Method
forward
(x)
examples/cnn/model/resnet.py:180
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/resnet18.py:62
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/vgg16.py:63
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/squeezenet.py:63
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/shufflenetv1.py:61
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/mobilenet.py:63
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/superresolution.py:56
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/tiny_yolov2.py:117
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/shufflenetv2.py:63
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/fer_emotion.py:58
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/arcface.py:61
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/densenet121.py:63
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/vgg19.py:63
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/ro_bert_a/ro_bert_a.py:51
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/bert/bert-squad.py:94
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/training/train.py:117
↓ 1 callers
Method
forward
(self, *x)
examples/onnx/gpt2/gpt2.py:59
↓ 1 callers
Method
forward
(self, inputs)
examples/rnn/char_rnn.py:65
↓ 1 callers
Method
forward
(self, x)
examples/rnn/imdb_model.py:43
↓ 1 callers
Method
forward
(self, inputs)
examples/cnn_ms/msmlp/model.py:101
↓ 1 callers
Method
forward
(self, x)
examples/cnn_ms/model/cnn.py:41
↓ 1 callers
Method
forward
(self, x)
examples/cnn_ms/model/alexnet.py:55
↓ 1 callers
Method
forward
(self, x)
examples/cnn_ms/model/xceptionnet.py:269
↓ 1 callers
Method
forward
(x)
examples/cnn_ms/model/resnet.py:180
↓ 1 callers
Method
forward_gen
(self, x)
examples/gan/model/lsgan_mlp.py:58
↓ 1 callers
Method
forward_gen
(self, x)
examples/singa_peft/examples/model/lsgan_mlp.py:58
↓ 1 callers
Method
forward_w_mask
(self, x)
examples/model_selection/Trails/internal/ml/model_selection/src/search_space/mlp_api/space.py:444
↓ 1 callers
Method
forward_wrapper
(func)
python/singa/layer.py:55
↓ 1 callers
Method
forwarding_enabled
Controls whether events will be forwarded to listeners_. Set to false in death test child processes.
test/gtest/gtest-all.cc:4392
↓ 1 callers
Method
freeze_base_parameters
r""" freeze the weights of the base model Args: base_model: the base model
examples/singa_peft/src/singa_peft/tuners/base_tuner.py:59
↓ 1 callers
Method
freeze_pretrained_weight
(self, freeze: bool = True)
examples/singa_peft/src/singa_peft/tuners/linear_lora/layer.py:83
↓ 1 callers
Function
frexp
Decompress floating-point number. See also:** Documentation for [std::frexp](https://en.cppreference.com/w/cpp/numeric/math/frexp). \param arg number
include/half.hpp:4128
↓ 1 callers
Method
from_onnx
(args)
python/singa/sonnx.py:1030
↓ 1 callers
Method
fusedSynch
src/io/communicator.cc:212
↓ 1 callers
Method
fusedSynchHalf
src/io/communicator.cc:330
↓ 1 callers
Function
gemm
Init a General Matrix multiplication(Gemm) operator. Compute `Y = alpha * A' * B' + beta * C`, where input tensor A has shape (M, K) or (K, M
python/singa/autograd.py:3772
↓ 1 callers
Method
generate_all_ones_embedding
Only for the MLP Returns:
examples/model_selection/Trails/internal/ml/model_selection/src/search_space/mlp_api/space.py:267
↓ 1 callers
Method
generate_arch
(self, config)
examples/model_selection/Trails/internal/ml/model_selection/src/search_space/mlp_api/rl_policy.py:27
↓ 1 callers
Function
generate_data_loader
()
examples/model_selection/Trails/internal/ml/model_selection/main.py:28
↓ 1 callers
Function
generate_data_loader
()
examples/model_selection/Trails/internal/ml/model_selection/exps/4.seq_score_online.py:26
↓ 1 callers
Function
generate_dim_cuda
src/core/tensor/tensor_math_cuda.h:78
↓ 1 callers
Function
generate_proto_files
()
setup.py:202
↓ 1 callers
Function
generate_singa_config
Generate singa_config.h file to define some macros for the cpp code. Args: with_cuda(bool): indicator for cudnn and cuda lib with
setup.py:140
↓ 1 callers
Function
generate_strides_cuda
cudnn requires stride dimensions to conform to the format of the shape input as well 1.) Stride dimensions to be set to a minimum of 4 for 4d an
src/core/tensor/tensor_math_cuda.h:102
↓ 1 callers
Function
get
test/gtest/gtest.h:1570
↓ 1 callers
Method
getEp
src/io/network/endpoint.cc:135
↓ 1 callers
Function
getHostHash
src/io/communicator.cc:30
↓ 1 callers
Function
getHostName
src/io/communicator.cc:39
↓ 1 callers
Method
getMetadata
src/io/network/message.cc:78
↓ 1 callers
Method
getNewEps
src/io/network/endpoint.cc:185
↓ 1 callers
Method
getOrCreateEp
src/io/network/endpoint.cc:127
↓ 1 callers
Method
getPayload
src/io/network/message.cc:86
↓ 1 callers
Method
get_all_scored_model_ids
(self)
examples/model_selection/Trails/internal/ml/model_selection/src/query_api/query_api_mlp.py:125
↓ 1 callers
Method
get_all_trained_model_ids
(self)
examples/model_selection/Trails/internal/ml/model_selection/src/query_api/query_api_mlp.py:122
↓ 1 callers
Function
get_cpp_flags
()
setup.py:192
↓ 1 callers
Function
get_data
(data, data_dist="iid", device_id=None)
examples/hfl/src/client.py:186
↓ 1 callers
Function
get_data_from_shared_memory_int
(n_rows)
examples/model_selection/Trails/internal/ml/model_selection/pg_interface.py:636
↓ 1 callers
Function
get_data_from_shared_memory_int
(n_rows)
examples/model_selection/Trails/internal/ml/model_slicing/pg_interface.py:343
↓ 1 callers
Function
get_final_text
Project the tokenized prediction back to the original text.
examples/onnx/bert/run_onnx_squad.py:388
↓ 1 callers
Method
get_global_rank_score
(self, arch_id)
examples/model_selection/Trails/internal/ml/model_selection/src/query_api/query_api_mlp.py:166
↓ 1 callers
Function
get_idx2vec_weights
(wv, idx2word)
examples/qabot/qabot_data.py:168
↓ 1 callers
Function
get_idx2word
(data_dir)
examples/qabot/qabot_data.py:72
↓ 1 callers
Function
get_image
()
examples/onnx/superresolution.py:44
↓ 1 callers
Function
get_image
()
examples/onnx/arcface.py:45
↓ 1 callers
Function
get_image_labe
()
examples/onnx/resnet18.py:46
↓ 1 callers
Function
get_image_labe
()
examples/onnx/vgg16.py:46
↓ 1 callers
Function
get_image_labe
()
examples/onnx/mobilenet.py:46
↓ 1 callers
Function
get_image_labe
()
examples/onnx/fer_emotion.py:41
↓ 1 callers
Function
get_image_labe
()
examples/onnx/vgg19.py:46
↓ 1 callers
Function
get_image_label
()
examples/onnx/squeezenet.py:46
↓ 1 callers
Function
get_image_label
()
examples/onnx/shufflenetv1.py:46
↓ 1 callers
Function
get_image_label
()
examples/onnx/shufflenetv2.py:46
↓ 1 callers
Function
get_image_label
()
examples/onnx/densenet121.py:46
↓ 1 callers
Function
get_label2answer
(data_dir)
examples/qabot/qabot_data.py:48
↓ 1 callers
Method
get_len_data
(self)
examples/model_selection/Trails/internal/ml/model_selection/src/query_api/query_api_img.py:147
↓ 1 callers
Function
get_model
(model, num_channels=None, num_classes=None, data_size=None)
examples/hfl/src/client.py:194
↓ 1 callers
Function
get_output_shape
return output shape of conv2d or pooling, ! borrow from onnx Args: auto_pad: string input_spatial_shape: list[int]
python/singa/utils.py:189
↓ 1 callers
Function
get_padding_shape
return padding shape of conv2d or pooling, Args: pad_mode: string kernel_spatial_shape: list[int] strides_spatial: li
python/singa/utils.py:159
↓ 1 callers
Method
get_params
Get parameters of this layer and all sublayers Returns: parameters(dict): A dictionary contains parameter names and
python/singa/layer.py:111
↓ 1 callers
Method
get_params
(self)
python/singa/layer.py:454
↓ 1 callers
Method
get_params
(self)
python/singa/layer.py:872
↓ 1 callers
Method
get_params
(self)
python/singa/layer.py:1370
↓ 1 callers
Method
get_params
(self)
python/singa/layer.py:1657
← previous
next →
1,701–1,800 of 5,531, ranked by callers