Operation
Operation object
- class graphscope.framework.operation.Operation(session_id, op_type, inputs=None, output_types=None, config=None, large_attr=None, query_args=None)[source]
Represents a dag op that performs computation on tensors.
For example
g2 = g1.add_vertices("path")
create anOperation
of type “ADD_LABELS” that takes operation ofg1
as input, and produces a graph dag nodeg2
which contains this operation as output.After the dag has been launched in a session, an Operation can be executed by :code`op.eval()` or passing it to
session.run
.
|
Creates an |
Unique key for each |
|
Signature of its parents’ signatures and its own parameters. |
|
|
Evaluate by |
BuiltIn operations
|
Wrapper for create an CREATE_APP Operation with configuration. |
|
Create an CREATE_GRAPH op, add op to default dag. |
|
Create an op to transform a |
|
Transform a |
|
Create modify edges operation for nx graph. |
|
Create modify vertices operation for nx graph. |
|
Run bound app on the graph. |
|
Create report operation for nx graph. |
|
|
|
Unload a loaded app. |
|
Unload a graph. |
|
Retrieve results as a numpy ndarray. |
|
Retrieve results as a pandas DataFrame. |
|
Retrieve results as vineyard tensor. |
|
Add a column to graph, produce a new graph. |
|
Retrieve graph raw data as a numpy ndarray. |
|
Retrieve graph raw data as a pandas DataFrame. |