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
↓ 1 callers
Method
InitializeFeatureTypes
model_zoo/models/syntaxnet/syntaxnet/feature_extractor.cc:38
↓ 1 callers
Function
Interface
Maps xs to consumers. Returns a dict mapping each element of xs to any of its consumers that are indirectly consumed by ys. Args: ys:
model_zoo/models/differential_privacy/dp_sgd/per_example_gradients/per_example_gradients.py:60
↓ 1 callers
Method
IsAlive
model_zoo/models/syntaxnet/syntaxnet/beam_reader_ops.cc:245
↓ 1 callers
Function
IsInterchangeValid
Codepoints not allowed for interchange are: C0 (ASCII) controls: U+0000 to U+001F excluding Space (SP, U+0020), Horizontal Tab (HT, U+0009), Line-Feed
model_zoo/models/syntaxnet/util/utf8/unilib.cc:33
↓ 1 callers
Function
IsUTF8ValidCodepoint
Returns true if 'str' is the start of a structurally valid UTF-8 sequence and is not a surrogate codepoint. Returns false if str.empty() or if str.len
model_zoo/models/syntaxnet/util/utf8/unilib_utf8_utils.h:40
↓ 1 callers
Function
JoinPath
For an array of paths of length count, append them all together, ensuring that the proper path separators are inserted between them.
model_zoo/models/syntaxnet/syntaxnet/utils.cc:114
↓ 1 callers
Method
LSTM_question_embedding
(self, sentence, sentence_length)
model_zoo/models/neural_programmer/model.py:95
↓ 1 callers
Method
Label
Extracts the label from a given parser action. If the action is SHIFT, returns -1.
model_zoo/models/syntaxnet/syntaxnet/arc_standard_transitions.cc:123
↓ 1 callers
Method
LeftSibling
model_zoo/models/syntaxnet/syntaxnet/parser_state.cc:168
↓ 1 callers
Method
LeftmostChild
model_zoo/models/syntaxnet/syntaxnet/parser_state.cc:136
↓ 1 callers
Method
Lookup
Finds a named component in the registry.
model_zoo/models/syntaxnet/syntaxnet/registry.h:171
↓ 1 callers
Function
MakeUnicodeTextAcceptingOwnership
A factory function for creating a UnicodeText from a buffer of UTF-8 data. The new UnicodeText takes ownership of the buffer. (It is an "owner.") Eac
model_zoo/models/syntaxnet/util/utf8/unicodetext.h:405
↓ 1 callers
Function
MakeUnicodeTextWithoutAcceptingOwnership
A factory function for creating a UnicodeText from a buffer of UTF-8 data. The new UnicodeText does not take ownership of the buffer. (It is an "alias
model_zoo/models/syntaxnet/util/utf8/unicodetext.h:415
↓ 1 callers
Function
MultiScaleSSIM
Return the MS-SSIM score between `img1` and `img2`. This function implements Multi-Scale Structural Similarity (MS-SSIM) Image Quality Assessment
model_zoo/models/compression/msssim.py:125
↓ 1 callers
Function
NormalizeDigits
model_zoo/models/syntaxnet/syntaxnet/utils.cc:263
↓ 1 callers
Method
NumIds
(self)
model_zoo/models/textsum/data.py:69
↓ 1 callers
Function
Pad
Pad or trim list to len length. Args: ids: list of ints to pad pad_id: what to pad with length: length to pad or trim to Returns:
model_zoo/models/textsum/data.py:108
↓ 1 callers
Method
Parent
model_zoo/models/syntaxnet/syntaxnet/parser_state.cc:128
↓ 1 callers
Function
ParseInt32
model_zoo/models/syntaxnet/syntaxnet/utils.cc:22
↓ 1 callers
Function
ParseInt64
model_zoo/models/syntaxnet/syntaxnet/utils.cc:28
↓ 1 callers
Function
ProcessXMLAnnotation
Process a single XML file containing a bounding box.
model_zoo/models/inception/inception/data/process_bounding_boxes.py:117
↓ 1 callers
Function
ReadQueries
model_zoo/models/swivel/analogy.cc:83
↓ 1 callers
Function
ReadVocab
Reads the vocabulary file into a map from token to vector index.
model_zoo/models/swivel/analogy.cc:64
↓ 1 callers
Function
ReadVocabulary
model_zoo/models/swivel/fastprep.cc:199
↓ 1 callers
Function
RemoveLeadingWhitespace
model_zoo/models/syntaxnet/syntaxnet/utils.cc:145
↓ 1 callers
Function
RemoveTrailingWhitespace
model_zoo/models/syntaxnet/syntaxnet/utils.cc:156
↓ 1 callers
Function
RemoveWhitespaceContext
model_zoo/models/syntaxnet/syntaxnet/utils.cc:167
↓ 1 callers
Method
ResetBeams
model_zoo/models/syntaxnet/syntaxnet/beam_reader_ops.cc:414
↓ 1 callers
Method
ResetFiles
Resets the output files. Must be called once before Write().
model_zoo/models/textsum/seq2seq_attention_decode.py:64
↓ 1 callers
Method
ResetOffsets
Resets the offset vectors required for a single run because we're starting a new matrix of scores.
model_zoo/models/syntaxnet/syntaxnet/beam_reader_ops.cc:429
↓ 1 callers
Method
Restore
Restores the model from the given checkpoint path into the session. Args: checkpoint_path: File pathname of the checkpoint. sess:
model_zoo/models/street/python/vgsl_model.py:335
↓ 1 callers
Function
RewriteContext
(task_context)
model_zoo/models/syntaxnet/syntaxnet/parser_eval.py:63
↓ 1 callers
Function
RewriteContext
()
model_zoo/models/syntaxnet/syntaxnet/parser_trainer.py:94
↓ 1 callers
Method
RightSibling
model_zoo/models/syntaxnet/syntaxnet/parser_state.cc:183
↓ 1 callers
Method
RightmostChild
model_zoo/models/syntaxnet/syntaxnet/parser_state.cc:152
↓ 1 callers
Method
RootLabel
model_zoo/models/syntaxnet/syntaxnet/parser_state.cc:69
↓ 1 callers
Method
RootValue
Returns the special value to represent a root token.
model_zoo/models/syntaxnet/syntaxnet/parser_features.h:125
↓ 1 callers
Method
SetTag
Sets this tag on the token at index.
model_zoo/models/syntaxnet/syntaxnet/tagger_transitions.cc:75
↓ 1 callers
Method
SetTag
Sets this tag on the token at index.
model_zoo/models/syntaxnet/syntaxnet/morpher_transitions.cc:80
↓ 1 callers
Method
Setup
Sets up the feature extractor. Note that only top-level functions exist until Setup() is called. This does not take ownership over the context, which
model_zoo/models/syntaxnet/syntaxnet/feature_extractor.h:554
↓ 1 callers
Method
SetupInputs
(self)
model_zoo/models/street/python/vgslspecs_test.py:34
↓ 1 callers
Method
Size
Return the number of elements.
model_zoo/models/syntaxnet/syntaxnet/morphology_label_set.h:56
↓ 1 callers
Function
SnippetGen
Generates consecutive snippets between start and end tokens. Args: text: a string start_tok: a string denoting the start of snippets en
model_zoo/models/textsum/data.py:169
↓ 1 callers
Method
SoftmaxEval
Evaluate a model in softmax mode. Adds char, word recall and sequence error rate events to the sw summary writer, and returns them as well
model_zoo/models/street/python/decoder.py:62
↓ 1 callers
Function
SplitOne
model_zoo/models/syntaxnet/syntaxnet/utils.cc:98
↓ 1 callers
Method
SubPrefix
Returns the prefix for nested feature functions. This is the prefix of this feature function concatenated with the feature function name.
model_zoo/models/syntaxnet/syntaxnet/feature_extractor.h:228
↓ 1 callers
Method
Tag
Returns the tag assigned to a given token.
model_zoo/models/syntaxnet/syntaxnet/tagger_transitions.cc:68
↓ 1 callers
Method
Tag
Returns the tag assigned to a given token.
model_zoo/models/syntaxnet/syntaxnet/morpher_transitions.cc:73
↓ 1 callers
Method
Top
model_zoo/models/syntaxnet/syntaxnet/parser_state.cc:101
↓ 1 callers
Function
Train
Train MNIST for a number of steps. Args: mnist_train_file: path of MNIST train data file. mnist_test_file: path of MNIST test data file.
model_zoo/models/differential_privacy/dp_sgd/dp_mnist/dp_mnist.py:223
↓ 1 callers
Function
Train
Builds and trains the network. Args: sess: tensorflow session to use. num_actions: number of possible golden actions. feature_sizes: si
model_zoo/models/syntaxnet/syntaxnet/parser_trainer.py:161
↓ 1 callers
Function
Train
(graph, utility, batch_size, train_data, sess, model_dir, saver)
model_zoo/models/neural_programmer/neural_programmer.py:121
↓ 1 callers
Function
UnicodeSubstring
Copies a substring of a Unicode text to a string.
model_zoo/models/syntaxnet/syntaxnet/affix.cc:47
↓ 1 callers
Method
UpdateOffsets
model_zoo/models/syntaxnet/syntaxnet/beam_reader_ops.cc:445
↓ 1 callers
Method
ValidateCharMap
(self)
model_zoo/models/syntaxnet/syntaxnet/lexicon_builder_test.py:146
↓ 1 callers
Method
ValidateWordMap
(self)
model_zoo/models/syntaxnet/syntaxnet/lexicon_builder_test.py:152
↓ 1 callers
Method
Write
Writes the reference and decoded outputs to RKV files. Args: reference: The human (correct) result. decode: The machine-generated res
model_zoo/models/textsum/seq2seq_attention_decode.py:50
↓ 1 callers
Function
WriteMarginals
model_zoo/models/swivel/fastprep.cc:507
↓ 1 callers
Method
WriteShards
model_zoo/models/swivel/fastprep.cc:304
↓ 1 callers
Function
WriteStatus
(num_steps, eval_metric, best_eval_metric)
model_zoo/models/syntaxnet/syntaxnet/parser_trainer.py:107
↓ 1 callers
Function
WriteVocabulary
model_zoo/models/swivel/fastprep.cc:214
↓ 1 callers
Method
_AddCostFunction
Cross entropy plus L2 loss on weights and biases of the hidden layers.
model_zoo/models/syntaxnet/syntaxnet/graph_builder.py:403
↓ 1 callers
Method
_AddDecodedReader
(self, task_context, batch_size, transition_scores, corpus_name)
model_zoo/models/syntaxnet/syntaxnet/graph_builder.py:388
↓ 1 callers
Method
_AddEmbedding
Adds an embedding matrix and passes the `features` vector through it.
model_zoo/models/syntaxnet/syntaxnet/graph_builder.py:285
↓ 1 callers
Method
_AddGoldReader
(self, task_context, batch_size, corpus_name)
model_zoo/models/syntaxnet/syntaxnet/graph_builder.py:375
↓ 1 callers
Method
_AddLossFunction
Add the appropriate loss function. Args: logits: Pre-softmax/logistic fully-connected output shaped to out_dims. height_in: Height
model_zoo/models/street/python/vgsl_model.py:425
↓ 1 callers
Method
_AddOptimizer
Adds an optimizer with learning rate decay to minimize self.loss. Args: optimizer_type: One of 'GradientDescent', 'AdaGrad', 'Momentum', 'A
model_zoo/models/street/python/vgsl_model.py:464
↓ 1 callers
Method
_AddOutputLayer
Add the fully-connected logits and SoftMax/Logistic output Layer. Args: prev_layer: Output of last layer of main network. out_dims:
model_zoo/models/street/python/vgsl_model.py:382
↓ 1 callers
Method
_AddOutputs
Adds the output layer and loss function. Args: prev_layer: Output of last layer of main network. out_dims: Number of output dimen
model_zoo/models/street/python/vgsl_model.py:357
↓ 1 callers
Method
_Decode
Restore a checkpoint and decode it. Args: saver: Tensorflow checkpoint saver. sess: Tensorflow session. Returns: If success
model_zoo/models/textsum/seq2seq_attention_decode.py:105
↓ 1 callers
Method
_DecodeBatch
Convert id to words and writing results. Args: article: The original article string. abstract: The human (correct) abstract string.
model_zoo/models/textsum/seq2seq_attention_decode.py:146
↓ 1 callers
Function
_DumpEmb
Dump the softmax weights and word embeddings to files. Args: vocab: Vocabulary. Contains vocabulary size and converts word to ids.
model_zoo/models/lm_1b/lm_1b_eval.py:213
↓ 1 callers
Function
_DumpSentenceEmbedding
Predict next words using the given prefix words. Args: sentence: Sentence words. vocab: Vocabulary. Contains max word chard id length and c
model_zoo/models/lm_1b/lm_1b_eval.py:250
↓ 1 callers
Method
_EmbeddingMatrixInitializer
(self, index, embedding_size)
model_zoo/models/syntaxnet/syntaxnet/graph_builder.py:277
↓ 1 callers
Function
_Eval
Runs model eval.
model_zoo/models/textsum/seq2seq_attention.py:118
↓ 1 callers
Function
_EvalModel
Evaluate model perplexity using provided dataset. Args: dataset: LM1BDataset object.
model_zoo/models/lm_1b/lm_1b_eval.py:120
↓ 1 callers
Function
_FSpecialGauss
Function to mimic the 'fspecial' gaussian MATLAB function.
model_zoo/models/compression/msssim.py:35
↓ 1 callers
Function
_ImageProcessing
Convert a PNG string into an input tensor. We allow for fixed and variable sizes. Does fixed conversion to floats in the range [-1.28, 1.27]. A
model_zoo/models/street/python/vgsl_input.py:134
↓ 1 callers
Method
_IncrementCounter
(self, counter)
model_zoo/models/syntaxnet/syntaxnet/graph_builder.py:453
↓ 1 callers
Method
_InitializeDecoder
Reads the decoder file and initializes self.decoder from it. Args: filename: Name of text file mapping codes to utf8 strings. Raises:
model_zoo/models/street/python/decoder.py:180
↓ 1 callers
Function
_PadLabels3d
Pads or slices 3-d labels to match logits. Covers the case of 2-d softmax output, when labels is [batch, height, width] and logits is [batch, hei
model_zoo/models/street/python/vgsl_model.py:493
↓ 1 callers
Function
_ParseInputSpec
Parses input_spec and returns the numbers obtained therefrom. Args: input_spec: Specification of the input layer. See Build. Returns: s
model_zoo/models/street/python/vgsl_model.py:537
↓ 1 callers
Function
_ParseOutputSpec
Parses the output spec. Args: output_spec: Output layer definition. See Build. Returns: out_dims: 2|1|0 for 2-d, 1-d, 0-d. out_f
model_zoo/models/street/python/vgsl_model.py:562
↓ 1 callers
Method
_PxConv2DBuilder
conv2d run separately per example, to help compute per-example gradients. Args: input_: tensor containing a minibatch of images / feature m
model_zoo/models/differential_privacy/dp_sgd/per_example_gradients/per_example_gradients.py:213
↓ 1 callers
Function
_ReadExamples
Builds network input tensor ops for TF Example. Args: filename_queue: Queue of filenames, from tf.train.string_input_producer shape:
model_zoo/models/street/python/vgsl_input.py:86
↓ 1 callers
Method
_ReluWeightInitializer
(self)
model_zoo/models/syntaxnet/syntaxnet/graph_builder.py:272
↓ 1 callers
Function
_SSIMForMultiScale
Return the Structural Similarity Map between `img1` and `img2`. This function attempts to match the functionality of ssim_index_new.m by Zhou Wan
model_zoo/models/compression/msssim.py:49
↓ 1 callers
Function
_SampleModel
Predict next words using the given prefix words. Args: prefix_words: Prefix words. vocab: Vocabulary. Contains max word chard id length and
model_zoo/models/lm_1b/lm_1b_eval.py:162
↓ 1 callers
Function
_SampleSoftmax
(softmax)
model_zoo/models/lm_1b/lm_1b_eval.py:158
↓ 1 callers
Method
_SkipWhitespace
Skips any leading whitespace in the model description. Args: index: Position in model_str to start parsing Returns: end ind
model_zoo/models/street/python/vgslspecs.py:520
↓ 1 callers
Method
_TextGenerator
Generates article and abstract text from tf.Example.
model_zoo/models/textsum/batch_reader.py:241
↓ 1 callers
Function
_Train
Runs model training.
model_zoo/models/textsum/seq2seq_attention.py:82
↓ 1 callers
Method
__init__
(self, model_path='model_zoo/bninception/bn_inception.yaml', num_classes=101, weight_ur
model_zoo/bninception/pytorch_load.py:9
↓ 1 callers
Method
__init__
Initialize a MomentsAccountant. Args: total_examples: total number of examples. moment_orders: the order of moments to keep.
model_zoo/models/differential_privacy/privacy_accountant/tf/accountant.py:175
↓ 1 callers
Method
__init__
Initialize vocabulary. Args: filename: Vocabulary file name.
model_zoo/models/lm_1b/data_utils.py:27
↓ 1 callers
Function
_activation_summaries
(endpoints)
model_zoo/models/inception/inception/inception_model.py:154
↓ 1 callers
Function
_activation_summary
Helper to create summaries for activations. Creates a summary that provides a histogram of activations. Creates a summary that measure the sparsi
model_zoo/models/inception/inception/inception_model.py:138
↓ 1 callers
Function
_add_gradients_summaries
Add histogram summaries to gradients. Note: The summaries are also added to the SUMMARIES collection. Args: grads_and_vars: A list of gradie
model_zoo/models/slim/deployment/model_deploy.py:452
↓ 1 callers
Function
_add_op
(op)
model_zoo/models/inception/inception/slim/scopes.py:78
↓ 1 callers
Method
_add_placeholders
Inputs to be fed to the graph.
model_zoo/models/textsum/seq2seq_attention_model.py:117
← previous
next →
501–600 of 2,338, ranked by callers