MCPcopy Create free account

hub / github.com/DeepGraphLearning/graphvite / functions

Functions329 in github.com/DeepGraphLearning/graphvite

↓ 42 callersMethodresize
Resize the memory space. Reallocate only if the capacity is not enough. */
include/base/memory.h:137
↓ 30 callersMethodinfo
Return information about the graph */
include/core/graph.h:118
↓ 28 callersMethodrelpath
(self, path)
python/graphvite/dataset.py:123
↓ 15 callersMethod__init__
(self)
python/graphvite/dataset.py:580
↓ 15 callersMethodname
include/core/graph.h:103
↓ 10 callersMethodreallocate
Reallocate the memory space */
include/base/memory.h:108
↓ 9 callersMethodto_host
Copy the memory space back from GPU */
include/base/memory.h:165
↓ 9 callersMethodtokenize
(self, str)
python/graphvite/application/application.py:197
↓ 8 callersMethodload
load(**kwargs) Load a graph from file or Python object. Arguments depend on the underlying graph type.
python/graphvite/application/application.py:79
↓ 8 callersFunctionsignature
include/bind.h:83
↓ 7 callersMethodclear
Clear the graph and free CPU memory */
include/core/graph.h:76
↓ 7 callersMethodname_map
(self, dicts, names)
python/graphvite/application/application.py:204
↓ 6 callersMethodlink_prediction_split
Divide a normal graph into a train split and several test splits for link prediction use. Each test split contains half true and half
python/graphvite/dataset.py:318
↓ 5 callersFunctionassert_in
(candidates, **kwargs)
python/graphvite/util.py:54
↓ 5 callersMethodcopy
Copy data from another memory */
include/base/memory.h:96
↓ 5 callersFunctionnumpy_view
include/bind.h:93
↓ 5 callersMethodscatter
Scatter data to a pool according to an index mapping */
include/base/memory.h:208
↓ 5 callersMethodto_device_async
Copy the memory space to GPU (asynchronous) */
include/base/memory.h:155
↓ 4 callersMethodclear
Free CPU and GPU memory, except the embeddings on CPU */
include/core/solver.h:805
↓ 4 callersMethodget_mapping
(self, id2name, name2id)
python/graphvite/application/application.py:189
↓ 4 callersFunctionheader
include/util/io.h:94
↓ 4 callersMethodreadable_label
(self, labels, save_file, hierarchy=False)
python/graphvite/dataset.py:910
↓ 3 callersMethodbuild
build(**kwargs) Build the solver from the graph. Arguments depend on the underlying solver type.
python/graphvite/application/application.py:91
↓ 3 callersMethodedge_split
Divide a graph into several splits. Parameters: graph_file (str): graph file files (list of str): file names
python/graphvite/dataset.py:295
↓ 3 callersMethodgather
Gather data from a pool according to an index mapping. Automatically resize the memory when necessary. */
include/base/memory.h:194
↓ 3 callersMethodgenerate_math
(self, save_file, num_triplet)
python/graphvite/dataset.py:602
↓ 3 callersMethodget_batch_size
(self, sample_size)
python/graphvite/application/application.py:948
↓ 3 callersFunctionget_config_path
()
python/graphvite/cmd.py:35
↓ 3 callersMethodget_name
(self, function, instance)
python/graphvite/util.py:139
↓ 3 callersMethodgpu_map
(self, func, settings)
python/graphvite/application/application.py:221
↓ 3 callersMethodlocal_files
(self)
python/graphvite/dataset.py:213
↓ 3 callersMethodswap
Swap two memory spaces */
include/base/memory.h:69
↓ 3 callersMethodtop_k_label
Extract top-k labels. Parameters: label_file (str): label file save_file (str): save file k (int
python/graphvite/dataset.py:238
↓ 3 callersMethodtrain
train(**kwargs) Train embeddings with the solver. Arguments depend on the underlying solver type.
python/graphvite/application/application.py:100
↓ 2 callersMethodOptimizer
Construct a default optimizer */
include/core/optimizer.h:123
↓ 2 callersMethodbuild
* @brief Determine and allocate all resources for the solver * @param _graph graph * @param _optimizer optimizer or learning rate * @pa
include/core/solver.h:287
↓ 2 callersMethodcount
Count edges for each sample block. This function can be parallelized. */
include/core/solver.h:1058
↓ 2 callersMethodcsv2txt
Convert ``csv`` to ``txt``. Parameters: csv_file: csv file txt_file: txt file
python/graphvite/dataset.py:225
↓ 2 callersMethoddownload
(self, url)
python/graphvite/dataset.py:126
↓ 2 callersMethodevaluate
evaluate(task, **kwargs) Evaluate the learned embeddings on a downstream task. Arguments depend on the underlying graph type and the t
python/graphvite/application/application.py:108
↓ 2 callersMethodextract
(self, zip_file, member=None)
python/graphvite/dataset.py:140
↓ 2 callersFunctionfind_all_templates
(module)
python/graphvite/helper.py:45
↓ 2 callersMethodgenerate_one_vs_rest
(self, H, R, T, num_entity, target="both")
python/graphvite/application/application.py:963
↓ 2 callersMethodget_name
(self, synset)
python/graphvite/dataset.py:906
↓ 2 callersMethodimage_feature_data
(self, image_path)
python/graphvite/dataset.py:944
↓ 2 callersMethodload_alias
(self, alias_file)
python/graphvite/dataset.py:720
↓ 2 callersFunctionload_config
(config_file)
python/graphvite/cmd.py:82
↓ 2 callersFunctionload_data
(file_name)
python/graphvite/cmd.py:168
↓ 2 callersMethodload_images
(self, *batch_files)
python/graphvite/dataset.py:816
↓ 2 callersMethodload_labels
(self, meta_file, *batch_files)
python/graphvite/dataset.py:824
↓ 2 callersMethodload_model
Load model in pickle format. Parameters: file_name (str): file name:
python/graphvite/application/application.py:132
↓ 2 callersFunctionmake_helper_class
(module, name, target_module, template_keys, template_values)
python/graphvite/helper.py:108
↓ 2 callersMethodpredict
* @brief Predict logits for samples * @param _samples edge samples */
include/core/solver.h:660
↓ 2 callersMethodsave_model
Save model in pickle format. Parameters: file_name (str): file name save_hyperparameter (bool, optional): sa
python/graphvite/application/application.py:146
↓ 2 callersMethodset_format
Set the format for parsing input data. Parameters: delimiters (str, optional): string of delimiter characters
python/graphvite/application/application.py:66
↓ 2 callersFunctionsize_string
include/util/io.h:68
↓ 2 callersFunctionyes_no
include/util/io.h:64
↓ 1 callersFunctionGiB
include/util/common.h:40
↓ 1 callersMethodSGD
include/core/optimizer.h:274
↓ 1 callersMethod__init__
(self, score_function, *embeddings, **kwargs)
python/graphvite/application/network.py:49
↓ 1 callersMethod__new__
(cls, array)
python/graphvite/util.py:95
↓ 1 callersMethodapply_schedule
Compute current learning rate according to the schedule */
include/core/optimizer.h:132
↓ 1 callersMethodbackward
include/instance/model/graph.h:48
↓ 1 callersFunctionblock
include/util/io.h:86
↓ 1 callersFunctionfind_all_names
(module)
python/graphvite/helper.py:36
↓ 1 callersMethodflatten
Flatten the adjacency list to an edge list */
include/core/graph.h:87
↓ 1 callersMethodgenerate_mask
(self, H, R, T, exclude_H, exclude_T, num_entity, target="both")
python/graphvite/application/application.py:979
↓ 1 callersFunctiongenerate_one_vs_rest
(indexes, labels)
python/graphvite/application/application.py:462
↓ 1 callersFunctionget_any_instantiation
(module, name)
python/graphvite/helper.py:55
↓ 1 callersMethodget_file
(self, key)
python/graphvite/dataset.py:182
↓ 1 callersMethodget_graph
(self, **kwargs)
python/graphvite/application/application.py:60
↓ 1 callersFunctionget_instantiation_info
(module, name, template_keys)
python/graphvite/helper.py:62
↓ 1 callersFunctionget_parser
()
python/graphvite/cmd.py:46
↓ 1 callersMethodget_solver
(self, **kwargs)
python/graphvite/application/application.py:63
↓ 1 callersMethodimage_feature_data
Compute feature vectors for an image dataset using a neural network. Parameters: dataset (torch.utils.data.Dataset): dat
python/graphvite/dataset.py:363
↓ 1 callersMethodimport_wordnet
(self)
python/graphvite/dataset.py:893
↓ 1 callersMethodinduced_graph
Induce a subgraph from labeled nodes. All edges in the induced graph have at least one labeled node. Parameters: graph_f
python/graphvite/dataset.py:272
↓ 1 callersMethodinfo
Return information about the solver */
include/core/solver.h:506
↓ 1 callersFunctionreadable_list
(iterable)
python/graphvite/util.py:56
↓ 1 callersFunctionrecursive_default
(obj, default)
python/graphvite/util.py:32
↓ 1 callersMethodsample
Sample edges. This function can be parallelized. */
include/core/solver.h:1012
↓ 1 callersMethodscatter_sub
Scatter data to a pool by substraction, according to an index mapping */
include/base/memory.h:232
↓ 1 callersMethodset_parameters
(self, model)
python/graphvite/application/application.py:288
↓ 1 callersFunctionsignature
(name, *args)
python/graphvite/helper.py:26
↓ 1 callersMethodvisualization
Visualize learned 2D or 3D coordinates. Parameters: Y (list of str, optional): labels of vectors file_name (
python/graphvite/application/application.py:1120
MethodAdaGrad
include/core/optimizer.h:291
MethodAdam
include/core/optimizer.h:312
MethodComplEx
(heads, relations, tails)
python/graphvite/application/network.py:105
FunctionCudaCheck
include/util/debug.h:30
FunctionCurandCheck
include/util/debug.h:35
MethodDistMult
(heads, relations, tails)
python/graphvite/application/network.py:99
MethodFOR
include/instance/model/graph.h:52
MethodFOR
include/instance/model/visualization.h:52
MethodFOR
include/instance/model/knowledge_graph.h:55
MethodFOR
include/instance/model/knowledge_graph.h:135
MethodFOR
include/instance/model/knowledge_graph.h:362
MethodGraphMixin
include/core/graph.h:71
FunctionKiB
include/util/common.h:32
MethodLINE
(heads, tails)
python/graphvite/application/network.py:70
MethodLRSchedule
Construct a learning rate schedule */
include/core/optimizer.h:50
next →1–100 of 329, ranked by callers