Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Evolving-AI-Lab/fooling
/ functions
Functions
2,703 in github.com/Evolving-AI-Lab/fooling
⨍
Functions
2,703
◇
Types & classes
921
↓ 5 callers
Method
CheckGradient
Checks the gradient of a layer, with provided bottom layers and top layers. Note that after the gradient check, we do not guarantee that the data stor
caffe/src/caffe/test/test_gradient_check_util.hpp:37
↓ 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
caffe/scripts/cpp_lint.py:1253
↓ 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
caffe/src/gtest/gtest-all.cpp:2302
↓ 5 callers
Function
FitZDT2
sferes/tests/ea/nsga2.cpp:99
↓ 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.
caffe/src/gtest/gtest-all.cpp:6650
↓ 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
caffe/scripts/cpp_lint.py:2976
↓ 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.
caffe/src/gtest/gtest-all.cpp:5652
↓ 5 callers
Function
OpenCVImageToDatum
caffe/src/caffe/util/format.cpp:13
↓ 5 callers
Method
RngGaussianFill
caffe/src/caffe/test/test_random_number_generator.cpp:63
↓ 5 callers
Method
RngUniformFill
caffe/src/caffe/test/test_random_number_generator.cpp:111
↓ 5 callers
Function
StringFromGTestEnv
Reads and returns the string environment variable corresponding to the given flag; if it's not set, returns default_value.
caffe/src/gtest/gtest-all.cpp:8541
↓ 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.
caffe/src/gtest/gtest-all.cpp:1618
↓ 5 callers
Function
UpgradeV0Net
caffe/src/caffe/util/upgrade_proto.cpp:29
↓ 5 callers
Method
add_connection_w
special version when you need to increase weight
sferes/modules/nn2/nn.hpp:175
↓ 5 callers
Method
blob_by_name
caffe/src/caffe/net.cpp:401
↓ 5 callers
Function
caffe_rng
caffe/include/caffe/util/rng.hpp:13
↓ 5 callers
Function
caffe_rng_bernoulli
caffe/src/caffe/util/math_functions.cpp:358
↓ 5 callers
Function
check_serialize
sferes/tests/check_serialize.hpp:63
↓ 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_
caffe/src/gtest/gtest-all.cpp:5198
↓ 5 callers
Function
do_assertion_behaviour
sferes/sferes/dbg/dbg.cpp:1179
↓ 5 callers
Method
has_blob
caffe/src/caffe/net.cpp:396
↓ 5 callers
Method
index
caffe/src/gtest/gtest.h:8184
↓ 5 callers
Function
intMin
sferes/sferes/ea/cmaes.cpp:2778
↓ 5 callers
Function
listeners
Provides access to the event listener list.
caffe/src/gtest/gtest-all.cpp:976
↓ 5 callers
Function
period_allows
* Returns whether the period allows the constraint at the specified * @ref dbg::source_pos to trigger. This presumes that the assertion * at thi
sferes/sferes/dbg/dbg.cpp:567
↓ 5 callers
Function
print_period_info
sferes/sferes/dbg/dbg.cpp:1167
↓ 5 callers
Function
random
Gets the random number generator.
caffe/src/gtest/gtest-all.cpp:1172
↓ 5 callers
Method
set_weight
sferes/modules/nn2/pf.hpp:60
↓ 5 callers
Function
update_result
(result, suffix, ii, X, X0)
caffe/ascent/find_fooling_image.py:59
↓ 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
caffe/python/caffe/_caffe.cpp:39
↓ 4 callers
Function
CmpHelperEQ
caffe/src/gtest/gtest.h:18331
↓ 4 callers
Method
Failed
Returns true iff the test failed.
caffe/src/gtest/gtest-all.cpp:3157
↓ 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
caffe/src/gtest/gtest-all.cpp:3783
↓ 4 callers
Function
FormatForComparisonFailureMessage
caffe/src/gtest/gtest.h:18322
↓ 4 callers
Function
FormatTestCount
Formats the count of tests.
caffe/src/gtest/gtest-all.cpp:3791
↓ 4 callers
Function
GTestStreamToHelper
caffe/src/gtest/gtest.h:6776
↓ 4 callers
Function
GetElementOr
caffe/src/gtest/gtest-all.cpp:691
↓ 4 callers
Function
GetLastErrnoDescription
Returns the message describing the last system error in errno.
caffe/src/gtest/gtest-all.cpp:6461
↓ 4 callers
Function
NetNeedsUpgrade
caffe/src/caffe/util/upgrade_proto.cpp:20
↓ 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
caffe/src/gtest/gtest-all.cpp:8807
↓ 4 callers
Method
ReferenceLRNForward
caffe/src/caffe/test/test_lrn_layer.cpp:53
↓ 4 callers
Method
RngGaussianFillGPU
caffe/src/caffe/test/test_random_number_generator.cpp:68
↓ 4 callers
Method
RngUniformFillGPU
caffe/src/caffe/test/test_random_number_generator.cpp:117
↓ 4 callers
Method
SetTestPartResultReporterForCurrentThread
Sets the test part result reporter for the current thread.
caffe/src/gtest/gtest-all.cpp:2002
↓ 4 callers
Function
StrDup
caffe/src/gtest/gtest.h:2621
↓ 4 callers
Method
TestForward
caffe/src/caffe/test/test_pooling_layer.cpp:48
↓ 4 callers
Method
TestRead
caffe/src/caffe/test/test_data_layer.cpp:116
↓ 4 callers
Method
TestReadCropTrainSequenceSeeded
caffe/src/caffe/test/test_data_layer.cpp:197
↓ 4 callers
Method
TestReadCropTrainSequenceUnseeded
caffe/src/caffe/test/test_data_layer.cpp:248
↓ 4 callers
Method
_create_log_file
sferes/sferes/stat/stat.hpp:64
↓ 4 callers
Function
_g
sferes/tests/ea/nsga2.cpp:79
↓ 4 callers
Function
add_to_archive
make the identification vector and add to the archive / elite list
sferes/sferes/ea/eps_moea.hpp:335
↓ 4 callers
Function
array_size
sferes/sferes/dbg/dbg.hpp:1429
↓ 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.
caffe/src/gtest/gtest-all.cpp:5781
↓ 4 callers
Function
dominate_flag
sferes/sferes/fit/fitness.hpp:145
↓ 4 callers
Function
douMax
sferes/sferes/ea/cmaes.cpp:2782
↓ 4 callers
Method
generator
caffe/src/caffe/common.cpp:138
↓ 4 callers
Method
getPopulationFromFile
sferes/exp/images/continue_run/continue_run.hpp:36
↓ 4 callers
Function
indiv_str
debug function
sferes/sferes/ea/eps_moea.hpp:341
↓ 4 callers
Method
is_input
sferes/modules/nn2/nn.hpp:295
↓ 4 callers
Method
key
Gets the user supplied key.
caffe/src/gtest/gtest.h:17506
↓ 4 callers
Function
mean
sferes/sferes/stat/mean_fit.hpp:59
↓ 4 callers
Method
mutate
@{
sferes/sferes/gen/float.hpp:66
↓ 4 callers
Method
original_working_dir
Returns the working directory when the first TEST() or TEST_F() was executed.
caffe/src/gtest/gtest-all.cpp:5183
↓ 4 callers
Method
random_seed
Returns the random seed used at the start of the current test run.
caffe/src/gtest/gtest-all.cpp:5204
↓ 4 callers
Method
repeater
Returns repeater that broadcasts the TestEventListener events to all subscribers.
caffe/src/gtest/gtest-all.cpp:4884
↓ 4 callers
Method
run_with_current_population
sferes/exp/images/continue_run/continue_run.hpp:50
↓ 4 callers
Method
sample_mean
caffe/src/caffe/test/test_random_number_generator.cpp:31
↓ 4 callers
Method
set_rank
sferes/sferes/ea/crowd.hpp:186
↓ 4 callers
Method
test_to_run_count
Gets the number of tests that should run.
caffe/src/gtest/gtest-all.cpp:2049
↓ 4 callers
Function
timings_update
sferes/sferes/ea/cmaes.cpp:2189
↓ 4 callers
Method
total_test_count
Gets the number of all tests.
caffe/src/gtest/gtest-all.cpp:2044
↓ 3 callers
Method
AddTestPartResult
Adds a test part result to the list.
caffe/src/gtest/gtest-all.cpp:3111
↓ 3 callers
Function
AssertionResult
Used in the EXPECT_TRUE/FALSE(bool_expression).
caffe/src/gtest/gtest.h:17296
↓ 3 callers
Function
CaptureStderr
Starts capturing stderr.
caffe/src/gtest/gtest-all.cpp:8418
↓ 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
caffe/scripts/cpp_lint.py:4177
↓ 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
caffe/scripts/cpp_lint.py:1166
↓ 3 callers
Method
Clone
caffe/src/gtest/gtest.h:10146
↓ 3 callers
Function
FOpen
caffe/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:
caffe/scripts/cpp_lint.py:1229
↓ 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
caffe/src/gtest/gtest-all.cpp:8452
↓ 3 callers
Function
FlushInfoLog
caffe/src/gtest/gtest.h:1990
↓ 3 callers
Function
FormatTimeInMillisAsSeconds
Formats the given time in milliseconds as seconds.
caffe/src/gtest/gtest-all.cpp:4500
↓ 3 callers
Method
GetTestPartResultReporterForCurrentThread
Returns the test part result reporter for the current thread.
caffe/src/gtest/gtest-all.cpp:1996
↓ 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
caffe/src/gtest/gtest-all.cpp:1898
↓ 3 callers
Function
InsertSplits
caffe/src/caffe/util/insert_splits.cpp:18
↓ 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
caffe/src/gtest/gtest-all.cpp:8519
↓ 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:
caffe/scripts/cpp_lint.py:2299
↓ 3 callers
Function
IsSpace
caffe/src/gtest/gtest.h:2585
↓ 3 callers
Function
IsTrue
caffe/src/gtest/gtest-all.cpp:5835
↓ 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.
caffe/src/gtest/gtest-all.cpp:8124
↓ 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
caffe/src/gtest/gtest-all.cpp:5864
↓ 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
caffe/src/gtest/gtest-all.cpp:8467
↓ 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,
caffe/src/gtest/gtest-all.cpp:5919
↓ 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
caffe/scripts/cpp_lint.py:463
↓ 3 callers
Method
PrefetchRand
caffe/src/caffe/layers/window_data_layer.cpp:431
↓ 3 callers
Method
PrefetchRand
caffe/src/caffe/layers/data_layer.cpp:341
↓ 3 callers
Function
PrintByteSegmentInObjectTo
Prints a segment of bytes in the given object.
caffe/src/gtest/gtest-all.cpp:8613
↓ 3 callers
Function
PrintRawArrayTo
caffe/src/gtest/gtest.h:9632
↓ 3 callers
Function
PrintToString
caffe/src/gtest/gtest.h:9973
← previous
next →
201–300 of 2,703, ranked by callers