MCPcopy Create free account

hub / github.com/YichenGong/Densely-Interactive-Inference-Network / functions

Functions181 in github.com/YichenGong/Densely-Interactive-Inference-Network

↓ 71 callersMethodLog
(self, message, level=INFO)
python/util/logger.py:27
↓ 48 callersFunctionlinear
(args, output_size, bias, bias_start=0.0, scope=None, squeeze=False, wd=0.0, input_keep_prob=1.0, i
python/my/tensorflow/nn.py:10
↓ 24 callersFunctionevaluate_classifier
Function to get accuracy and cost of the model, evaluated on a chosen dataset. classifier: the model's classfier, it should return genres, l
python/util/evaluate.py:13
↓ 17 callersFunctionresidual
(config, x, in_filter, out_filter, kernel_size, name, padding = "SAME", activate_before_residual=False, act =
python/models/attmix_CNN.py:1124
↓ 16 callersFunctionfuse_gate
(config, is_train, lhs, rhs, scope=None)
python/my/tensorflow/nn.py:289
↓ 13 callersMethodget
(self, type_, in_, num_max_requests=100)
python/my/corenlp_interface.py:15
↓ 13 callersFunctionload_nli_data
Load MultiNLI or SNLI data. If the "snli" parameter is set to True, a genre label of snli will be assigned to the data.
python/util/data_processing.py:38
↓ 11 callersFunctionexp_mask
Give very negative number to unmasked elements in val. For example, [-3, -2, 10], [True, True, False] -> [-3, -2, -1e9]. Typically, this effec
python/my/tensorflow/general.py:105
↓ 10 callersFunctionflatten
(tensor, keep)
python/my/tensorflow/general.py:122
↓ 9 callersFunctionhighway_network
(arg, num_layers, bias, bias_start=0.0, scope=None, wd=0.0, input_keep_prob=1.0, is_train=None, output_size =
python/my/tensorflow/nn.py:160
↓ 8 callersFunctionconstruct_one_hot_feature_tensor
sequences: [[(idx, val)... ()]...[]] left_padding_and_cropping_pairs: [[(0,0)...] ... []]
python/util/data_processing.py:401
↓ 8 callersFunctionfill_feature_vector_with_cropping_or_padding
(sequences, left_padding_and_cropping_pairs, dim, column_size=None, dtype=np.int32)
python/util/data_processing.py:371
↓ 8 callersMethodgenerate_predictions_with_id
(self, path, examples)
python/train_mnli.py:438
↓ 8 callersFunctionsoftsel
:param target: [ ..., J, d] dtype=float :param logits: [ ..., J], dtype=float :param mask: [ ..., J], dtype=bool :param scope: :
python/my/tensorflow/nn.py:53
↓ 7 callersFunctionvariable_summaries
summaries for tensors
python/my/tensorflow/nn.py:213
↓ 6 callersFunctionreconstruct
(tensor, ref, keep)
python/my/tensorflow/general.py:131
↓ 5 callersFunctionget_logits
(args, size, bias, bias_start=0.0, scope=None, mask=None, wd=0.0, input_keep_prob=1.0, is_train=None, func=Non
python/my/tensorflow/nn.py:102
↓ 5 callersMethodget_minibatch
(self, dataset, start_index, end_index, training=False)
python/train_quora.py:155
↓ 5 callersMethodget_minibatch
(self, dataset, start_index, end_index, training=False)
python/train_mnli.py:143
↓ 5 callersFunctionself_attention_layer
(config, is_train, p, p_mask=None, scope=None, tensor_dict=None)
python/models/attmix_CNN.py:1020
↓ 5 callersFunctiontokenize
(string)
python/util/data_processing.py:124
↓ 4 callersFunctionconv2d
(in_, filter_size, height, padding, is_train=None, keep_prob=1.0, scope=None)
python/my/tensorflow/nn.py:197
↓ 4 callersFunctioncross_attention_layer
(config, is_train, p, h, p_mask=None, h_mask=None, scope=None, tensor_dict=None)
python/models/attmix_CNN.py:1102
↓ 4 callersFunctiondense_logits_softmax_features
(config, dense_logit_feature, collection, ph_mask, switch , scope=None)
python/models/attmix_CNN.py:931
↓ 4 callersFunctiondense_net_block
(config, feature_map, growth_rate, layers, kernel_size, is_train ,padding="SAME", act=tf.nn.relu, scope=None,
python/models/attmix_CNN.py:1339
↓ 4 callersFunctiondense_net_transition_layer
(config, feature_map, transition_rate, scope=None, tensor_dict=None)
python/models/attmix_CNN.py:1389
↓ 4 callersMethodgenerate_predictions_with_id
(self, path, examples)
python/train_quora.py:444
↓ 4 callersFunctionmulti_conv1d
(in_, filter_sizes, heights, padding, is_train=None, keep_prob=1.0, scope=None)
python/my/tensorflow/nn.py:184
↓ 4 callersFunctionnormalize
Applies layer normalization. Args: inputs: A tensor with 2 or more dimensions, where the first dimension has `batch_size`.
python/models/attmix_CNN.py:1486
↓ 4 callersFunctionsentences_to_padded_index_sequences
Annotate datasets with feature vectors. Adding right-sided padding.
python/util/data_processing.py:184
↓ 4 callersFunctionspan_len
(span)
python/my/nltk_utils.py:41
↓ 4 callersFunctionsum_logits
(args, mask=None, name=None)
python/my/tensorflow/nn.py:89
↓ 3 callersFunctionbi_attention
(config, is_train, p, h, p_mask=None, h_mask=None, scope=None, h_value = None)
python/models/attmix_CNN.py:1069
↓ 3 callersFunctionconv_pooling
(res, name)
python/models/attmix_CNN.py:714
↓ 3 callersFunctiondense_net_block
(config, feature_map, growth_rate, layers, kernel_size, is_train, padding="SAME", act=tf.nn.relu, scope=None)
python/models/DIIN.py:334
↓ 3 callersFunctiondense_net_skip_join
(fm, fm_tmp)
python/models/attmix_CNN.py:1423
↓ 3 callersFunctiondense_net_transition_layer
(config, feature_map, transition_rate, scope=None)
python/models/DIIN.py:350
↓ 3 callersFunctiondownload
(url)
data/download.py:21
↓ 3 callersFunctiondownload_file_from_google_drive
(id, destination)
data/download.py:30
↓ 3 callersFunctionlinear_logits
(args, bias, bias_start=0.0, scope=None, mask=None, wd=0.0, input_keep_prob=1.0, is_train=None)
python/my/tensorflow/nn.py:80
↓ 3 callersFunctionunzip
(file_name)
data/download.py:12
↓ 2 callersMethodadd_one_d_feature
(self, config, matrix, mask, scope)
python/models/attmix_CNN.py:615
↓ 2 callersFunctiondense_logits
(config, args, out_size, bias, bias_start=0.0, scope=None, mask=None, wd=0.0, input_keep_prob=1.0, is_train=No
python/my/tensorflow/nn.py:226
↓ 2 callersFunctiondouble_linear_logits
(args, size, bias, bias_start=0.0, scope=None, mask=None, wd=0.0, input_keep_prob=1.0, is_train=None)
python/my/tensorflow/nn.py:69
↓ 2 callersFunctiondropout
(x, keep_prob, is_train, noise_shape=None, seed=None, name=None)
python/my/tensorflow/nn.py:33
↓ 2 callersFunctiongenerate_crop_pad_pairs
(sequences)
python/util/data_processing.py:357
↓ 2 callersFunctiongenerate_pos_feature_tensor
(parses, left_padding_and_cropping_pairs)
python/util/data_processing.py:335
↓ 2 callersFunctiongenerate_quora_pos_feature_tensor
(parses, left_padding_and_cropping_pairs)
python/util/data_processing.py:344
↓ 2 callersFunctionis_exact_match
(token1, token2)
python/util/data_processing.py:81
↓ 2 callersFunctionlinear_mapping_with_residual_conn
(config, is_train, p, p_mask=None, scope=None)
python/models/attmix_CNN.py:1060
↓ 2 callersFunctionloadEmbedding_rand
Load GloVe embeddings. Doing a random normal initialization for OOV words.
python/util/data_processing.py:531
↓ 2 callersFunctionload_mnli_shared_content
()
python/util/data_processing.py:162
↓ 2 callersFunctionmemory_augment_layer
(config, x, x_mask, is_train, memory_size, name=None)
python/models/attmix_CNN.py:1430
↓ 2 callersMethodmulti_perspective_merge
(self, config, lhs, rhs, scope = None)
python/models/attmix_CNN.py:680
↓ 2 callersFunctionparsing_parse
(parse)
python/util/data_processing.py:316
↓ 2 callersFunctionsave_submission
(path, ids, pred_ids)
python/util/data_processing.py:632
↓ 2 callersFunctionself_attention_layer
(config, is_train, p, p_mask=None, scope=None)
python/models/DIIN.py:270
↓ 2 callersFunctionshuffle_add
(config, dense_tensor)
python/models/attmix_CNN.py:806
↓ 2 callersFunctionspan_overlap
(s1, s2)
python/my/nltk_utils.py:45
↓ 1 callersMethod__call__
(self, inputs, state, scope=None)
python/my/tensorflow/rnn_cell.py:66
↓ 1 callersMethod__init__
(self, num_units)
python/my/tensorflow/rnn_cell.py:63
↓ 1 callersFunction_set_span
(t, i)
python/my/nltk_utils.py:5
↓ 1 callersFunction_short_floats
(obj)
python/my/utils.py:43
↓ 1 callersFunctionadd_features
(config, dense_attention, p_mask, h_mask)
python/models/attmix_CNN.py:824
↓ 1 callersFunctionadd_wd
(wd, scope=None)
python/my/tensorflow/general.py:147
↓ 1 callersFunctionall_lemmas
(token)
python/util/data_processing.py:561
↓ 1 callersFunctionbi_attention_mx
(config, is_train, p, h, p_mask=None, h_mask=None, scope=None, tensor_dict=None)
python/models/attmix_CNN.py:904
↓ 1 callersFunctionbi_attention_mx
(config, is_train, p, h, p_mask=None, h_mask=None, scope=None)
python/models/DIIN.py:226
↓ 1 callersFunctioncompress_tree
(tree)
python/my/nltk_utils.py:111
↓ 1 callersFunctionconv1d
(in_, filter_size, height, padding, is_train=None, keep_prob=1.0, scope=None)
python/my/tensorflow/nn.py:171
↓ 1 callersFunctionconv_blocks
(config, arg, filter_size, name, is_train, tensor_dict=None)
python/models/attmix_CNN.py:712
↓ 1 callersFunctioncosine_similarity
(lfs, rhs)
python/my/tensorflow/nn.py:208
↓ 1 callersFunctiondense_attention_max_feature
(config, bi_att_mx, collection, ph_mask)
python/models/attmix_CNN.py:858
↓ 1 callersFunctiondense_attention_mean_feature
(config, bi_att_mx, collection, ph_mask)
python/models/attmix_CNN.py:870
↓ 1 callersFunctiondense_attention_min_feature
(config, bi_att_mx, collection, ph_mask)
python/models/attmix_CNN.py:882
↓ 1 callersFunctiondense_attention_sum_feature
(config, bi_att_mx, collection, ph_mask)
python/models/attmix_CNN.py:892
↓ 1 callersFunctiondense_net
(config, denseAttention, is_train, tensor_dict = None)
python/models/attmix_CNN.py:1286
↓ 1 callersFunctiondense_net
(config, denseAttention, is_train)
python/models/DIIN.py:312
↓ 1 callersFunctionfind_max_f1_subtree
(tree, span)
python/my/nltk_utils.py:79
↓ 1 callersFunctionget_args
()
python/my/zip_save.py:10
↓ 1 callersMethodget_concat_mapper
()
python/my/tensorflow/rnn_cell.py:200
↓ 1 callersFunctionget_confirm_token
(response)
data/download.py:31
↓ 1 callersMethodget_const
(self, sent)
python/my/corenlp_interface.py:42
↓ 1 callersMethodget_linear_controller
(bias, input_keep_prob=1.0, is_train=None)
python/my/tensorflow/rnn_cell.py:182
↓ 1 callersMethodget_sim_mapper
()
python/my/tensorflow/rnn_cell.py:213
↓ 1 callersFunctionhighway_layer
(arg, bias, bias_start=0.0, scope=None, wd=0.0, input_keep_prob=1.0, is_train=None, output_size = None)
python/my/tensorflow/nn.py:143
↓ 1 callersFunctionload_shared_content
(fh, shared_content)
python/util/data_processing.py:155
↓ 1 callersFunctionmain
()
python/my/zip_save.py:45
↓ 1 callersMethodmulti_perspective_generation
(self, config, lhs, rhs, perspectives, scope)
python/models/attmix_CNN.py:701
↓ 1 callersFunctionsave_response_content
(response, destination)
data/download.py:38
↓ 1 callersFunctionself_attention
(config, is_train, p, p_mask=None, scope=None, tensor_dict=None)
python/models/attmix_CNN.py:975
↓ 1 callersFunctionself_attention
(config, is_train, p, p_mask=None, scope=None)
python/models/DIIN.py:247
↓ 1 callersFunctionset_span
(t)
python/my/nltk_utils.py:21
↓ 1 callersFunctionsoftmax
(logits, mask=None, scope=None)
python/my/tensorflow/nn.py:42
↓ 1 callersFunctionspan_f1
(true_span, pred_span)
python/my/nltk_utils.py:67
↓ 1 callersFunctionspan_prec
(true_span, pred_span)
python/my/nltk_utils.py:53
↓ 1 callersFunctionspan_recall
(true_span, pred_span)
python/my/nltk_utils.py:60
↓ 1 callersMethodtrain
(self, train_quora, dev_quora)
python/train_quora.py:217
↓ 1 callersMethodtrain
(self, train_mnli, train_snli, dev_mat, dev_mismat, dev_snli)
python/train_mnli.py:175
↓ 1 callersFunctionvariable_on_cpu
Helper to create a Variable stored on CPU memory. Args: name: name of the variable shape: list of ints initializer: initializer
python/my/tensorflow/general.py:19
next →1–100 of 181, ranked by callers