Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alexgkendall/caffe-segnet
/ functions
Functions
1,866 in github.com/alexgkendall/caffe-segnet
⨍
Functions
1,866
◇
Types & classes
639
↳
Endpoints
3
↓ 6 callers
Function
ChopLowBits
Chops off the n lowest bits from a bit pattern. Returns the n lowest bits. As a side effect, the original bit pattern will be shifted to the right b
src/gtest/gtest-all.cpp:2724
↓ 6 callers
Function
FormatFileLocation
Formats a source file path and a line number as they would appear in an error message from the compiler used to compile this code.
src/gtest/gtest-all.cpp:8232
↓ 6 callers
Function
FormatRegexSyntaxError
Helper function used by ValidateRegex() to format error messages.
src/gtest/gtest-all.cpp:8026
↓ 6 callers
Method
InitUnsharedWeightsNet
src/caffe/test/test_net.cpp:218
↓ 6 callers
Function
IsInSet
Returns true iff ch appears anywhere in str (excluding the terminating '\0' character).
src/gtest/gtest-all.cpp:7979
↓ 6 callers
Function
IsPathSeparator
Returns whether the given character is a valid path separator.
src/gtest/gtest-all.cpp:7518
↓ 6 callers
Function
ParseStringFlag
Parses a string for a string flag, in the form of "--flag=value". On success, stores the value of the flag in *value, and returns true. On failure,
src/gtest/gtest-all.cpp:5935
↓ 6 callers
Method
RngBernoulliFill
src/caffe/test/test_random_number_generator.cpp:158
↓ 6 callers
Method
SetUp
src/caffe/test/test_data_layer.cpp:32
↓ 6 callers
Method
SetUp
src/caffe/test/test_maxpool_dropout_layers.cpp:23
↓ 6 callers
Function
SkipPrefix
If *pstr starts with the given prefix, modifies *pstr to be right past the prefix and returns true; otherwise leaves *pstr unchanged and returns false
src/gtest/gtest-all.cpp:5849
↓ 6 callers
Method
TestBackward
src/caffe/test/test_power_layer.cpp:61
↓ 6 callers
Method
TestLeastSquaresUpdate
Test that the correct update is computed for a regularized least squares problem: E = (1/(2n)) || X w - y ||^2 + (lambda / 2) || w ||^2 \nabla_w E =
src/caffe/test/test_sgd_solver.cpp:272
↓ 6 callers
Method
ToProto
src/caffe/net.cpp:655
↓ 6 callers
Function
UniversalPrint
src/gtest/gtest.h:9881
↓ 6 callers
Function
caffe_rng
include/caffe/util/rng.hpp:16
↓ 6 callers
Method
copy
src/gtest/gtest.h:9157
↓ 6 callers
Method
failed_test_count
Gets the number of failed tests.
src/gtest/gtest-all.cpp:2033
↓ 6 callers
Method
file_name
include/caffe/data_layers.hpp:158
↓ 6 callers
Method
generator
src/caffe/common.cpp:91
↓ 6 callers
Method
mean_bound
src/caffe/test/test_random_number_generator.cpp:54
↓ 6 callers
Function
swap_endian
examples/mnist/convert_mnist_data.cpp:19
↓ 5 callers
Function
CloseExpression
If input points to ( or { or [ or <, finds the position that closes it. If lines[linenum][pos] points to a '(' or '{' or '[' or '<', finds the li
scripts/cpp_lint.py:1252
↓ 5 callers
Function
EqFailure
Constructs and returns the message for an equality assertion (e.g. ASSERT_EQ, EXPECT_STREQ, etc) failure. The first four parameters are the expressio
src/gtest/gtest-all.cpp:2301
↓ 5 callers
Method
FillLMDB
Fill the LMDB with data: unique_pixels has same meaning as in FillLevelDB.
src/caffe/test/test_data_layer.cpp:69
↓ 5 callers
Method
FillLevelDB
Fill the LevelDB with data: if unique_pixels, each pixel is unique but all images are the same; else each image is unique but all pixels within an ima
src/caffe/test/test_data_layer.cpp:40
↓ 5 callers
Function
FormatDeathTestOutput
Returns an indented copy of stderr output for a death test. This makes distinguishing death test output lines from regular log lines much easier.
src/gtest/gtest-all.cpp:6649
↓ 5 callers
Function
GetPreviousNonBlankLine
Return the most recent non-blank line and its line number. Args: clean_lines: A CleansedLines instance containing the file contents. linenu
scripts/cpp_lint.py:2974
↓ 5 callers
Function
Int32FromEnvOrDie
Parses the environment variable var as an Int32. If it is unset, returns default_val. If it is not an Int32, prints an error and aborts.
src/gtest/gtest-all.cpp:5651
↓ 5 callers
Function
ReadNetParamsFromTextFileOrDie
src/caffe/util/upgrade_proto.cpp:568
↓ 5 callers
Method
ReshapeLike
src/caffe/blob.cpp:30
↓ 5 callers
Method
RngGaussianFill
src/caffe/test/test_random_number_generator.cpp:62
↓ 5 callers
Method
RngUniformFill
src/caffe/test/test_random_number_generator.cpp:105
↓ 5 callers
Method
ShareData
src/caffe/blob.cpp:95
↓ 5 callers
Function
StringFromGTestEnv
Reads and returns the string environment variable corresponding to the given flag; if it's not set, returns default_value.
src/gtest/gtest-all.cpp:8540
↓ 5 callers
Function
SumOverTestCaseList
Iterates over a vector of TestCases, keeping a running sum of the results of calling a given int-returning method on each. Returns the sum.
src/gtest/gtest-all.cpp:1617
↓ 5 callers
Function
UpgradeV0Net
src/caffe/util/upgrade_proto.cpp:24
↓ 5 callers
Function
caffe_rng_bernoulli
src/caffe/util/math_functions.cpp:268
↓ 5 callers
Method
current_test_info
Returns the TestInfo object for the test that's currently running, or NULL if no test is running. L < mutex_
src/gtest/gtest-all.cpp:5197
↓ 5 callers
Function
listeners
Provides access to the event listener list.
src/gtest/gtest-all.cpp:975
↓ 5 callers
Function
random
Gets the random number generator.
src/gtest/gtest-all.cpp:1171
↓ 4 callers
Function
CheckFile
for convenience, check that input files can be opened, and raise an exception that boost will send to Python if not (caffe could still crash later if
python/caffe/_caffe.cpp:39
↓ 4 callers
Function
CmpHelperEQ
src/gtest/gtest.h:18331
↓ 4 callers
Method
Failed
Returns true iff the test failed.
src/gtest/gtest-all.cpp:3156
↓ 4 callers
Function
FormatCountableNoun
Formats a countable noun. Depending on its quantity, either the singular form or the plural form is used. e.g. FormatCountableNoun(1, "formula", "fo
src/gtest/gtest-all.cpp:3782
↓ 4 callers
Function
FormatForComparisonFailureMessage
src/gtest/gtest.h:18322
↓ 4 callers
Function
FormatTestCount
Formats the count of tests.
src/gtest/gtest-all.cpp:3790
↓ 4 callers
Method
Forward
include/caffe/layer.hpp:190
↓ 4 callers
Function
GTestStreamToHelper
src/gtest/gtest.h:6776
↓ 4 callers
Function
GetElementOr
src/gtest/gtest-all.cpp:690
↓ 4 callers
Function
GetLastErrnoDescription
Returns the message describing the last system error in errno.
src/gtest/gtest-all.cpp:6460
↓ 4 callers
Function
NetNeedsUpgrade
src/caffe/util/upgrade_proto.cpp:15
↓ 4 callers
Function
PrintCharsAsStringTo
Prints the given array of characters to the ostream. The array starts at *begin, the length is len, it may include '\0' characters and may not be null
src/gtest/gtest-all.cpp:8806
↓ 4 callers
Method
RngGaussianFillGPU
src/caffe/test/test_random_number_generator.cpp:174
↓ 4 callers
Method
RngUniformFillGPU
src/caffe/test/test_random_number_generator.cpp:179
↓ 4 callers
Method
SetTestPartResultReporterForCurrentThread
Sets the test part result reporter for the current thread.
src/gtest/gtest-all.cpp:2001
↓ 4 callers
Method
SetUp
src/caffe/test/test_slice_layer.cpp:26
↓ 4 callers
Method
Solve
src/caffe/solver.cpp:163
↓ 4 callers
Method
Stop
src/caffe/util/benchmark.cpp:42
↓ 4 callers
Function
StrDup
src/gtest/gtest.h:2621
↓ 4 callers
Method
TestForward
src/caffe/test/test_power_layer.cpp:34
↓ 4 callers
Method
TestReadCrop
src/caffe/test/test_data_layer.cpp:149
↓ 4 callers
Function
cluster_seedgen
random seeding
src/caffe/common.cpp:25
↓ 4 callers
Method
current_test_result
Returns the TestResult for the test that's currently running, or the TestResult for the ad hoc test if no test is running.
src/gtest/gtest-all.cpp:5780
↓ 4 callers
Method
gpu_diff
src/caffe/blob.cpp:65
↓ 4 callers
Method
key
Gets the user supplied key.
src/gtest/gtest.h:17506
↓ 4 callers
Method
original_working_dir
Returns the working directory when the first TEST() or TEST_F() was executed.
src/gtest/gtest-all.cpp:5182
↓ 4 callers
Method
phase
Returns the phase: TRAIN or TEST.
include/caffe/common.hpp:133
↓ 4 callers
Method
random_seed
Returns the random seed used at the start of the current test run.
src/gtest/gtest-all.cpp:5203
↓ 4 callers
Method
repeater
Returns repeater that broadcasts the TestEventListener events to all subscribers.
src/gtest/gtest-all.cpp:4883
↓ 4 callers
Method
sample_mean
src/caffe/test/test_random_number_generator.cpp:30
↓ 4 callers
Method
save
save the network weights to binary proto for net surgeries.
python/caffe/_caffe.cpp:228
↓ 4 callers
Method
set_phase
Sets the phase.
include/caffe/common.hpp:141
↓ 4 callers
Method
test_to_run_count
Gets the number of tests that should run.
src/gtest/gtest-all.cpp:2048
↓ 4 callers
Method
total_test_count
Gets the number of all tests.
src/gtest/gtest-all.cpp:2043
↓ 3 callers
Method
AddTestPartResult
Adds a test part result to the list.
src/gtest/gtest-all.cpp:3110
↓ 3 callers
Function
AssertionResult
Used in the EXPECT_TRUE/FALSE(bool_expression).
src/gtest/gtest.h:17296
↓ 3 callers
Function
CaptureStderr
Starts capturing stderr.
src/gtest/gtest-all.cpp:8417
↓ 3 callers
Function
CheckCStyleCast
Checks for a C-style cast by looking for the pattern. Args: filename: The name of the current file. linenum: The number of the line to chec
scripts/cpp_lint.py:4175
↓ 3 callers
Function
CleanseComments
Removes //-comments and single-line C-style /* */ comments. Args: line: A line of C++ source. Returns: The line with single-line comment
scripts/cpp_lint.py:1165
↓ 3 callers
Method
Clone
src/gtest/gtest.h:10146
↓ 3 callers
Function
FOpen
src/gtest/gtest.h:2682
↓ 3 callers
Function
FindEndOfExpressionInLine
Find the position just after the matching endchar. Args: line: a CleansedLines line. startpos: start searching at this position. depth:
scripts/cpp_lint.py:1228
↓ 3 callers
Function
FlagToEnvVar
Returns the name of the environment variable corresponding to the given flag. For example, FlagToEnvVar("foo") will return "GTEST_FOO" in the open-so
src/gtest/gtest-all.cpp:8451
↓ 3 callers
Function
FlushInfoLog
src/gtest/gtest.h:1990
↓ 3 callers
Function
FormatTimeInMillisAsSeconds
Formats the given time in milliseconds as seconds.
src/gtest/gtest-all.cpp:4499
↓ 3 callers
Method
GetTestPartResultReporterForCurrentThread
Returns the test part result reporter for the current thread.
src/gtest/gtest-all.cpp:1995
↓ 3 callers
Function
GetTestTypeId
Returns the type ID of ::testing::Test. We should always call this instead of GetTypeId< ::testing::Test>() to get the type ID of testing::Test. Thi
src/gtest/gtest-all.cpp:1897
↓ 3 callers
Function
InsertSplits
src/caffe/util/insert_splits.cpp:11
↓ 3 callers
Function
Int32FromGTestEnv
Reads and returns a 32-bit integer stored in the environment variable corresponding to the given flag; if it isn't set or doesn't represent a valid 32
src/gtest/gtest-all.cpp:8518
↓ 3 callers
Function
IsBlankLine
Returns true if the given line is blank. We consider a line to be blank if the line is empty or consists of only white spaces. Args: line:
scripts/cpp_lint.py:2297
↓ 3 callers
Function
IsSpace
src/gtest/gtest.h:2585
↓ 3 callers
Function
IsTrue
src/gtest/gtest-all.cpp:5834
↓ 3 callers
Function
MatchRegexAtHead
Returns true iff regex matches a prefix of str. regex must be a valid simple regular expression and not start with "^", or the result is undefined.
src/gtest/gtest-all.cpp:8123
↓ 3 callers
Function
ParseFlagValue
Parses a string as a command line flag. The string should have the format "--flag=value". When def_optional is true, the "=value" part can be omitte
src/gtest/gtest-all.cpp:5863
↓ 3 callers
Function
ParseInt32
Parses 'str' for a 32-bit signed integer. If successful, writes the result to *value and returns true; otherwise leaves *value unchanged and returns
src/gtest/gtest-all.cpp:8466
↓ 3 callers
Function
ParseInt32Flag
Parses a string for an Int32 flag, in the form of "--flag=value". On success, stores the value of the flag in *value, and returns true. On failure,
src/gtest/gtest-all.cpp:5918
↓ 3 callers
Function
ParseNolintSuppressions
Updates the global list of error-suppressions. Parses any NOLINT comments on the current line, updating the global error_suppressions store. Rep
scripts/cpp_lint.py:462
↓ 3 callers
Function
PrintByteSegmentInObjectTo
Prints a segment of bytes in the given object.
src/gtest/gtest-all.cpp:8612
↓ 3 callers
Function
PrintRawArrayTo
src/gtest/gtest.h:9632
← previous
next →
101–200 of 1,866, ranked by callers