MCPcopy Create free account

hub / github.com/apache/singa / functions

Functions5,531 in github.com/apache/singa

↓ 1 callersFunctionconfig2topology_func
(max_nodes=4)
examples/model_selection/Trails/internal/ml/model_selection/src/controller/sampler_bohb/bohb_or.py:63
↓ 1 callersMethodconnect_to_db
(self)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/evaluator.py:414
↓ 1 callersFunctionconvert_examples_to_features
Loads a data file into a list of `InputBatch`s.
examples/onnx/bert/run_onnx_squad.py:117
↓ 1 callersMethodconvert_tokens_to_ids
(self, tokens)
examples/onnx/bert/tokenization.py:174
↓ 1 callersFunctioncoordinator
(params: dict, args: Namespace)
examples/model_selection/Trails/internal/ml/model_selection/pg_interface.py:197
↓ 1 callersMethodcopy
shallow copy calls copy constructor of singa::Tensor Returns: new tensor copied
examples/model_selection/Trails/singa_pkg_code/tensor.py:449
↓ 1 callersMethodcopy_data
Copy data from other Tensor instance. Args: t (Tensor): source Tensor.
python/singa/tensor.py:380
↓ 1 callersFunctioncopy_from_numpy
Copy the data from the numpy array. used as static method Args: data: singa ctensor np_array: source numpy array
python/singa/tensor.py:1777
↓ 1 callersFunctioncopy_from_numpy
Copy the data from the numpy array. used as static method Args: data: singa ctensor np_array: source numpy array
examples/model_selection/Trails/singa_pkg_code/tensor.py:1742
↓ 1 callersFunctioncos
Cosine function. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::cos](https://en.cppreference.com/w/cp
include/half.hpp:3563
↓ 1 callersFunctioncreate_cuda_gpu_on
Create a CudaGPU device on the given device ID. Args: device_id (int): GPU card ID. Returns: a swig converted CudaGPU device
python/singa/device.py:103
↓ 1 callersFunctioncreate_cuda_gpus_on
Create a list of CudaGPU devices. Args: device_ids (list): a list of GPU card IDs. Returns: a list of swig converted CudaGPU
python/singa/device.py:90
↓ 1 callersMethodcrop3
Crop a max square patch of the input image at given position and scale it into given size. According to img size, crop position could
python/singa/image_tool.py:407
↓ 1 callersFunctioncrop_and_resize
Crop a max square patch of the input image at given position and resize it into given size. Args: patch(tuple): width, height
python/singa/image_tool.py:86
↓ 1 callersFunctioncustomize_compiler_for_nvcc
Inject deep into distutils to customize how the dispatch to gcc/nvcc works. If you subclass UnixCCompiler, it's not trivial to get your subcla
setup.py:306
↓ 1 callersMethoddata_pre_processing
To measure the io/compute time more acccuretely, we pick the data pre_processing here.
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/concurrent_evaluator.py:196
↓ 1 callersFunctiondata_set_config
(parser)
examples/model_selection/Trails/internal/ml/model_selection/exps/shared_args.py:125
↓ 1 callersFunctiondb4nas
(parser)
examples/model_selection/Trails/internal/ml/model_selection/exps/shared_args.py:158
↓ 1 callersFunctiondecode_libsvm
(columns)
examples/model_selection/Trails/internal/ml/model_slicing/pg_interface.py:217
↓ 1 callersFunctiondecode_libsvm
(columns)
examples/model_selection/Trails/internal/ml/model_slicing/profile_preprocess.py:24
↓ 1 callersMethoddecode_libsvm
(self, columns)
examples/model_selection/Trails/internal/cache-service/cache_service.py:67
↓ 1 callersMethoddecode_libsvm
(columns)
examples/model_selection/Trails/internal/ml/model_selection/pg_interface.py:64
↓ 1 callersMethoddeepcopy
Same as clone(). Returns: a new Tensor
python/singa/tensor.py:488
↓ 1 callersMethoddel_weight_inputs
(self, key)
python/singa/sonnx.py:1019
↓ 1 callersFunctiondetermine_order
this function checks whether the next index falls on a special multiplier of the outer shape so the algorithm knows when to jump over/back to a starti
src/core/tensor/tensor_math_cpp.h:90
↓ 1 callersMethoddirection
src/model/layer/rnn.h:76
↓ 1 callersFunctiondis_train_all_models
(parser)
examples/model_selection/Trails/internal/ml/model_selection/exps/shared_args.py:148
↓ 1 callersFunctiondo_train
batch size need to be large to see all negative ans
examples/qabot/qabot_train.py:31
↓ 1 callersFunctiondownload
(url, output_path)
examples/model_selection/Trails/internal/ml/model_selection/src/dataset_utils/download_critero_and_avazu.py:32
↓ 1 callersFunctiondownload_data
(gzfile, url)
examples/gan/utils.py:48
↓ 1 callersFunctioneltwise_mult
Elementi-wise multiplication. Args: lhs (Tensor): lhs tensor rhs (Tensor): rhs tensor ret (Tensor, optional): if not None
python/singa/tensor.py:1278
↓ 1 callersFunctioneltwise_mult
Elementi-wise multiplication. Args: lhs (Tensor): lhs tensor rhs (Tensor): rhs tensor ret (Tensor, optional): if not None
examples/model_selection/Trails/singa_pkg_code/tensor.py:1243
↓ 1 callersFunctionembedding
Produces an embedding operator. Args: Returns: the output Tensor.
python/singa/autograd.py:5715
↓ 1 callersFunctionencode
(df)
examples/hfl/src/bank.py:30
↓ 1 callersMethodend
(self)
python/singa/data.py:118
↓ 1 callersFunctionenhance
Apply random enhancement for Color,Contrast,Brightness,Sharpness. Args: scale(float): enhancement degree is from [1-scale, 1+scale]
python/singa/image_tool.py:172
↓ 1 callersFunctionequal
Return `a=b`, where a and b are Tensor.
python/singa/autograd.py:988
↓ 1 callersMethodeval
Sets the model in evaluation mode.
examples/model_selection/Trails/singa_pkg_code/model.py:242
↓ 1 callersFunctionevaluate
(model, data, batch_size, seq_length, dev, inputs, labels)
examples/singa_peft/examples/model/char_rnn.py:197
↓ 1 callersFunctionevaluate
(model, data, batch_size, seq_length, dev, inputs, labels)
examples/rnn/char_rnn.py:197
↓ 1 callersFunctionextract_tarfile
(filepath)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/data/download_cifar10.py:29
↓ 1 callersFunctionextract_tarfile
(filepath)
examples/cpp/cifar10/download_data.py:30
↓ 1 callersFunctionextract_tarfile
(filepath)
examples/cifar_distributed_cnn/data/download_cifar10.py:29
↓ 1 callersFunctionextract_tarfile
(filepath)
examples/cnn/data/download_cifar10.py:29
↓ 1 callersFunctionextract_tarfile
(filepath)
examples/cnn_ms/data/download_cifar10.py:29
↓ 1 callersMethodfeatures
(self, input)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/model/xceptionnet.py:232
↓ 1 callersMethodfeatures
(self, input)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/xceptionnet.py:237
↓ 1 callersMethodfeatures
(self, input)
examples/largedataset_cnn/model/xceptionnet.py:232
↓ 1 callersMethodfeatures
(self, input)
examples/largedataset_cnn/autograd/xceptionnet.py:237
↓ 1 callersMethodfeatures
(self, input)
examples/cifar_distributed_cnn/model/xceptionnet.py:232
↓ 1 callersMethodfeatures
(self, input)
examples/cifar_distributed_cnn/autograd/xceptionnet.py:237
↓ 1 callersMethodfeatures
(self, input)
examples/singa_peft/examples/autograd/xceptionnet.py:237
↓ 1 callersMethodfeatures
(self, input)
examples/cnn/model/xceptionnet.py:232
↓ 1 callersMethodfeatures
(self, input)
examples/cnn/autograd/xceptionnet.py:237
↓ 1 callersMethodfeatures
(self, input)
examples/cnn_ms/model/xceptionnet.py:232
↓ 1 callersMethodfeatures
(self, input)
examples/cnn_ms/autograd/xceptionnet.py:237
↓ 1 callersMethodfeaturewise_center
include/singa/io/transformer.h:59
↓ 1 callersMethodfeaturewise_std_norm
include/singa/io/transformer.h:60
↓ 1 callersFunctionferaiseexcept
Raise exception flags. This raises the specified floating point exceptions and also invokes any additional automatic exception handling as configured
include/half.hpp:4512
↓ 1 callersFunctionfetch_and_preprocess
(conn, batch_size, database)
examples/model_selection/Trails/internal/ml/model_slicing/baseline_int.py:58
↓ 1 callersMethodfetch_and_preprocess
(self, conn)
examples/model_selection/Trails/internal/cache-service/cache_service.py:109
↓ 1 callersFunctionfetch_data
(database, batch_size)
examples/model_selection/Trails/internal/ml/model_slicing/baseline_int.py:75
↓ 1 callersFunctionfiltering_phase_dataLoader
(params: dict, args: Namespace)
examples/model_selection/Trails/internal/ml/model_selection/pg_interface.py:248
↓ 1 callersMethodfinalize_options
(self)
setup.py:111
↓ 1 callersMethodfit_sampler
Fit the sampler with architecture's score. :param score: :return:
examples/model_selection/Trails/internal/ml/model_selection/src/controller/core/sample.py:42
↓ 1 callersFunctionflatten
Flattens the input tensor into a 2D matrix. If input tensor has shape `(d_0, d_1, ... d_n)` then the output will have shape `(d_0 X d_1 ...
python/singa/autograd.py:1426
↓ 1 callersMethodforward
Forward propagation. Args: xs: input args consisting of only CTensors. Returns: CTensor instance(s)
python/singa/autograd.py:322
↓ 1 callersMethodforward
Forward propagation Args: *input: input arguments consisting of only PyTensors Returns: PyTensor instance(s)
python/singa/layer.py:98
↓ 1 callersMethodforward
(self, x)
test/python/test_model.py:60
↓ 1 callersMethodforward
(self, inputs)
test/python/test_model.py:92
↓ 1 callersMethodforward
(self, inputs)
examples/model_selection/Trails/internal/ml/model_selection/src/search_space/mlp_api/space.py:253
↓ 1 callersMethodforward
(self, inputs)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/msmlp/model.py:97
↓ 1 callersMethodforward
(self, inputs)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/ms_model_mlp/model.py:100
↓ 1 callersMethodforward
(self, x)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/model/cnn.py:41
↓ 1 callersMethodforward
(self, x)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/model/alexnet.py:55
↓ 1 callersMethodforward
(self, x)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/model/xceptionnet.py:269
↓ 1 callersMethodforward
(x)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/model/resnet.py:180
↓ 1 callersMethodforward
(self, x)
examples/malaria_cnn/model/cnn.py:43
↓ 1 callersMethodforward
(self, inputs)
examples/malaria_cnn/model/mlp.py:44
↓ 1 callersMethodforward
(self, inputs)
examples/msmlp/model.py:97
↓ 1 callersMethodforward
(self, inputs)
examples/hfl/src/mlp.py:41
↓ 1 callersMethodforward
Args: img (PIL Image or numpy array): Image to be processed. Returns: PIL Image or numpy array: Processed im
examples/healthcare/data/bloodmnist.py:44
↓ 1 callersMethodforward
(self, x)
examples/healthcare/models/malaria_net.py:51
↓ 1 callersMethodforward
(self, inputs)
examples/healthcare/models/malaria_net.py:100
↓ 1 callersMethodforward
(self, inputs)
examples/healthcare/models/candidiasis_net.py:45
↓ 1 callersMethodforward
(self, inputs)
examples/healthcare/models/kidney_net.py:45
↓ 1 callersMethodforward
(self, x)
examples/healthcare/models/hematologic_net.py:64
↓ 1 callersMethodforward
(self, inputs)
examples/healthcare/models/diabetic_net.py:45
↓ 1 callersMethodforward
(self, x)
examples/healthcare/models/diabetic_retinopthy_net.py:43
↓ 1 callersMethodforward
(self, inputs)
examples/healthcare/models/cardionet.py:45
↓ 1 callersMethodforward
(self, inputs)
examples/healthcare/models/cerebrovascular_net.py:45
↓ 1 callersMethodforward
(self, feat)
examples/healthcare/models/tedct_net.py:38
↓ 1 callersMethodforward
(self, x)
examples/healthcare/models/tedct_net.py:99
↓ 1 callersMethodforward
(self, x)
examples/healthcare/models/tedct_net.py:131
↓ 1 callersMethodforward
(self, x)
examples/largedataset_cnn/model/cnn.py:41
↓ 1 callersMethodforward
(self, x)
examples/largedataset_cnn/model/alexnet.py:55
↓ 1 callersMethodforward
(self, x)
examples/largedataset_cnn/model/xceptionnet.py:269
↓ 1 callersMethodforward
(x)
examples/largedataset_cnn/model/resnet.py:180
↓ 1 callersMethodforward
(self, x)
examples/gan/model/lsgan_mlp.py:45
↓ 1 callersMethodforward
(self, x)
examples/gan/model/gan_mlp.py:46
← previousnext →1,601–1,700 of 5,531, ranked by callers