Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FlyingFeather/DEA-SQL
/ functions
Functions
1,466 in github.com/FlyingFeather/DEA-SQL
⨍
Functions
1,466
◇
Types & classes
201
↳
Endpoints
1
Method
batch_size
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/rnn_decoder.py:79
Method
batch_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
Method
batch_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
Function
beam_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
Method
before_run
(self, _run_context)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:95
Method
before_run
(self, _run_context)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:185
Method
before_run
(self, _run_context)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/decode_text.py:141
Method
before_run
(self, _run_context)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_attention.py:105
Method
before_run
(self, _run_context)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_beams.py:56
Method
begin
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:276
Method
begin
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:334
Method
begin
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/inference_task.py:61
Method
begin
(self)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_attention.py:101
Function
binary_crossentropy
(y_true, y_pred)
evaluation/ts_old/spider-master/baselines/nl2code/nn/objectives.py:47
Function
binary_logloss
(p, y)
evaluation/ts_old/spider-master/baselines/nl2code/nn/utils/np_utils.py:27
Function
body
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
Method
canonicalize_query
(query)
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:302
Function
categorical_crossentropy
Expects a binary class matrix instead of a vector of scalar classes
evaluation/ts_old/spider-master/baselines/nl2code/nn/objectives.py:37
Function
check_terminals
()
evaluation/ts_old/spider-master/baselines/nl2code/dataset.py:572
Function
choose_top_k
Chooses the top-k beams as successors.
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/inference/beam_search.py:143
Function
click
(d)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/bin/tools/beam_search_viz/tree.js:133
Function
col_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
Function
compute_acc_by_diff
(exec_results, diff_json_path)
evaluation/src/evaluation.py:96
Method
compute_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
Method
compute_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
Method
compute_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
Method
compute_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
Function
condition
(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
Function
condition_has_like
(conds)
hardness_eval.py:602
Function
condition_has_like
(conds)
single_eval.py:63
Function
condition_has_like
(conds)
evaluation/ts_old/spider-master/evaluation.py:63
Function
condition_has_like
(conds)
evaluation/test-suite-sql-eval/evaluation.py:62
Function
condition_has_or
(conds)
hardness_eval.py:598
Function
condition_has_or
(conds)
single_eval.py:59
Function
condition_has_or
(conds)
evaluation/ts_old/spider-master/evaluation.py:59
Function
condition_has_or
(conds)
evaluation/test-suite-sql-eval/evaluation.py:58
Function
condition_has_sql
(conds)
hardness_eval.py:606
Function
condition_has_sql
(conds)
single_eval.py:67
Function
condition_has_sql
(conds)
evaluation/ts_old/spider-master/evaluation.py:67
Function
condition_has_sql
(conds)
evaluation/test-suite-sql-eval/evaluation.py:66
Method
continuous_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
Function
convert_str_to_element
(input_str)
common/wrapper.py:33
Method
copy
(self)
evaluation/ts_old/spider-master/baselines/nl2code/astnode.py:273
Method
create_decoder
(self, helper, mode)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/decoder_test.py:190
Method
create_decoder
(self, helper, mode)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/decoder_test.py:209
Function
create_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
Function
create_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
Function
create_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
Function
create_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
Method
create_metric_ops
Creates the metric op
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/metric_specs.py:227
Method
create_model
Creates the model
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/example_config_test.py:65
Method
create_model
(self, mode, params=None)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/models_test.py:197
Method
create_model
(self, mode, params=None)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/test/models_test.py:219
Function
create_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
Function
create_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
Function
create_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
Function
cross_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
Function
datatype
(n)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/sqlgenerate-kai.js:30
Function
datatype
(n)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/sqlgenerate.js:30
Function
de_canonicalize_code
(code, ref_raw_code)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/parse.py:311
Method
decode
(self, encoder_output, features, labels)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/basic_seq2seq.py:115
Function
decode_and_evaluate_ifttt
(model, test_data)
evaluation/ts_old/spider-master/baselines/nl2code/evaluation.py:836
Function
decode_tree_to_python_ast
(decode_tree)
evaluation/ts_old/spider-master/baselines/nl2code/lang/sql/parse.py:259
Function
decorator
(func)
common/wrapper.py:12
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/metric_specs.py:196
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/metrics/metric_specs.py:219
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:81
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:123
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:171
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/image_encoder.py:45
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/conv_encoder.py:58
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/pooling_encoder.py:115
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:68
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:89
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:169
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:244
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:273
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:312
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/training/hooks.py:331
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/rnn_decoder.py:96
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/decoders/attention.py:63
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/decode_text.py:130
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/inference_task.py:65
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/tasks/dump_attention.py:96
Method
default_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
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/seq2seq_model.py:60
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_copying_seq2seq.py:40
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/attention_copying_seq2seq.py:38
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/schema_attention_seq2seq.py:163
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/attention_seq2seq.py:46
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:86
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:103
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/bridges.py:141
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/basic_seq2seq.py:51
Method
default_params
()
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/models/image2seq.py:43
Function
dump_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
Function
dump_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
Method
encode
(self, inputs, sequence_length, **kwargs)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:87
Method
encode
(self, inputs, sequence_length, **kwargs)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:129
Method
encode
(self, inputs, sequence_length, **kwargs)
evaluation/ts_old/spider-master/baselines/seq2seq_attention_copy/seq2seq/encoders/rnn_encoder.py:177
← previous
next →
1,001–1,100 of 1,466, ranked by callers