MCPcopy Create free account

hub / github.com/apache/singa / functions

Functions5,531 in github.com/apache/singa

↓ 23 callersFunctioncheck_exist_or_download
(url)
examples/onnx/utils.py:57
↓ 23 callersMethodid
include/singa/core/device.h:106
↓ 23 callersMethodtype
include/singa/core/scheduler.h:125
↓ 22 callersFunctionCopyRows
src/core/tensor/tensor.cc:1410
↓ 22 callersFunctionGetUnitTestImpl
Convenience function for accessing the global UnitTest implementation object.
test/gtest/gtest-all.cc:1337
↓ 22 callersMethodNcclIdHolder
src/io/communicator.cc:49
↓ 22 callersMethodOpen
src/io/lmdb_writer.cc:27
↓ 22 callersMethodPrintTimeProfiling
src/core/device/device.cc:84
↓ 22 callersMethod_common_singa_tensor_to_onnx_node
get a onnx node from singa operator, prepare its type, inputs and outputs Args: op: a given operator Args:
python/singa/sonnx.py:864
↓ 22 callersMethoddevice_check
Check if the devices of the input tensor are the same. Keep the device where each tensors is located the same as the first tensor. C
python/singa/layer.py:187
↓ 22 callersFunctionimpl
Accessors for the implementation object.
test/gtest/gtest.h:18668
↓ 21 callersMethodClose
src/io/lmdb_writer.cc:57
↓ 21 callersFunctionReshape
src/core/tensor/tensor.cc:1794
↓ 21 callersMethodWrite
src/io/snapshot.cc:86
↓ 21 callersMethodeval
Sets the model in evaluation mode.
examples/cnn_ms/pkg_model_code/model.py:222
↓ 20 callersFunctionlog
Natural logarithm. This function is exact to rounding for all rounding modes. See also:** Documentation for [std::log](https://en.cppreference.com/w/
include/half.hpp:3061
↓ 20 callersMethodndim
Returns: the number of dimensions of the tensor.
python/singa/tensor.py:170
↓ 20 callersMethodto_device
Move the tensor data onto a given device. Args: device: a swig Device converted from CudaGPU or CppCPU or OpenclGPU
examples/model_selection/Trails/singa_pkg_code/tensor.py:283
↓ 20 callersMethodtrain
(self)
examples/gan/lsgan.py:70
↓ 19 callersFunctionAssertionSuccess
Makes a successful assertion result.
test/gtest/gtest-all.cc:2452
↓ 19 callersMethodFreeBlock
TODO(wangwei) return Block to the memory manager
src/core/device/device.cc:104
↓ 19 callersMethodbackward_and_update
Performs backward propagation from the loss and parameter update. From the loss, it performs backward propagation to get the gradients and do
python/singa/opt.py:826
↓ 19 callersMethodindex
test/gtest/gtest.h:8407
↓ 19 callersFunctionisnan
Check for NaN. See also:** Documentation for [std::isnan](https://en.cppreference.com/w/cpp/numeric/math/isnan). \param arg number to check \retval tr
include/half.hpp:4359
↓ 19 callersMethodset_attr_inputs
(self, key, name)
python/singa/sonnx.py:1010
↓ 19 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
examples/model_selection/Trails/singa_pkg_code/tensor.py:1009
↓ 18 callersFunctionSumRows
src/core/tensor/tensor.cc:1523
↓ 18 callersFunctiongenerate_tensor_nd_desc
src/core/tensor/tensor_math_cuda.h:116
↓ 18 callersMethodgraph_enabled
include/singa/core/device.h:113
↓ 18 callersMethodsize
Returns: the number of elements of the tensor.
python/singa/tensor.py:213
↓ 17 callersMethodMode
src/model/layer/activation.h:45
↓ 17 callersFunctionSizeOf
include/singa/core/tensor.h:40
↓ 17 callersMethod__add__
(self, rhs)
python/singa/tensor.py:673
↓ 17 callersFunction_cTensor_to_pyTensor
(cTensor)
test/python/test_api.py:66
↓ 16 callersFunctionAssertionFailure
Makes a failed assertion result.
test/gtest/gtest-all.cc:2457
↓ 16 callersFunctionFilePath
test/gtest/gtest.h:3549
↓ 16 callersMethodapply
Performs a single optimization step. Args: param_name(String): the name of the param param_value(Tensor): par
examples/cnn_ms/train_cnn.py:149
↓ 16 callersMethodclose
Close the server.
examples/hfl/src/client.py:97
↓ 16 callersFunctiondownload_model
(url)
examples/onnx/utils.py:28
↓ 16 callersMethodregister_layers
Register a list of sublayers. Can only be called once in each subclass. Args: *args: a list of sublayers or a dictionar
python/singa/layer.py:265
↓ 16 callersMethodrun
(cls, logger, epoch, iter_per_epoch, model, data_loader, opt_metric, args, optimizer=None, namespa
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase2/algo/trainer.py:787
↓ 15 callersFunctionSubRow
src/core/tensor/tensor.cc:1506
↓ 15 callersMethodapply
Performs a single optimization step. Args: param_name(String): the name of the param param_value(Tensor): par
python/singa/opt.py:269
↓ 15 callersFunctionread_json
(file_name)
examples/model_selection/Trails/internal/ml/model_selection/src/tools/io_tools.py:24
↓ 14 callersFunctionBroadcast
src/core/tensor/tensor.cc:505
↓ 14 callersFunctionMessage
Copy constructor.
test/gtest/gtest.h:3168
↓ 14 callersFunctionMultRow
Multiply row 'v' with each row of matrix M; write results into 'out'
src/core/tensor/tensor.cc:1488
↓ 14 callersFunctionTranspose
normal transpose without axes
src/core/tensor/tensor.cc:542
↓ 14 callersMethodchannels
src/model/layer/pooling.h:85
↓ 14 callersMethodop_name
include/singa/core/scheduler.h:67
↓ 14 callersMethodstep
(self)
python/singa/opt.py:312
↓ 14 callersMethodupdate
Performs a single optimization step. Args: param(Tensor): param values to be update grad(Tensor): param gradi
python/singa/opt.py:738
↓ 13 callersFunctionConvBNReLU
examples/cpp/cifar10/vgg-parallel.cc:159
↓ 13 callersMethod__div__
(self, rhs)
python/singa/tensor.py:691
↓ 13 callersFunctionaxis_helper
check which axes the x has been broadcasted Args: y_shape: the shape of result x_shape: the shape of x Return: a
test/python/test_operation.py:43
↓ 13 callersFunctionback_broadcast
for a brodcasted tensor, restore its shape of x from y_shape to x_shape Args: y_shape: the shape of result x_shape: the shape
python/singa/autograd.py:52
↓ 13 callersFunctionpow
Power function. This function may be 1 ULP off the correctly rounded exact result for any rounding mode in ~0.00025% of inputs. See also:** Documenta
include/half.hpp:3402
↓ 13 callersFunctionselect
Select value or signaling NaN. \param x preferred half-precision value \param y ignored half-precision value except for signaling NaN \return \a y if
include/half.hpp:731
↓ 12 callersMethodCopyDataToFrom
src/core/device/device.cc:111
↓ 12 callersFunctionfrom_raw_tensor
(t)
examples/model_selection/Trails/singa_pkg_code/tensor.py:758
↓ 12 callersMethodset_bias
src/model/layer/dense.h:64
↓ 12 callersMethodset_weight
src/model/layer/dense.h:60
↓ 12 callersMethoduniform
Generate a value for each element following a uniform distribution. Args: low (float): the lower bound high (float):
python/singa/tensor.py:531
↓ 12 callersMethodupdate
(self, alphas_normal, alphas_reduce, val_loss)
examples/model_selection/Trails/internal/ml/model_selection/src/tools/utils.py:380
↓ 11 callersFunctionAxpy
src/core/tensor/tensor.cc:1589
↓ 11 callersMethodBaseGenerator
test/gtest/gtest.h:10204
↓ 11 callersMethodClone
src/core/tensor/tensor.cc:464
↓ 11 callersFunctionCountIf
test/gtest/gtest-all.cc:683
↓ 11 callersFunctionPrintTupleTo
test/gtest/gtest.h:10016
↓ 11 callersMethodbackward
(self, dy=1.0)
examples/msmlp/model.py:56
↓ 11 callersMethodcontext
include/singa/core/device.h:111
↓ 11 callersMethodgetSize
src/io/network/message.cc:52
↓ 11 callersMethodndim
Returns: the number of dimensions of the tensor.
examples/model_selection/Trails/singa_pkg_code/tensor.py:169
↓ 11 callersFunctionpole
Raise pole error and return infinity. \param sign half-precision value with sign bit only \return half-precision infinity with sign of \a sign \except
include/half.hpp:755
↓ 11 callersMethodtrain
Set the model in evaluation mode. Args: mode(bool): when mode is True, this model will enter training mode
examples/model_selection/Trails/internal/ml/model_selection/src/eva_engine/phase1/algo/singa_ms/cnn_ms/pkg_model_code/model.py:213
↓ 10 callersFunctionConcatenateRows
src/core/tensor/tensor.cc:1360
↓ 10 callersFunctionDeathTestAbort
Routine for aborting the program which is safe to call from an exec-style death test child process, in which case the error message is propagated back
test/gtest/gtest-all.cc:6745
↓ 10 callersMethodFlush
Flush is to "commit to DB"
src/io/lmdb_writer.cc:73
↓ 10 callersFunctionGenDropoutConf
examples/cpp/cifar10/vgg-parallel.cc:149
↓ 10 callersFunctionPrintToString
test/gtest/gtest.h:10038
↓ 10 callersFunctionSumColumns
src/core/tensor/tensor.cc:1508
↓ 10 callersFunctionToLowerCase
include/singa/utils/string.h:39
↓ 10 callersFunctionUniform
src/core/tensor/tensor.cc:1556
↓ 10 callersMethod__sub__
(self, rhs)
python/singa/tensor.py:679
↓ 10 callersFunctionfrom_raw_tensor
(t)
python/singa/tensor.py:789
↓ 10 callersFunctionget_default_device
Get the default host device which is a CppCPU device
python/singa/device.py:130
↓ 10 callersFunctionlog2
Fixed point binary logarithm. This uses the BKM algorithm in L-mode. \param m mantissa in [1,2) as Q1.30 \param n number of iterations (at most 32) \r
include/half.hpp:1531
↓ 10 callersMethodmain
(String argv[])
test/java/Test.java:26
↓ 10 callersFunctionwrite_json
(file_name, data)
examples/model_selection/Trails/internal/ml/model_selection/src/tools/io_tools.py:36
↓ 9 callersFunctionAddRow
src/core/tensor/tensor.cc:1294
↓ 9 callersMethodAtEnd
test/gtest/gtest.h:13858
↓ 9 callersFunctionEltwiseMult
src/core/tensor/tensor_math.h:163
↓ 9 callersMethodFormat
test/gtest/gtest.h:18770
↓ 9 callersMethodGet
test/gtest/gtest-all.cc:1381
↓ 9 callersMethodPassed
Returns true iff the unit test passed (i.e. all test cases passed).
test/gtest/gtest-all.cc:5208
↓ 9 callersMethodSetup
src/model/layer/rnn.cc:29
↓ 9 callersFunctionSquare
src/core/tensor/tensor_math.h:296
↓ 9 callersMethod__init__
Args: ut_channels: int, the channel of output, also is the number of filters bias: bool
examples/trans/model.py:552
↓ 9 callersMethod__init__
Args: ut_channels: int, the channel of output, also is the number of filters bias: bool
examples/singa_peft/examples/model/trans.py:545
↓ 9 callersMethoddtype_check
check if all input have same data type. Args: *inputs: input args consisting of only PyTensors
python/singa/layer.py:171
← previousnext →101–200 of 5,531, ranked by callers