Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/google-research/language
/ functions
Functions
6,154 in github.com/google-research/language
⨍
Functions
6,154
◇
Types & classes
800
↳
Endpoints
12
Method
test_shape_dynamic
(self)
language/common/utils/tensor_utils_test.py:28
Method
test_shape_mixed
Test for shape() with a mixture of static and dynamic sizes.
language/common/utils/tensor_utils_test.py:70
Method
test_shape_static
(self)
language/common/utils/tensor_utils_test.py:53
Method
test_shaped_py_func
(self)
language/common/utils/tensor_utils_test.py:248
Method
test_similarity_layer
Testing similarity layer.
language/mentionmemory/modules/sparse_topk_similarity_layer_test.py:39
Method
test_similarity_layer
Testing similarity layer.
language/mentionmemory/modules/topk_similarity_layer_test.py:41
Method
test_simple_config_object_access
(self)
language/canine/config_utils_test.py:77
Method
test_simple_config_object_access_error
(self)
language/canine/config_utils_test.py:88
Method
test_simple_config_object_from_namespace_dict
(self)
language/canine/config_utils_test.py:106
Method
test_simple_config_object_from_simple_dict
(self)
language/canine/config_utils_test.py:95
Method
test_simple_config_object_from_simple_dict_undefined
(self)
language/canine/config_utils_test.py:115
Method
test_simple_config_with_constructor_arg
(self)
language/canine/config_utils_test.py:84
Method
test_simple_neighbor_filter
Tests SimpleNeighborFilter.
language/casper/retrieve/query_retrievers_test.py:66
Method
test_single_entity
(self)
language/compgen/csl/tasks/cogs/tools/cogs_converter_test.py:22
Method
test_size
(self)
language/nql/nql/dataset_test.py:58
Method
test_sketch
(self)
language/emql/model_test.py:175
Method
test_sketch
Test function check_topk_fact_eligible() and create_cm_sketch().
language/emql/module_test.py:28
Method
test_slice_values_float
(self, bsz, seq_len, index_len, dim)
language/mentionmemory/utils/jax_utils_test.py:37
Method
test_slice_values_int
(self, bsz, seq_len, index_len, dim)
language/mentionmemory/utils/jax_utils_test.py:66
Method
test_somewhere_in_between
(self)
language/fruit/metrics_test.py:199
Method
test_split
(self)
language/fruit/rendering_utils_test.py:67
Method
test_split_tables
(self)
language/fruit/wiki_utils_test.py:44
Method
test_sql_to_sql_spans
(self)
language/xsp/data_preprocessing/abstract_sql_test.py:38
Method
test_stacked_bilstm
(self)
language/common/layers/cudnn_layers_test.py:35
Method
test_stacked_bilstm_compatibility
(self)
language/common/layers/cudnn_layers_test.py:53
Method
test_stacked_highway
(self)
language/common/layers/common_layers_test.py:42
Method
test_start_line
(self)
language/nql/nql/dataset_test.py:67
Method
test_state_tree_state_part
(self)
language/search_agents/muzero/bert_state_lib_test.py:97
Method
test_static_dims
(self)
language/canine/tensor_contracts_test.py:262
Method
test_static_rank
(self)
language/canine/tensor_contracts_test.py:23
Method
test_static_rank_optional
(self)
language/canine/tensor_contracts_test.py:221
Method
test_static_shape
(self)
language/canine/tensor_contracts_test.py:35
Method
test_string_acc
(self)
language/xsp/evaluation/official_evaluation_test.py:47
Method
test_string_to_int_mapper
(self)
language/common/inputs/dataset_utils_test.py:53
Method
test_swap_examples
(self)
language/compgen/nqg/tasks/mcd_utils_test.py:52
Method
test_synonym_first_strategy
(self)
language/wino_dict/utils_test.py:150
Method
test_tacred_evaluation
(self)
language/mentionmemory/tasks/relation_classifier_task_test.py:45
Method
test_target_checker
(self)
language/compgen/csl/qcfg/qcfg_target_parser_test.py:178
Method
test_tasks_delimiters_and_normalization
(self, task, evidence_marker_type, delimiter_type)
language/fruit/rendering_utils_test.py:477
Method
test_text_hash
(self)
language/mentionmemory/utils/mention_preprocess_utils_test.py:693
Method
test_text_hash_tf
(self)
language/mentionmemory/utils/mention_preprocess_utils_test.py:702
Method
test_tf_dataset
(self)
language/nql/nql/util_test.py:185
Method
test_tf_minibatch_dataset
(self)
language/nql/nql/util_test.py:203
Method
test_tf_op
(self)
language/nql/nql/nql_test.py:754
Method
test_tf_utilities
(self)
language/nql/nql/nql_test.py:357
Method
test_to_example
(self)
language/fruit/tf_utils_test.py:29
Method
test_to_lucene_query
(self)
language/search_agents/muzero/state_tree_test.py:297
Method
test_token_to_char_ids_mapper
(self)
language/common/inputs/char_utils_test.py:76
Method
test_train_and_evaluate
(self)
language/gscan/xattn_model/train_test.py:31
Method
test_train_and_evaluate
(self)
language/gscan/xattn_model/predict_test.py:30
Method
test_trainable_weighted_by
(self)
language/nql/nql/nql_test.py:551
Method
test_training_data_deterministic
Make sure loading data is deterministic given seed.
language/mentionmemory/utils/data_utils_test.py:178
Method
test_transformer_block_shape
Testing transformer block shape.
language/mentionmemory/modules/transformer_test.py:64
Method
test_transformer_cross_layer
(self, batch_size, hidden_size, num_heads, deterministic)
language/gscan/xattn_model/model/layers_test.py:76
Method
test_transformer_embeddings
(self, batch_size, hidden_size, deterministic)
language/gscan/xattn_model/model/layers_test.py:31
Method
test_transformer_encoder_decoder_layer
(self, hidden_size, num_heads, deterministic, decode)
language/gscan/xattn_model/model/layers_test.py:98
Method
test_transformer_layer
(self, batch_size, hidden_size, num_heads, deterministic)
language/gscan/xattn_model/model/layers_test.py:61
Method
test_transformer_layer_shape
Testing transformer layer shape.
language/mentionmemory/modules/transformer_test.py:38
Method
test_transformer_pooler
(self, batch_size, hidden_size, pooling_operator)
language/gscan/xattn_model/model/layers_test.py:49
Method
test_transition_model_from_empty
(self)
language/search_agents/muzero/state_tree_test.py:316
Method
test_transition_model_from_partial_tree
(self)
language/search_agents/muzero/state_tree_test.py:448
Method
test_transition_model_no_lexical_masking
(self)
language/search_agents/muzero/state_tree_test.py:507
Method
test_transition_model_start_actions_with_empty_trie
(self)
language/search_agents/muzero/state_tree_test.py:1367
Method
test_transition_model_with_diff_word_actions
(self)
language/search_agents/muzero/state_tree_test.py:1442
Method
test_transition_model_with_trie
(self)
language/search_agents/muzero/state_tree_test.py:548
Method
test_transition_model_with_trie_and_word_types
(self)
language/search_agents/muzero/state_tree_test.py:890
Method
test_transition_model_with_trie_from_non_empty_tree
(self)
language/search_agents/muzero/state_tree_test.py:817
Method
test_transition_model_with_valid_word_actions
(self)
language/search_agents/muzero/state_tree_test.py:1269
Method
test_transpose_batch_time_rank_1
(self)
language/common/utils/tensor_utils_test.py:277
Method
test_transpose_batch_time_rank_2
(self)
language/common/utils/tensor_utils_test.py:285
Method
test_transpose_batch_time_rank_3
(self)
language/common/utils/tensor_utils_test.py:296
Method
test_transpose_batch_time_rank_unknown
(self)
language/common/utils/tensor_utils_test.py:307
Method
test_types_as_expected
Test whether updated metrics match expected types.
language/mentionmemory/utils/metric_utils_test.py:367
Method
test_undecorated_encoder
Simple test to verify that we can register encoders at runtime.
language/mentionmemory/encoders/encoder_registry_test.py:44
Method
test_undecorated_task
Simple test to verify that we can register tasks at runtime.
language/mentionmemory/tasks/task_registry_test.py:44
Method
test_unflatten
(self)
language/common/utils/tensor_utils_test.py:265
Method
test_unicode_word
(self)
language/common/inputs/char_utils_test.py:48
Method
test_union
(self)
language/emql/cm_sketch_test.py:44
Method
test_union_clause
(self)
language/xsp/data_preprocessing/abstract_sql_test.py:87
Method
test_unk
(self)
language/nql/nql/symbol_test.py:30
Method
test_valid_full_words_in_obs
(self)
language/search_agents/muzero/env_test.py:230
Method
test_validate_fields
(self)
language/fruit/wiki_utils_test.py:23
Method
test_values_as_expected
Test whether metrics computation produces expected values.
language/mentionmemory/utils/metric_utils_test.py:264
Method
test_values_as_expected
Test whether processed dictionaries match expected values.
language/mentionmemory/utils/metric_utils_test.py:320
Method
test_varargs
(self)
language/canine/tensor_contracts_test.py:144
Method
test_verbal_prompt_formatter
Tests the verbal prompt format.
language/casper/augment/casper_formatters_test.py:91
Method
test_weighted_by
(self)
language/nql/nql/nql_test.py:338
Method
test_weighted_by
(self)
language/nql/nql/nql_test.py:734
Method
test_where_select_axis_0
Test for where() when selecting on axis 0.
language/common/utils/tensor_utils_test.py:111
Method
test_where_select_elements
Test for where() when selecting individual elements.
language/common/utils/tensor_utils_test.py:95
Method
test_where_select_nontrivial
Test for where() when selecting on an intermediate axis.
language/common/utils/tensor_utils_test.py:126
Method
test_works_on_delimiterless_text
(self)
language/fruit/metrics_test.py:217
Method
test_x_in_set
(self)
language/emql/util_test.py:77
Method
test_yield_predictions_from_estimator_not_enough
(self)
language/realm/retrieval_test.py:41
Method
test_yield_predictions_from_estimator_restarts
(self)
language/realm/retrieval_test.py:22
Method
test_yield_predictions_from_estimator_skip
(self)
language/realm/retrieval_test.py:53
Function
text_hash
Given 1D integer array with token IDs produces integer hash.
language/mentionmemory/utils/mention_preprocess_utils.py:736
Function
text_hash_tf
Given 1D integer array with token IDs produces integer hash.
language/mentionmemory/utils/mention_preprocess_utils.py:741
Method
tf
A Tensorflow expression which evaluates this NeuralQueryExpression. Returns: A Tensorflow expression that computes this NeuralQueryExpressi
language/nql/nql/__init__.py:157
Function
tf_example_to_structure
Convert a serialized tf.Example into a nested structure of Tensors. Args: serialized_example: String tensor containing a serialized example.
language/common/utils/nest_utils.py:71
← previous
next →
5,901–6,000 of 6,154, ranked by callers