GraphEdge
data class GraphEdge(val id: String, val source: GraphNode, val destination: GraphNode, val sourceOutputIndex: Int = 0, val destinationInputIndex: Int = 0, val tensorSpec: TensorSpec, val metadata: Map<String, Any> = emptyMap())(source)
Represents an edge in the computational graph, connecting two nodes and representing tensor flow between operations.
Constructors
Properties
Link copied to clipboard
The destination node (consumer of the tensor)
Link copied to clipboard
Gets the destination node ID
Link copied to clipboard
Index of the input to the destination node (for multi-input operations)
Link copied to clipboard
Index of the output from the source node (for multi-output operations)
Link copied to clipboard
Gets the tensor data type
Link copied to clipboard
Gets the tensor name
Link copied to clipboard
Gets the tensor shape
Link copied to clipboard
Specification of the tensor flowing through this edge