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
↓ 2 callers
Function
SkipComma
Skips to the first non-space char after the first comma in 'str'; returns NULL if no comma is found in 'str'.
src/gtest/gtest.h:7296
↓ 2 callers
Function
SplitBlobName
src/caffe/util/insert_splits.cpp:108
↓ 2 callers
Function
Stat
src/gtest/gtest.h:2640
↓ 2 callers
Function
StrNCpy
src/gtest/gtest.h:2671
↓ 2 callers
Function
StreamWideCharsToMessage
Converts an array of wide chars to a narrow string using the UTF-8 encoding, and streams the result to the given Message object.
src/gtest/gtest-all.cpp:2210
↓ 2 callers
Method
SuppressEventForwarding
src/gtest/gtest-all.cpp:4923
↓ 2 callers
Method
TestDropoutForward
src/caffe/test/test_neuron_layer.cpp:38
↓ 2 callers
Method
TestForwardRectHigh
Test for 3x 2 rectangular pooling layer with kernel_h > kernel_w
src/caffe/test/test_pooling_layer.cpp:118
↓ 2 callers
Method
TestForwardRectWide
Test for rectangular pooling layer with kernel_w > kernel_h
src/caffe/test/test_pooling_layer.cpp:243
↓ 2 callers
Method
TestForwardSquare
Test for 2x 2 square pooling layer
src/caffe/test/test_pooling_layer.cpp:46
↓ 2 callers
Method
TestRead
src/caffe/test/test_data_layer.cpp:116
↓ 2 callers
Method
TestReadCropTrainSequenceSeeded
src/caffe/test/test_data_layer.cpp:197
↓ 2 callers
Method
TestReadCropTrainSequenceUnseeded
src/caffe/test/test_data_layer.cpp:248
↓ 2 callers
Function
Values
src/gtest/gtest.h:15528
↓ 2 callers
Function
WideStringToUtf8
Converts a wide string to a narrow string in UTF-8 encoding. The wide string is assumed to have the following encoding: UTF-16 if sizeof(wchar_t) == 2
src/gtest/gtest-all.cpp:2807
↓ 2 callers
Function
_DropCommonSuffixes
Drops common suffixes like _test.cc or -inl.h from filename. For example: >>> _DropCommonSuffixes('foo/foo-inl.h') 'foo/foo' >>> _DropC
scripts/cpp_lint.py:3504
↓ 2 callers
Function
_SetVerboseLevel
Sets the module's verbosity, and returns the previous setting.
scripts/cpp_lint.py:780
↓ 2 callers
Function
_VerboseLevel
Returns the module's verbosity setting.
scripts/cpp_lint.py:775
↓ 2 callers
Method
asum_data
src/caffe/blob.cpp:138
↓ 2 callers
Method
classify_image
(self, image)
examples/web_demo/app.py:143
↓ 2 callers
Function
col2im_cpu
src/caffe/util/im2col.cpp:48
↓ 2 callers
Method
crop
Crop a window from the image for detection. Include surrounding context according to the `context_pad` configuration. Take
python/caffe/detector.py:124
↓ 2 callers
Method
detect_windows
Do windowed detection over given images and windows. Windows are extracted then warped to the input dimensions of the net. T
python/caffe/detector.py:58
↓ 2 callers
Function
extract_datetime_from_line
(line, year)
tools/extra/extract_seconds.py:6
↓ 2 callers
Function
hdf5_load_nd_dataset_helper
src/caffe/util/io.cpp:113
↓ 2 callers
Method
join_new
Create a new circle that includes only this instance.
src/gtest/gtest.h:9046
↓ 2 callers
Method
predict
Predict classification probabilities of inputs. Take inputs: iterable of (H x W x K) input ndarrays. oversample: ave
python/caffe/classifier.py:49
↓ 2 callers
Function
read_image
examples/cifar10/convert_cifar_data.cpp:26
↓ 2 callers
Method
rng
src/caffe/common.cpp:77
↓ 2 callers
Method
set_cpu_data
src/caffe/blob.cpp:47
↓ 2 callers
Method
set_mode_cpu
The caffe::Caffe utility functions.
python/caffe/_caffe.cpp:235
↓ 2 callers
Method
set_mode_gpu
python/caffe/_caffe.cpp:236
↓ 2 callers
Method
set_phase_test
python/caffe/_caffe.cpp:238
↓ 2 callers
Function
shuffle
include/caffe/util/rng.hpp:22
↓ 2 callers
Method
test_case_to_run_count
Gets the number of all test cases that contain at least one test that should run.
src/gtest/gtest-all.cpp:2023
↓ 2 callers
Method
total_test_case_count
Gets the number of all test cases.
src/gtest/gtest-all.cpp:2017
↓ 2 callers
Function
type
Gets the outcome of the test part.
src/gtest/gtest.h:16729
↓ 1 callers
Method
Abort
Signals that the death test code which should have exited, didn't. Should be called only in a death test child process. Writes a status byte to the ch
src/gtest/gtest-all.cpp:6626
↓ 1 callers
Method
AddArguments
src/gtest/gtest-all.cpp:7058
↓ 1 callers
Method
AddEnvironment
Registers and returns a global test environment. When a test program is run, all global test environments will be set-up in the order they were regis
src/gtest/gtest-all.cpp:5037
↓ 1 callers
Method
AllowForceBackward
Declare for each bottom blob whether to allow force_backward -- that is, if AllowForceBackward(i) == false, we will ignore the force_backward setting
include/caffe/layer.hpp:91
↓ 1 callers
Function
AlwaysFalse
Always returns false.
src/gtest/gtest.h:7414
↓ 1 callers
Function
AppendUserMessage
Appends the user-supplied message to the Google-Test-generated message.
src/gtest/gtest-all.cpp:3058
↓ 1 callers
Method
Argv
src/gtest/gtest-all.cpp:7065
↓ 1 callers
Method
Backward
include/caffe/layer.hpp:204
↓ 1 callers
Method
BackwardFrom
src/caffe/net.cpp:603
↓ 1 callers
Method
BackwardFromTo
src/caffe/net.cpp:501
↓ 1 callers
Method
BackwardTo
src/caffe/net.cpp:608
↓ 1 callers
Method
BaseName
File base name - text after the final slash, before the final period.
scripts/cpp_lint.py:942
↓ 1 callers
Method
Begin
src/gtest/gtest.h:10124
↓ 1 callers
Method
Begin
Start analyzing function body. Args: function_name: The name of the function being tracked.
scripts/cpp_lint.py:819
↓ 1 callers
Method
CanonicalizeAlphabeticalOrder
Returns a path canonicalized for alphabetical comparison. - replaces "-" with "_" so they both cmp the same. - removes '-inl' since we don't
scripts/cpp_lint.py:595
↓ 1 callers
Method
Check
Report if too many lines in function body. Args: error: The function to call with any errors found. filename: The name of the current
scripts/cpp_lint.py:834
↓ 1 callers
Function
CheckAccess
Checks for improper use of DISALLOW* macros. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing
scripts/cpp_lint.py:2414
↓ 1 callers
Function
CheckAltTokens
Check alternative keywords being used in boolean expressions. Args: filename: The name of the current file. clean_lines: A CleansedLines in
scripts/cpp_lint.py:3333
↓ 1 callers
Method
CheckBegin
Run checks that applies to text up to the opening brace. This is mostly for checking the text after the class identifier and the "{", usually
scripts/cpp_lint.py:1691
↓ 1 callers
Function
CheckBraces
Looks for misplaced braces (e.g. at the end of line). Args: filename: The name of the current file. clean_lines: A CleansedLines instance c
scripts/cpp_lint.py:2997
↓ 1 callers
Function
CheckCaffeRandom
Checks for calls to C random functions (rand, rand_r, random, ...). Caffe code should (almost) always use the caffe_rng_* functions rather than t
scripts/cpp_lint.py:1568
↓ 1 callers
Function
CheckCheck
Checks the use of CHECK and EXPECT macros. Args: filename: The name of the current file. clean_lines: A CleansedLines instance containing t
scripts/cpp_lint.py:3206
↓ 1 callers
Function
CheckComment
Checks for common mistakes in TODO comments. Args: comment: The text of the comment from the line in question. filename: The name of the cu
scripts/cpp_lint.py:2385
↓ 1 callers
Method
CheckCompletedBlocks
Checks that all classes and namespaces have been completely parsed. Call this when all lines in a file have been processed. Args: filen
scripts/cpp_lint.py:2100
↓ 1 callers
Function
CheckEmptyBlockBody
Look for empty loop/conditional body with only a single semicolon. Args: filename: The name of the current file. clean_lines: A CleansedLin
scripts/cpp_lint.py:3171
↓ 1 callers
Method
CheckEnd
Run checks that applies to text after the closing brace. This is mostly used for checking end of namespace comments. Args: filename: T
scripts/cpp_lint.py:1706
↓ 1 callers
Function
CheckForBadCharacters
Logs an error for each line containing bad characters. Two kinds of bad characters: 1. Unicode replacement characters: These indicate that eithe
scripts/cpp_lint.py:1481
↓ 1 callers
Function
CheckForCopyright
Logs an error if a Copyright message appears at the top of the file.
scripts/cpp_lint.py:1370
↓ 1 callers
Function
CheckForFunctionLengths
Reports for long function bodies. For an overview why this is done, see: http://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Sho
scripts/cpp_lint.py:2312
↓ 1 callers
Function
CheckForHeaderGuard
Checks that the file contains a header guard. Logs an error if no #ifndef header guard is present. For other headers, checks that the full pathn
scripts/cpp_lint.py:1406
↓ 1 callers
Function
CheckForIncludeWhatYouUse
Reports for missing stl includes. This function will output warnings to make sure you are including the headers necessary for the stl containers
scripts/cpp_lint.py:4411
↓ 1 callers
Function
CheckForMultilineCommentsAndStrings
Logs an error if we see /* ... */ or "..." that extend past one line. /* ... */ comments are legit inside macros, for one line. Otherwise, we pre
scripts/cpp_lint.py:1524
↓ 1 callers
Function
CheckForNewlineAtEOF
Logs an error if there is no newline char at the end of the file. Args: filename: The name of the current file. lines: An array of strings,
scripts/cpp_lint.py:1506
↓ 1 callers
Function
CheckForNonConstReference
Check for non-const references. Separate from CheckLanguage since it scans backwards from current line, instead of scanning forward. Args:
scripts/cpp_lint.py:4062
↓ 1 callers
Function
CheckForNonStandardConstructs
r"""Logs an error if we see certain non-ANSI constructs ignored by gcc-2. Complain about several constructs which gcc-2 accepts, but which are no
scripts/cpp_lint.py:2122
↓ 1 callers
Function
CheckIncludeLine
Check rules that are applicable to #include lines. Strings on #include lines are NOT removed from elided line, to make certain tasks easier. Howe
scripts/cpp_lint.py:3608
↓ 1 callers
Function
CheckInvalidIncrement
Checks for invalid increment *count++. For example following function: void increment_counter(int* count) { *count++; } is invalid, becau
scripts/cpp_lint.py:1661
↓ 1 callers
Function
CheckLanguage
Checks rules from the 'C++ language rules' section of cppguide.html. Some of these rules are hard to test (function overloading, using uint32 ina
scripts/cpp_lint.py:3762
↓ 1 callers
Function
CheckMakePairUsesDeduction
Check that make_pair's template arguments are deduced. G++ 4.6 in C++0x mode fails badly if make_pair's template arguments are specified explicit
scripts/cpp_lint.py:4507
↓ 1 callers
Method
CheckNextIncludeOrder
Returns a non-empty error message if the next header is out of order. This function also updates the internal state to be ready to check the
scripts/cpp_lint.py:631
↓ 1 callers
Function
CheckPosixThreading
Checks for calls to thread-unsafe functions. Much code has been originally written without consideration of multi-threading. Also, engineers are
scripts/cpp_lint.py:1609
↓ 1 callers
Function
CheckSectionSpacing
Checks for additional blank line issues related to sections. Currently the only thing checked here is blank line before protected/private. Args:
scripts/cpp_lint.py:2919
↓ 1 callers
Function
CheckSpacing
Checks for the correctness of various spacing issues in the code. Things we check for: spaces around operators, spaces after if/for/while/switch,
scripts/cpp_lint.py:2571
↓ 1 callers
Function
CheckSpacingForFunctionCall
Checks for the correctness of various spacing around function calls. Args: filename: The name of the current file. line: The text of the li
scripts/cpp_lint.py:2229
↓ 1 callers
Function
CheckStyle
Checks rules from the 'C++ style rules' section of cppguide.html. Most of these rules are hard to test (naming, comment style), but we do what we
scripts/cpp_lint.py:3387
↓ 1 callers
Function
CheckVlogArguments
Checks that VLOG() is only used for defining a logging level. For example, VLOG(2) is correct. VLOG(INFO), VLOG(WARNING), VLOG(ERROR), and VLOG(F
scripts/cpp_lint.py:1636
↓ 1 callers
Function
CleanseRawStrings
Removes C++11 raw strings from lines. Before: static const char kData[] = R"( multi-line string )"; After: s
scripts/cpp_lint.py:1060
↓ 1 callers
Function
ClearNonAdHocTestResult
Clears the results of all tests, except the ad hoc tests.
src/gtest/gtest-all.cpp:1087
↓ 1 callers
Method
ClearResult
Clears the results of all tests in this test case.
src/gtest/gtest-all.cpp:3761
↓ 1 callers
Method
ClearTestPartResults
Clears the test part results.
src/gtest/gtest-all.cpp:3105
↓ 1 callers
Function
CloneString
Copies at most length characters from str into a newly-allocated piece of memory of size length+1. The memory is allocated with new[]. A terminating
src/gtest/gtest-all.cpp:2138
↓ 1 callers
Function
CmpHelperSTREQ
Helper function for *_STREQ on wide strings.
src/gtest/gtest-all.cpp:2863
↓ 1 callers
Function
CodePointToUtf8
Converts a Unicode code point to a narrow string in UTF-8 encoding. code_point parameter is of type UInt32 because wchar_t may not be wide enough to c
src/gtest/gtest-all.cpp:2738
↓ 1 callers
Function
CopyArray
src/gtest/gtest.h:7677
↓ 1 callers
Method
Count
Count line in current function body.
scripts/cpp_lint.py:829
↓ 1 callers
Function
CreateCodePointFromUtf16SurrogatePair
Creates a Unicode code point from UTF16 surrogate pair.
src/gtest/gtest-all.cpp:2784
↓ 1 callers
Method
CreateDirectoriesRecursively
Create directories so that path exists. Returns true if successful or if the directories already exist; returns false if unable to create directories
src/gtest/gtest-all.cpp:7728
↓ 1 callers
Method
CreateFolder
Create the directory so that path exists. Returns true if successful or if the directory already exists; returns false if unable to create the directo
src/gtest/gtest-all.cpp:7745
↓ 1 callers
Method
CreateTestFactory
src/gtest/gtest.h:10331
↓ 1 callers
Function
DeathTestThreadWarning
Generates a textual failure message when a death test finds more than one thread running, or cannot determine the number of threads, prior to executin
src/gtest/gtest-all.cpp:6375
↓ 1 callers
Function
DefaultPrintNonContainerTo
src/gtest/gtest.h:9403
↓ 1 callers
Function
DefaultPrintTo
src/gtest/gtest.h:9454
↓ 1 callers
Function
DeleteThreadLocalValue
src/gtest/gtest.h:2355
← previous
next →
301–400 of 1,866, ranked by callers