MCPcopy Create free account

hub / github.com/FlyingFeather/DEA-SQL / functions

Functions1,466 in github.com/FlyingFeather/DEA-SQL

Methodbatch_size
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/rnn_decoder.py:79
Methodbatch_size
Returns the batch size for a batch of examples
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/model_base.py:136
Methodbatch_size
Returns the batch size of the curren batch based on the passed features.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/seq2seq_model.py:135
Functionbeam_search_step
Performs a single step of Beam Search Decoding. Args: time_: Beam search time step, should start at 0. At time 0 we assume that all beams
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/inference/beam_search.py:196
Methodbefore_run
(self, _run_context)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:95
Methodbefore_run
(self, _run_context)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:185
Methodbefore_run
(self, _run_context)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/decode_text.py:141
Methodbefore_run
(self, _run_context)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_attention.py:105
Methodbefore_run
(self, _run_context)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_beams.py:56
Methodbegin
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:276
Methodbegin
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:334
Methodbegin
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/inference_task.py:61
Methodbegin
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_attention.py:101
Functionbinary_crossentropy
(y_true, y_pred)
evaluation/ts_old/spider-master/baselines/nl2code/nn/objectives.py:47
Functionbinary_logloss
(p, y)
evaluation/ts_old/spider-master/baselines/nl2code/nn/utils/np_utils.py:27
Functionbody
Internal while_loop body. Args: time: scalar int32 tensor. outputs_ta: structure of TensorArray. state: (structure of)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/decoder.py:226
Methodcanonicalize_query
(query)
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:302
Functioncategorical_crossentropy
Expects a binary class matrix instead of a vector of scalar classes
evaluation/ts_old/spider-master/baselines/nl2code/nn/objectives.py:37
Functioncheck_terminals
()
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:572
Functionchoose_top_k
Chooses the top-k beams as successors.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/inference/beam_search.py:143
Functionclick
(d)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/bin/tools/beam_search_viz/tree.js:133
Functioncol_name_encode
(name_inp_var, name_len, col_len, enc_lstm)
evaluation/ts_old/spider-master/baselines/typesql/scripts/model/modules/net_utils.py:31
Functioncompute_acc_by_diff
(exec_results, diff_json_path)
evaluation/src/evaluation.py:96
Methodcompute_loss
Computes the loss for this model. Loss = seq_loss + schema_copy_loss. seq_loss is the cross entropy loss for the output sequence. #
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_copying_seq2seq.py:184
Methodcompute_loss
Computes the loss for this model. Loss = seq_loss + schema_copy_loss. seq_loss is the cross entropy loss for the output sequence.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/attention_copying_seq2seq.py:265
Methodcompute_loss
Computes the loss for this model. Loss = seq_loss + word_copy_loss. seq_loss is the cross entropy loss for the output sequence.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/attention_copying_seq2seq.py:344
Methodcompute_loss
Computes the loss for this model. Loss = seq_loss + schema_copy_loss + word_copy_loss. seq_loss is the cross entropy loss for the outp
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/attention_copying_seq2seq.py:426
Functioncondition
(unused_time, unused_outputs_ta, unused_state, unused_inputs, finished)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/contrib/seq2seq/decoder.py:222
Functioncondition_has_like
(conds)
hardness_eval.py:602
Functioncondition_has_like
(conds)
single_eval.py:63
Functioncondition_has_like
(conds)
evaluation/ts_old/spider-master/evaluation.py:63
Functioncondition_has_like
(conds)
evaluation/test-suite-sql-eval/evaluation.py:62
Functioncondition_has_or
(conds)
hardness_eval.py:598
Functioncondition_has_or
(conds)
single_eval.py:59
Functioncondition_has_or
(conds)
evaluation/ts_old/spider-master/evaluation.py:59
Functioncondition_has_or
(conds)
evaluation/test-suite-sql-eval/evaluation.py:58
Functioncondition_has_sql
(conds)
hardness_eval.py:606
Functioncondition_has_sql
(conds)
single_eval.py:67
Functioncondition_has_sql
(conds)
evaluation/ts_old/spider-master/evaluation.py:67
Functioncondition_has_sql
(conds)
evaluation/test-suite-sql-eval/evaluation.py:66
Methodcontinuous_train_and_eval
Interleaves training and evaluation. The frequency of evaluation is controlled by the `train_steps_per_iteration` (via constructor). The mode
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/contrib/experiment.py:38
Functionconvert_str_to_element
(input_str)
common/wrapper.py:33
Methodcopy
(self)
evaluation/ts_old/spider-master/baselines/nl2code/astnode.py:273
Methodcreate_decoder
(self, helper, mode)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/decoder_test.py:190
Methodcreate_decoder
(self, helper, mode)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/decoder_test.py:209
Functioncreate_experiment
Creates a new Experiment instance. Args: output_dir: Output directory for model checkpoints and summaries.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/bin/train.py:121
Functioncreate_initial_beam_state
Creates an instance of `BeamState` that can be used on the first call to `beam_step`. Args: config: A BeamSearchConfig Returns: An ins
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/inference/beam_search.py:96
Functioncreate_input_fn
Creates an input function that can be used with tf.learn estimators. Note that you must pass "factory funcitons" for both the data provider and
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/utils.py:234
Functioncreate_learning_rate_decay_fn
Creates a function that decays the learning rate. Args: decay_steps: How often to apply decay. decay_rate: A Python number. The decay rate.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/utils.py:177
Methodcreate_metric_ops
Creates the metric op
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/metric_specs.py:227
Methodcreate_model
Creates the model
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/example_config_test.py:65
Methodcreate_model
(self, mode, params=None)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/models_test.py:197
Methodcreate_model
(self, mode, params=None)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/models_test.py:219
Functioncreate_temp_parallel_data
Creates a temporary TFRecords file. Args: source: List of source sentences target: List of target sentences Returns: A tuple (sou
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/utils.py:26
Functioncreate_temp_tfrecords
Creates a temporary TFRecords file. Args: source: List of source sentences target: List of target sentences Returns: A tuple (sou
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/utils.py:46
Functioncreate_temporary_vocab_file
Creates a temporary vocabulary file. Args: words: List of words in the vocabulary Returns: A temporary file object with one word per
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/utils.py:73
Functioncross_entropy_sequence_loss
Calculates the per-example cross-entropy loss for a sequence of logits and masks out all losses passed the sequence length. Args: logits: L
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/losses.py:24
Functiondatatype
(n)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/sqlgenerate-kai.js:30
Functiondatatype
(n)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/sqlgenerate.js:30
Functionde_canonicalize_code
(code, ref_raw_code)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/parse.py:311
Methoddecode
(self, encoder_output, features, labels)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/basic_seq2seq.py:115
Functiondecode_and_evaluate_ifttt
(model, test_data)
evaluation/ts_old/spider-master/baselines/nl2code/evaluation.py:836
Functiondecode_tree_to_python_ast
(decode_tree)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/parse.py:259
Functiondecorator
(func)
common/wrapper.py:12
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/metric_specs.py:196
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/metric_specs.py:219
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:81
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:123
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:171
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/image_encoder.py:45
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/conv_encoder.py:58
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/pooling_encoder.py:115
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:68
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:89
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:169
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:244
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:273
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:312
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:331
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/rnn_decoder.py:96
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/attention.py:63
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/decode_text.py:130
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/inference_task.py:65
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_attention.py:96
Methoddefault_params
Returns a dictionary of default parameters for this model.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/model_base.py:118
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/seq2seq_model.py:60
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_copying_seq2seq.py:40
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/attention_copying_seq2seq.py:38
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_seq2seq.py:163
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/attention_seq2seq.py:46
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:86
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:103
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:141
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/basic_seq2seq.py:51
Methoddefault_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/image2seq.py:43
Functiondump_data_for_evaluation
(data_type='django', data_file='', max_query_length=70)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/sql_dataset.py:606
Functiondump_data_for_evaluation
(data_type='django', data_file='', max_query_length=70)
evaluation/ts_old/spider-master/baselines/nl2code/lang/py/py_dataset.py:363
Methodencode
(self, inputs, sequence_length, **kwargs)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:87
Methodencode
(self, inputs, sequence_length, **kwargs)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:129
Methodencode
(self, inputs, sequence_length, **kwargs)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:177
← previousnext →1,001–1,100 of 1,466, ranked by callers