MCPcopy Create free account

hub / github.com/apache/singa / functions

Functions5,531 in github.com/apache/singa

↓ 2 callersFunctionload_dataset
(filepath)
examples/cnn/data/cifar100.py:30
↓ 2 callersFunctionload_dataset
(filepath)
examples/cnn/data/cifar10.py:30
↓ 2 callersFunctionload_dataset
(filepath)
examples/cnn/autograd/resnet_cifar10.py:37
↓ 2 callersFunctionload_dataset
(filepath)
examples/cnn_ms/data/cifar100.py:30
↓ 2 callersFunctionload_dataset
(filepath)
examples/cnn_ms/data/cifar10.py:30
↓ 2 callersFunctionload_dataset
(filepath)
examples/cnn_ms/autograd/resnet_cifar10.py:37
↓ 2 callersFunctionload_image_path
(image_pths)
examples/healthcare/data/diaret.py:50
↓ 2 callersFunctionload_model
Args: tensorboard_path: the path of the directory of tensorboard
examples/model_selection/Trails/internal/ml/model_slicing/baseline_int.py:92
↓ 2 callersFunctionload_uci_dataset
(folder, train=True)
examples/model_selection/Trails/internal/ml/model_selection/src/dataset_utils/structure_data_loader.py:239
↓ 2 callersFunctionmain
(xargs, api)
examples/model_selection/Trails/internal/ml/model_selection/src/controller/sampler_bohb/bohb_or.py:108
↓ 2 callersFunctionmatmul4d
(x1, x2)
examples/trans/model.py:361
↓ 2 callersFunctionmatmul4d
(x1, x2)
examples/singa_peft/examples/model/trans.py:359
↓ 2 callersMethodmatmul_high_dim_helper
(self, dev)
test/python/test_tensor.py:165
↓ 2 callersMethodmerge_weights
(self, mode=True)
examples/singa_peft/src/singa_peft/peft_model.py:66
↓ 2 callersFunctionmirror
src/io/image_transformer.cc:273
↓ 2 callersMethodmutate_architecture
(self, parent_arch: ModelMicroCfg)
examples/model_selection/Trails/internal/ml/model_selection/src/search_space/mlp_api/space.py:812
↓ 2 callersMethodnew_architecture
(self, arch_id: str)
examples/model_selection/Trails/internal/ml/model_selection/src/search_space/mlp_api/space.py:502
↓ 2 callersMethodnoneZero_test
(self, dev)
test/python/test_operation.py:3076
↓ 2 callersMethodnumpy_forward
(self, inputs)
test/python/test_model.py:369
↓ 2 callersMethodonSend
src/io/network/endpoint.cc:512
↓ 2 callersMethodonehot_test
(self, dev)
test/python/test_operation.py:3120
↓ 2 callersMethodoutput_name
Args: idx: index of the output among all outputs Return: the name of the output tensor
python/singa/autograd.py:250
↓ 2 callersMethodoutput_name
(self, idx)
python/singa/autograd.py:357
↓ 2 callersFunctionpad_batch_2vec
convert a batch of encoded sequence to pretrained word vectors from the embed weights (lookup dictionary)
examples/rnn/imdb_data.py:68
↓ 2 callersMethodpad_helper
(self, dev)
test/python/test_operation.py:3278
↓ 2 callersFunctionparse_compile_options
Read the environment variables to parse the compile options. Returns: a tuple of bool values as the indicators
setup.py:126
↓ 2 callersFunctionparseargs
Parse command line arguments Returns: argparse.Namespace: parsed arguments
examples/hfl/src/proto/utils.py:132
↓ 2 callersFunctionpartition
(global_rank, world_size, train_x, train_y, val_x, val_y)
examples/healthcare/application/Cardiovascular_Disease/train.py:59
↓ 2 callersFunctionpartition
(global_rank, world_size, train_x, train_y, val_x, val_y)
examples/singa_peft/examples/train.py:59
↓ 2 callersFunctionpath_to_str
(path_list)
setup.py:223
↓ 2 callersFunctionpre_processing
mini_batch_data: [('0', '0', '123:123', '123:123', '123:123',)
examples/model_selection/Trails/internal/ml/model_slicing/pg_interface.py:225
↓ 2 callersFunctionpreprocess
(img)
examples/onnx/arcface.py:35
↓ 2 callersFunctionprint_log
(s)
examples/gan/utils.py:33
↓ 2 callersFunctionprint_log
(s)
examples/singa_peft/examples/model/gan_utils.py:33
↓ 2 callersFunctionprofile_NK_trade_off
This is get from the profling result. We try various N/K combinations, and find this is better.
examples/model_selection/Trails/internal/ml/model_selection/src/query_api/interface.py:26
↓ 2 callersMethodrandom_seed
Returns the random seed used at the start of the current test run.
test/gtest/gtest-all.cc:5439
↓ 2 callersFunctionreadInteger
include/singa/io/integer.h:58
↓ 2 callersFunctionread_image_file
(path)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/data/mnist.py:66
↓ 2 callersFunctionread_image_file
(path)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/mnist_cnn.py:101
↓ 2 callersFunctionread_image_file
(path)
examples/largedataset_cnn/autograd/mnist_cnn.py:101
↓ 2 callersFunctionread_image_file
(path)
examples/cifar_distributed_cnn/data/mnist.py:66
↓ 2 callersFunctionread_image_file
(path)
examples/cifar_distributed_cnn/autograd/mnist_cnn.py:101
↓ 2 callersFunctionread_image_file
(path)
examples/singa_peft/examples/data/mnist.py:67
↓ 2 callersFunctionread_image_file
(path)
examples/singa_peft/examples/autograd/mnist_cnn.py:101
↓ 2 callersFunctionread_image_file
(path)
examples/cnn/data/mnist.py:66
↓ 2 callersFunctionread_image_file
(path)
examples/cnn/autograd/mnist_cnn.py:101
↓ 2 callersFunctionread_image_file
(path)
examples/cnn_ms/data/mnist.py:66
↓ 2 callersFunctionread_image_file
(path)
examples/cnn_ms/autograd/mnist_cnn.py:101
↓ 2 callersFunctionread_label_file
(path)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/data/mnist.py:53
↓ 2 callersFunctionread_label_file
(path)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/mnist_cnn.py:88
↓ 2 callersFunctionread_label_file
(path)
examples/largedataset_cnn/autograd/mnist_cnn.py:88
↓ 2 callersFunctionread_label_file
(path)
examples/cifar_distributed_cnn/data/mnist.py:53
↓ 2 callersFunctionread_label_file
(path)
examples/cifar_distributed_cnn/autograd/mnist_cnn.py:88
↓ 2 callersFunctionread_label_file
(path)
examples/singa_peft/examples/data/mnist.py:54
↓ 2 callersFunctionread_label_file
(path)
examples/singa_peft/examples/autograd/mnist_cnn.py:88
↓ 2 callersFunctionread_label_file
(path)
examples/cnn/data/mnist.py:53
↓ 2 callersFunctionread_label_file
(path)
examples/cnn/autograd/mnist_cnn.py:88
↓ 2 callersFunctionread_label_file
(path)
examples/cnn_ms/data/mnist.py:53
↓ 2 callersFunctionread_label_file
(path)
examples/cnn_ms/autograd/mnist_cnn.py:88
↓ 2 callersFunctionreceive_all
Receive a given length of bytes from socket. Args: conn (socket.socket): Socket connection. size (int): Length of bytes to receiv
examples/hfl/src/proto/utils.py:29
↓ 2 callersMethodrecv
src/io/network/endpoint.cc:108
↓ 2 callersMethodreduceMean_test
(self, dev)
test/python/test_operation.py:2775
↓ 2 callersMethodreduceSum_test
(self, dev)
test/python/test_operation.py:2746
↓ 2 callersMethodref_count
include/singa/core/common.h:83
↓ 2 callersFunctionrefinement_phase
U: training-epoches K-Models: k models to train config_file: config file path
examples/model_selection/Trails/internal/ml/model_selection/eva_service.py:38
↓ 2 callersFunctionrepeat
Return the repeated tensor Args: t(tensor): the tensor to be repeated repeats(int or a sequence): the number that the tensor need
python/singa/tensor.py:1472
↓ 2 callersFunctionrepeat
Return the repeated tensor Args: t(tensor): the tensor to be repeated repeats(int or a sequence): the number that the tensor need
examples/model_selection/Trails/singa_pkg_code/tensor.py:1437
↓ 2 callersMethodrepeat
Repeat data of a tensor Args: repeats(int or a sequence): the number that the tensor need to repeat for axis (int):th
examples/model_selection/Trails/singa_pkg_code/tensor.py:380
↓ 2 callersFunctionreshape
Reshape the input tensor with the given shape and the original tensor is not changed Args: tensor (Tensor): the tensor to be changed
python/singa/tensor.py:834
↓ 2 callersFunctionreshape
Reshape the input tensor with the given shape and the original tensor is not changed Args: tensor (Tensor): the tensor to be changed
examples/model_selection/Trails/singa_pkg_code/tensor.py:803
↓ 2 callersMethodresize_by_range
Args: rng: a tuple (begin,end), include begin, exclude end inplace: inplace imgs or not ( return new_imgs)
python/singa/image_tool.py:267
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/train_ms_model.py:271
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/train_cnn.py:271
↓ 2 callersFunctionresize_dataset
(x, IMG_SIZE)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/autograd/resnet_cifar10.py:91
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/malaria_cnn/train_cnn.py:85
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/hfl/src/client.py:173
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/healthcare/application/Malaria_Disease/train.py:89
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/healthcare/application/Diabetic_Disease/Diabetic_Retinopathy_Classification/train.py:89
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/healthcare/application/Kidney_Disease/train.py:91
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/healthcare/application/Cardiovascular_Disease/train.py:85
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/healthcare/application/Thyroid_Eye_Disease/train.py:43
↓ 2 callersFunctionresize_dataset
(x, IMG_SIZE)
examples/largedataset_cnn/autograd/resnet_cifar10.py:91
↓ 2 callersFunctionresize_dataset
(x, IMG_SIZE)
examples/cifar_distributed_cnn/autograd/resnet_cifar10.py:91
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/cnn/train_cnn.py:84
↓ 2 callersFunctionresize_dataset
(x, IMG_SIZE)
examples/cnn/autograd/resnet_cifar10.py:91
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/onnx/training/train.py:92
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/cnn_ms/train_ms_model.py:259
↓ 2 callersFunctionresize_dataset
(x, image_size)
examples/cnn_ms/train_cnn.py:266
↓ 2 callersFunctionresize_dataset
(x, IMG_SIZE)
examples/cnn_ms/autograd/resnet_cifar10.py:91
↓ 2 callersMethodresize_height
include/singa/io/transformer.h:62
↓ 2 callersMethodresize_width
include/singa/io/transformer.h:63
↓ 2 callersFunctionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet. Returns: The create
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/model/resnet.py:256
↓ 2 callersFunctionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet. Returns: The create
examples/largedataset_cnn/model/resnet.py:256
↓ 2 callersFunctionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet. Returns: The create
examples/cifar_distributed_cnn/model/resnet.py:256
↓ 2 callersFunctionresnet50
Constructs a ResNet-50 model. Args: pretrained (bool): If True, returns a model pre-trained on ImageNet. Returns: The created
examples/cnn_ms/model/resnet.py:253
↓ 2 callersMethodretrievel_data
(self, model_acquire)
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/evaluator.py:352
↓ 2 callersMethodround_helper
(self, dev)
test/python/test_operation.py:3508
↓ 2 callersFunctionrounde
Element-wise round the input, In case of halfs, round to the nearest even integer Args: x (Tensor): input tensor. Returns:
python/singa/autograd.py:5637
↓ 2 callersMethodrounde_helper
(self, dev)
test/python/test_operation.py:3484
↓ 2 callersFunctionrun
(global_rank, world_size, local_rank, max_epoch, batch_size, model,
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/train_cnn.py:284
← previousnext →1,101–1,200 of 5,531, ranked by callers