Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coderSkyChen/Action_Recognition_Zoo
/ functions
Functions
2,338 in github.com/coderSkyChen/Action_Recognition_Zoo
⨍
Functions
2,338
◇
Types & classes
410
↓ 2 callers
Function
integral_bounded
(fn, lb, ub)
model_zoo/models/differential_privacy/privacy_accountant/python/gaussian_moments.py:79
↓ 2 callers
Function
integral_bounded_mp
(fn, lb, ub)
model_zoo/models/differential_privacy/privacy_accountant/python/gaussian_moments.py:164
↓ 2 callers
Function
isFlowCorrect
optical_flow/gpu_main.cpp:18
↓ 2 callers
Function
isFlowCorrect
optical_flow/main.cpp:16
↓ 2 callers
Function
labels_from_probs
Helper function: computes argmax along last dimension of array to obtain labels (max prob or max logit value) :param probs: numpy array where p
model_zoo/models/differential_privacy/multiple_teachers/aggregation.py:24
↓ 2 callers
Method
load_annotated_data
(self, in_file)
model_zoo/models/neural_programmer/wiki_data.py:285
↓ 2 callers
Method
load_annotated_tables
(self)
model_zoo/models/neural_programmer/wiki_data.py:321
↓ 2 callers
Function
load_block8
(state_dict, name_pth, name_tf)
model_zoo/inceptionresnetv2/pytorch_load.py:364
↓ 2 callers
Function
load_mixed_4a_7a
(state_dict, name_pth, name_tf)
model_zoo/inceptionv4/pytorch_load.py:289
↓ 2 callers
Function
logmgf_exact
Computes the logmgf value given q and privacy eps. The bound used is the min of three terms. The first term is from https://arxiv.org/pdf/1605.02
model_zoo/models/differential_privacy/multiple_teachers/analysis.py:119
↓ 2 callers
Method
loss
(self)
model_zoo/models/namignizer/model.py:120
↓ 2 callers
Method
make_hard_softmax
(self, softmax)
model_zoo/models/neural_programmer/model.py:265
↓ 2 callers
Function
make_padding
(padding_name, conv_shape)
model_zoo/inceptionresnetv2/tensorflow_dump.py:30
↓ 2 callers
Method
mutable_sentence
model_zoo/models/syntaxnet/syntaxnet/parser_state.h:167
↓ 2 callers
Method
neighbors
Returns the nearest neighbors to the query (a word or vector).
model_zoo/models/swivel/vecs.py:72
↓ 2 callers
Function
network_fn
(images)
model_zoo/models/slim/nets/nets_factory.py:103
↓ 2 callers
Method
num_examples_per_epoch
Returns the number of examples in the data subset.
model_zoo/models/inception/inception/dataset.py:59
↓ 2 callers
Function
parse_expr
(expr)
model_zoo/bninception/layer_factory.py:8
↓ 2 callers
Function
partial_column_match
(question, table, number)
model_zoo/models/neural_programmer/data_utils.py:173
↓ 2 callers
Function
pdf_gauss
(x, sigma, mean=0)
model_zoo/models/differential_privacy/privacy_accountant/python/gaussian_moments.py:63
↓ 2 callers
Function
pdf_gauss_mp
(x, sigma, mean)
model_zoo/models/differential_privacy/privacy_accountant/python/gaussian_moments.py:154
↓ 2 callers
Function
pick_one
(a)
model_zoo/models/neural_programmer/data_utils.py:248
↓ 2 callers
Method
pre_process_sentence
(self, tokens, ner_tags, ner_values)
model_zoo/models/neural_programmer/wiki_data.py:245
↓ 2 callers
Method
process_image
Decodes and processes an image string. Args: encoded_image: A scalar string Tensor; the encoded image. thread_id: Preprocessing threa
model_zoo/models/im2txt/im2txt/show_and_tell_model.py:103
↓ 2 callers
Function
rand_dup_pair
Random data pair for duplication task. Total length should be <= l.
model_zoo/models/neural_gpu/data_utils.py:99
↓ 2 callers
Function
rand_kvsort_pair
Random data pair for key-value sort. Total length should be <= l.
model_zoo/models/neural_gpu/data_utils.py:125
↓ 2 callers
Function
rand_pair
Random data pair for a task. Total length should be <= l.
model_zoo/models/neural_gpu/data_utils.py:75
↓ 2 callers
Function
rand_rev2_pair
Random data pair for reverse2 task. Total length should be <= l.
model_zoo/models/neural_gpu/data_utils.py:107
↓ 2 callers
Function
rand_search_pair
Random data pair for search task. Total length should be <= l.
model_zoo/models/neural_gpu/data_utils.py:114
↓ 2 callers
Function
read_marginals_file
Reads text file with one number per line to an array.
model_zoo/models/swivel/swivel.py:142
↓ 2 callers
Method
reader
Return a reader for a single entry from the data set. See io_ops.py for details of Reader class. Returns: Reader object that reads the
model_zoo/models/inception/inception/dataset.py:95
↓ 2 callers
Method
sanitize
Sanitize the given tensor. This santize a given tensor by first applying l2 norm clipping and then adding Gaussian noise. It calls the privac
model_zoo/models/differential_privacy/dp_sgd/dp_optimizer/sanitizer.py:66
↓ 2 callers
Function
sens_at_k
Return sensitivity at distane k. Args: counts: an array of scores noise_eps: noise parameter used l: moment whose sensitivity is being
model_zoo/models/differential_privacy/multiple_teachers/analysis.py:161
↓ 2 callers
Method
set_descriptor
model_zoo/models/syntaxnet/syntaxnet/feature_extractor.h:240
↓ 2 callers
Method
set_extractor
model_zoo/models/syntaxnet/syntaxnet/feature_extractor.h:234
↓ 2 callers
Method
set_is_gold
model_zoo/models/syntaxnet/syntaxnet/parser_state.h:180
↓ 2 callers
Method
set_prefix
model_zoo/models/syntaxnet/syntaxnet/feature_extractor.h:272
↓ 2 callers
Method
shorter
Gets/sets the affix that is one character shorter.
model_zoo/models/syntaxnet/syntaxnet/affix.h:60
↓ 2 callers
Function
sigmoid_cutoff
Sigmoid with cutoff, e.g., 1.2sigmoid(x) - 0.1.
model_zoo/models/neural_gpu/neural_gpu.py:41
↓ 2 callers
Function
spec
Return the target given the input for some tasks.
model_zoo/models/neural_gpu/data_utils.py:133
↓ 2 callers
Function
task_print
(inp, output, target)
model_zoo/models/neural_gpu/data_utils.py:275
↓ 2 callers
Function
tensor_shape
Returns a heterogeneous list of tensor_dim for the tensor. See tensor_dim for a more detailed explanation. Args: tensor: Input tensor. Ret
model_zoo/models/street/python/shapes.py:203
↓ 2 callers
Function
test_block8
(module, name)
model_zoo/inceptionresnetv2/pytorch_load.py:505
↓ 2 callers
Function
train_and_val_test
(modality='rgb')
process_dataset.py:15
↓ 2 callers
Function
unpickle_cifar_dic
Helper function: unpickles a dictionary (used for loading CIFAR) :param file: filename of the pickle :return: tuple of (images, labels)
model_zoo/models/differential_privacy/multiple_teachers/input.py:150
↓ 2 callers
Method
update
(self, val, n=1)
test_models.py:75
↓ 2 callers
Method
utf8_length
model_zoo/models/syntaxnet/util/utf8/unicodetext.h:293
↓ 2 callers
Function
variable_device
Fix the variable device to colocate its ops.
model_zoo/models/inception/inception/slim/variables.py:209
↓ 2 callers
Function
word_lookup
(word, utility)
model_zoo/models/neural_programmer/data_utils.py:82
↓ 2 callers
Function
words
Splits a line of text into tokens.
model_zoo/models/swivel/prep.py:86
↓ 2 callers
Function
write_embedding_tensor_to_disk
Writes tensor to output_path as tsv
model_zoo/models/swivel/swivel.py:148
↓ 2 callers
Function
write_vocab_and_sums
Writes vocabulary and marginal sum files.
model_zoo/models/swivel/prep.py:127
↓ 1 callers
Method
Add
model_zoo/models/syntaxnet/syntaxnet/shared_store_test.cc:84
↓ 1 callers
Method
AddChar
model_zoo/models/syntaxnet/syntaxnet/char_properties.cc:180
↓ 1 callers
Method
AddCharSpec
model_zoo/models/syntaxnet/syntaxnet/char_properties.cc:214
↓ 1 callers
Function
AddCrossEntropy
Adds a cross entropy cost function.
model_zoo/models/syntaxnet/syntaxnet/structured_graph_builder.py:32
↓ 1 callers
Method
AddPretrainedEmbeddings
Embeddings at the given index will be set to pretrained values.
model_zoo/models/syntaxnet/syntaxnet/graph_builder.py:475
↓ 1 callers
Method
Advance
This method updates the beam. For all elements of the beam, all allowed transitions are scored and insterted into a new beam. The beam size is capped
model_zoo/models/syntaxnet/syntaxnet/beam_reader_ops.cc:184
↓ 1 callers
Method
AdvanceBeam
model_zoo/models/syntaxnet/syntaxnet/beam_reader_ops.cc:435
↓ 1 callers
Method
AffixForm
model_zoo/models/syntaxnet/syntaxnet/affix.cc:197
↓ 1 callers
Method
AffixId
model_zoo/models/syntaxnet/syntaxnet/affix.cc:206
↓ 1 callers
Method
AllFinal
model_zoo/models/syntaxnet/syntaxnet/beam_reader_ops.cc:249
↓ 1 callers
Function
BatchedSparseToDense
Batch compatible sparse to dense conversion. This is useful for one-hot coded target labels. Args: sparse_indices: [batch_size] tensor conta
model_zoo/models/syntaxnet/syntaxnet/graph_builder.py:29
↓ 1 callers
Method
BeamSize
model_zoo/models/syntaxnet/syntaxnet/beam_reader_ops.cc:243
↓ 1 callers
Method
Build
Builds the model from the separate input/layers/output spec strings. Args: input_pattern: File pattern of the data in tfrecords of TF Examp
model_zoo/models/street/python/vgsl_model.py:274
↓ 1 callers
Method
Build
Builds a network with input prev_layer from a VGSLSpecs description. Args: prev_layer: The input tensor. model_str: Model definition
model_zoo/models/street/python/vgslspecs.py:62
↓ 1 callers
Function
CodepointCount
model_zoo/models/syntaxnet/util/utf8/unicodetext.cc:39
↓ 1 callers
Function
CodepointString
model_zoo/models/syntaxnet/util/utf8/unicodetext.cc:502
↓ 1 callers
Method
Compute
Computes the label of the relation between the focus token and its parent. Valid focus values range from -1 to sentence->size() - 1, inclusively.
model_zoo/models/syntaxnet/syntaxnet/parser_features.cc:153
↓ 1 callers
Method
Compute
Returns the first nested feature's computed value.
model_zoo/models/syntaxnet/syntaxnet/feature_extractor.h:525
↓ 1 callers
Method
ConvertFromString
model_zoo/models/syntaxnet/syntaxnet/text_formats.cc:85
↓ 1 callers
Method
ConvertToString
Converts a sentence to a key/value pair.
model_zoo/models/syntaxnet/syntaxnet/text_formats.cc:166
↓ 1 callers
Method
Count
model_zoo/models/swivel/fastprep.cc:441
↓ 1 callers
Function
CountErrors
Counts the drops and adds between 2 bags of iterables. Simple bag of objects count returns the number of dropped and added elements, regardless o
model_zoo/models/street/python/errorcounter.py:52
↓ 1 callers
Function
CreateVocabulary
Creates a vocabulary from the most frequent terms in the input file.
model_zoo/models/swivel/fastprep.cc:135
↓ 1 callers
Function
DecodeFixed32
Lower-level versions of Get... that read directly from a character buffer without any bounds checking.
model_zoo/models/syntaxnet/syntaxnet/utils.cc:175
↓ 1 callers
Method
DecodeLoop
Decoding loop for long running process.
model_zoo/models/textsum/seq2seq_attention_decode.py:95
↓ 1 callers
Method
EmbeddingDims
Returns the dimensionality of the embedding space.
model_zoo/models/syntaxnet/syntaxnet/embedding_feature_extractor.h:78
↓ 1 callers
Function
EmbeddingLookupFeatures
Computes embeddings for each entry of sparse features sparse_features. Args: params: list of 2D tensors containing vector embeddings sparse
model_zoo/models/syntaxnet/syntaxnet/graph_builder.py:45
↓ 1 callers
Method
EmbeddingSize
Number of predicates for the embedding at a given index (vocabulary size.)
model_zoo/models/syntaxnet/syntaxnet/embedding_feature_extractor.h:65
↓ 1 callers
Method
Epoch
model_zoo/models/syntaxnet/syntaxnet/beam_reader_ops.cc:513
↓ 1 callers
Function
Eval
Builds and evaluates a network.
model_zoo/models/syntaxnet/syntaxnet/parser_eval.py:76
↓ 1 callers
Function
Eval
Evaluates a network and checkpoints it to disk. Args: sess: tensorflow session to use parser: graph builder containing all ops references
model_zoo/models/syntaxnet/syntaxnet/parser_trainer.py:118
↓ 1 callers
Method
Evaluate
model_zoo/models/swivel/analogy.cc:176
↓ 1 callers
Method
Extend
Extend the hypothesis with result from latest step. Args: token: latest token from decoding. log_prob: log prob of the latest decoded
model_zoo/models/textsum/beam_search.py:45
↓ 1 callers
Method
FeatureSize
model_zoo/models/syntaxnet/syntaxnet/lexicon_builder.cc:191
↓ 1 callers
Method
FindNode
(self, name)
model_zoo/models/syntaxnet/syntaxnet/graph_builder_test.py:67
↓ 1 callers
Function
FindNumberBoundingBoxes
(root)
model_zoo/models/inception/inception/data/process_bounding_boxes.py:108
↓ 1 callers
Method
GetCharStartEndBytes
Convenience function for computing start/end byte offsets of a character StringPiece relative to original text.
model_zoo/models/syntaxnet/syntaxnet/segmenter_utils.h:72
↓ 1 callers
Method
GetDomainSize
model_zoo/models/syntaxnet/syntaxnet/feature_extractor.cc:66
↓ 1 callers
Method
GetFeatureValueName
Returns the feature name for a given feature value.
model_zoo/models/syntaxnet/syntaxnet/feature_types.h:152
↓ 1 callers
Method
GetNumCorrect
Returns the number of correct analogies after evaluation is complete.
model_zoo/models/swivel/analogy.cc:153
↓ 1 callers
Method
GetOffset
Returns the offset (i.e. row number) of a particular beam at a particular step in the final concatenated score matrix.
model_zoo/models/syntaxnet/syntaxnet/beam_reader_ops.cc:499
↓ 1 callers
Method
GetUTF8Chars
model_zoo/models/syntaxnet/syntaxnet/segmenter_utils.cc:40
↓ 1 callers
Method
GoldTag
Returns the gold tag for a given token.
model_zoo/models/syntaxnet/syntaxnet/tagger_transitions.cc:82
↓ 1 callers
Method
GoldTag
Returns the gold tag for a given token.
model_zoo/models/syntaxnet/syntaxnet/morpher_transitions.cc:87
↓ 1 callers
Function
Hash32
model_zoo/models/syntaxnet/syntaxnet/utils.cc:186
↓ 1 callers
Method
IdToWord
(self, word_id)
model_zoo/models/textsum/data.py:64
↓ 1 callers
Method
Init
model_zoo/models/syntaxnet/syntaxnet/beam_reader_ops.cc:373
↓ 1 callers
Method
Init
Initializes the feature extractor. Must be called after Setup(). This does not take ownership over the context, which must outlive this.
model_zoo/models/syntaxnet/syntaxnet/feature_extractor.h:560
← previous
next →
401–500 of 2,338, ranked by callers