Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BVLC/caffe
/ functions
Functions
2,751 in github.com/BVLC/caffe
⨍
Functions
2,751
◇
Types & classes
810
↳
Endpoints
3
↓ 1 callers
Function
ProcessLine
Processes a single line in the file. Args: filename: Filename of the file that is being processed. file_extension: The extension (dot not i
scripts/cpp_lint.py:4604
↓ 1 callers
Method
PushGTestTrace
Pushes a trace defined by SCOPED_TRACE() on to the per-thread Google Test trace stack. L < mutex_
src/gtest/gtest-all.cpp:5228
↓ 1 callers
Function
RE
Constructs an RE from a string.
src/gtest/gtest.h:1878
↓ 1 callers
Function
ReadProtoFromBinaryFile
include/caffe/util/io.hpp:73
↓ 1 callers
Function
ReadProtoFromTextFile
include/caffe/util/io.hpp:54
↓ 1 callers
Method
RecordPropertyForCurrentTest
Creates and adds a property to the current TestResult. If a property matching the supplied value already exists, updates its value instead.
src/gtest/gtest-all.cpp:5114
↓ 1 callers
Method
RecurrentInputBlobNames
src/caffe/layers/rnn_layer.cpp:14
↓ 1 callers
Method
RecurrentOutputBlobNames
src/caffe/layers/rnn_layer.cpp:20
↓ 1 callers
Method
RemoveDirectoryName
Returns a copy of the FilePath with the directory part removed. Example: FilePath("path/to/file").RemoveDirectoryName() returns FilePath("file"). If t
src/gtest/gtest-all.cpp:7575
↓ 1 callers
Method
RemoveExtension
Returns a copy of the FilePath with the case-insensitive extension removed. Example: FilePath("dir/file.exe").RemoveExtension("EXE") returns FilePath(
src/gtest/gtest-all.cpp:7545
↓ 1 callers
Function
RemoveMultiLineComments
Removes multiline (c-style) comments from lines.
scripts/cpp_lint.py:1155
↓ 1 callers
Function
RemoveMultiLineCommentsFromRange
Clears a range of lines for multi-line comments.
scripts/cpp_lint.py:1147
↓ 1 callers
Function
ReportInvalidTestCaseType
src/gtest/gtest-all.cpp:3548
↓ 1 callers
Method
ReportTestPartResult
Increments the test part result count and remembers the result. This method is from the TestPartResultReporterInterface interface.
src/gtest/gtest-all.cpp:1881
↓ 1 callers
Method
Reset
src/caffe/layers/recurrent_layer.cpp:236
↓ 1 callers
Method
ResetErrorCounts
Sets the module's error statistic back to zero.
scripts/cpp_lint.py:746
↓ 1 callers
Function
ResetNolintSuppressions
Resets the set of NOLINT suppressions to empty.
scripts/cpp_lint.py:499
↓ 1 callers
Method
RngUniformIntFillGPU
Fills with uniform integers in [0, UINT_MAX] using 2 argument form of caffe_gpu_rng_uniform.
src/caffe/test/test_random_number_generator.cpp:186
↓ 1 callers
Method
Run
src/gtest/gtest.h:2229
↓ 1 callers
Method
Run
Runs the test and updates the test result.
src/gtest/gtest-all.cpp:3455
↓ 1 callers
Method
RunSolverTypeUpgradeTest
src/caffe/test/test_upgrade_proto.cpp:2931
↓ 1 callers
Function
Set
src/gtest/gtest.h:3276
↓ 1 callers
Method
SetActionFunction
src/caffe/solver.cpp:15
↓ 1 callers
Method
SetCountingStyle
Sets the module's counting options.
scripts/cpp_lint.py:717
↓ 1 callers
Method
SetDefaultResultPrinter
Sets the default_result_printer attribute to the provided listener. The listener is also added to the listener list and previous default_result_printe
src/gtest/gtest-all.cpp:4890
↓ 1 callers
Method
SetDefaultXmlGenerator
Sets the default_xml_generator attribute to the provided listener. The listener is also added to the listener list and previous default_xml_generator
src/gtest/gtest-all.cpp:4906
↓ 1 callers
Method
SetFilters
Sets the error-message filters. These filters are applied when deciding whether to emit a given error message. Args: filters: A st
scripts/cpp_lint.py:721
↓ 1 callers
Method
SetLastHeader
(self, header_path)
scripts/cpp_lint.py:598
↓ 1 callers
Method
SetOutputFormat
Sets the output format for errors.
scripts/cpp_lint.py:707
↓ 1 callers
Method
SetUp
src/caffe/test/test_batch_reindex_layer.cpp:25
↓ 1 callers
Method
SetUp
Sets up the test fixture. A sub-class may override this.
src/gtest/gtest-all.cpp:3212
↓ 1 callers
Method
SetValue
Sets a new value, overriding the one supplied in the constructor.
src/gtest/gtest.h:17516
↓ 1 callers
Method
SetVerboseLevel
Sets the module's verbosity, and returns the previous setting.
scripts/cpp_lint.py:711
↓ 1 callers
Method
ShareWeights
src/caffe/net.cpp:935
↓ 1 callers
Function
ShouldRunTestOnShard
Given the total number of shards, the shard index, and the test id, returns true iff the test should be run on this shard. The test id is some arbitra
src/gtest/gtest-all.cpp:5669
↓ 1 callers
Function
ShouldUseColor
Returns true iff Google Test should use colors in the output.
src/gtest/gtest-all.cpp:3888
↓ 1 callers
Function
Shuffle
src/gtest/gtest-all.cpp:720
↓ 1 callers
Function
SkipSpaces
Skips to the first non-space char in str. Returns an empty string if str contains only whitespace characters.
src/gtest/gtest-all.cpp:9049
↓ 1 callers
Function
SleepMilliseconds
Sleeps for (roughly) n milli-seconds. This function is only for testing Google Test's own constructs. Don't use it in user tests, either directly or
src/gtest/gtest.h:2133
↓ 1 callers
Function
SplitLayerName
src/caffe/util/insert_splits.cpp:110
↓ 1 callers
Function
SplitString
Splits a given string on a given delimiter, populating a given vector with the fields. GTEST_HAS_DEATH_TEST implies that we have ::std::string, so we
src/gtest/gtest-all.cpp:7294
↓ 1 callers
Function
StackGrowsDown
src/gtest/gtest-all.cpp:7141
↓ 1 callers
Function
StackLowerThanAddress
src/gtest/gtest-all.cpp:7136
↓ 1 callers
Function
StrCaseCmp
src/gtest/gtest.h:2618
↓ 1 callers
Function
StrError
src/gtest/gtest.h:2700
↓ 1 callers
Method
TearDown
Tears down the test fixture. A sub-class may override this.
src/gtest/gtest-all.cpp:3218
↓ 1 callers
Method
TestBackward
src/caffe/test/test_tanh_layer.cpp:67
↓ 1 callers
Method
TestForward
src/caffe/test/test_sigmoid_cross_entropy_loss_layer.cpp:62
↓ 1 callers
Method
TestForward
src/caffe/test/test_batch_reindex_layer.cpp:61
↓ 1 callers
Method
TestForward
src/caffe/test/test_euclidean_loss_layer.cpp:40
↓ 1 callers
Function
TestPartResult
C'tor. TestPartResult does NOT have a default constructor. Always use this constructor (with parameters) to create a TestPartResult object.
src/gtest/gtest.h:16717
↓ 1 callers
Function
TestPartResultTypeToString
Converts a TestPartResult::Type enum to human-friendly string representation. Both kNonFatalFailure and kFatalFailure are translated to "Failure", as
src/gtest/gtest-all.cpp:3803
↓ 1 callers
Function
ToUpper
src/gtest/gtest.h:2598
↓ 1 callers
Function
UnhookHandler
Set the signal handlers to the default.
src/caffe/util/signal_handler.cpp:48
↓ 1 callers
Function
UniversalPrintArray
src/gtest/gtest.h:9796
↓ 1 callers
Method
Unlock
Releases this mutex.
src/gtest/gtest.h:2275
↓ 1 callers
Method
Update
Update nesting state with current line. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containin
scripts/cpp_lint.py:2008
↓ 1 callers
Function
UpdateIncludeState
Fill up the include_state with new includes found from the file. Args: filename: the name of the header to read. include_state: an _Include
scripts/cpp_lint.py:4458
↓ 1 callers
Method
UpdatePreprocessor
Update preprocessor stack. We need to handle preprocessors due to classes like this: #ifdef SWIG struct ResultDetailsPageElementExten
scripts/cpp_lint.py:1952
↓ 1 callers
Function
UpgradeNetBatchNorm
src/caffe/util/upgrade_proto.cpp:1015
↓ 1 callers
Function
UpgradeNetDataTransformation
src/caffe/util/upgrade_proto.cpp:659
↓ 1 callers
Function
UpgradeNetInput
src/caffe/util/upgrade_proto.cpp:966
↓ 1 callers
Function
UpgradeV0LayerParameter
src/caffe/util/upgrade_proto.cpp:199
↓ 1 callers
Function
UpgradeV0LayerType
src/caffe/util/upgrade_proto.cpp:551
↓ 1 callers
Function
UpgradeV1LayerParameter
src/caffe/util/upgrade_proto.cpp:689
↓ 1 callers
Function
ValidateRegex
Generates non-fatal failures and returns false if regex is invalid; otherwise returns true.
src/gtest/gtest-all.cpp:8033
↓ 1 callers
Method
WaitForNotification
Blocks until the controller thread notifies. Must be called from a test thread.
src/gtest/gtest.h:2157
↓ 1 callers
Function
Write
src/gtest/gtest.h:2696
↓ 1 callers
Function
WriteToShardStatusFileIfNeeded
Reads the GTEST_SHARD_STATUS_FILE environment variable, and creates the file if the variable is present. If a file already exists at this location, th
src/gtest/gtest-all.cpp:5584
↓ 1 callers
Function
_ClassifyInclude
Figures out what kind of header 'include' is. Args: fileinfo: The current file cpplint is running over. A FileInfo instance. include: The p
scripts/cpp_lint.py:3624
↓ 1 callers
Method
_CollapseStrings
Collapses strings and chars on a line to simple "" or '' blocks. We nix strings first so we're not fooled by text like '"http://"' Args:
scripts/cpp_lint.py:1213
↓ 1 callers
Function
_Filters
Returns the module's list of output filters, as a list.
scripts/cpp_lint.py:796
↓ 1 callers
Function
_GetTextInside
r"""Retrieves all the text between matching open and close parentheses. Given a string of lines and a regular expression string, retrieve all the t
scripts/cpp_lint.py:3756
↓ 1 callers
Function
_IsTestFilename
Determines if the given filename has a suffix that identifies it as a test. Args: filename: The input filename. Returns: True if 'filena
scripts/cpp_lint.py:3607
↓ 1 callers
Function
_OutputFormat
Gets the module's output format.
scripts/cpp_lint.py:771
↓ 1 callers
Function
_SetCountingStyle
Sets the module's counting options.
scripts/cpp_lint.py:791
↓ 1 callers
Function
_SetFilters
Sets the module's error-message filters. These filters are applied when deciding whether to emit a given error message. Args: filters: A s
scripts/cpp_lint.py:801
↓ 1 callers
Function
_SetOutputFormat
Sets the module's output format.
scripts/cpp_lint.py:776
↓ 1 callers
Function
_ShouldPrintError
If confidence >= verbose, category passes filter and is not suppressed.
scripts/cpp_lint.py:965
↓ 1 callers
Method
__getattr__
(self, name)
python/caffe/net_spec.py:179
↓ 1 callers
Method
_get_name
(self, names, autonames)
python/caffe/net_spec.py:121
↓ 1 callers
Function
ad_hoc_test_result
Returns the TestResult for the ad hoc test.
src/gtest/gtest-all.cpp:982
↓ 1 callers
Method
add_after_forward
include/caffe/net.hpp:243
↓ 1 callers
Method
add_before_backward
include/caffe/net.hpp:247
↓ 1 callers
Method
add_before_forward
include/caffe/net.hpp:239
↓ 1 callers
Function
anon_lenet
(batch_size)
python/caffe/test/test_net_spec.py:26
↓ 1 callers
Function
apply_orientation
(im, orientation)
examples/web_demo/exifutil.py:35
↓ 1 callers
Function
array_to_blobproto
Converts a N-dimensional array to blob proto. If diff is given, also convert the diff. You need to make sure that arr and diff have the same s
python/caffe/io.py:36
↓ 1 callers
Method
backward
(self, top, propagate_down, bottom)
python/caffe/test/test_python_layer_with_param_str.py:24
↓ 1 callers
Function
blobproto_to_array
Convert a blob proto to an array. In default, we will just return the data, unless return_diff is True, in which case we will return the diff
python/caffe/io.py:18
↓ 1 callers
Function
caffe_rng_gaussian
src/caffe/util/math_functions.cpp:277
↓ 1 callers
Function
caffe_rng_uniform
src/caffe/util/math_functions.cpp:256
↓ 1 callers
Function
cblas_daxpby
include/caffe/util/mkl_alternate.hpp:95
↓ 1 callers
Function
cblas_saxpby
include/caffe/util/mkl_alternate.hpp:89
↓ 1 callers
Function
check_params
A utility function to check the parameters for the data layers.
examples/pycaffe/layers/pascal_multilabel_datalayers.py:196
↓ 1 callers
Function
choose_color_by_layertype
Define colors for nodes based on the layer type.
python/caffe/draw.py:117
↓ 1 callers
Method
configure_crop
Configure crop dimensions and amount of context for cropping. If context is included, make the special input mean for context padding
python/caffe/detector.py:181
↓ 1 callers
Function
convert_dataset
examples/mnist/convert_mnist_data.cpp:43
↓ 1 callers
Function
convert_dataset
examples/siamese/convert_mnist_siamese_data.cpp:36
↓ 1 callers
Function
convert_dataset
examples/cifar10/convert_cifar_data.cpp:39
← previous
next →
701–800 of 2,751, ranked by callers