FuncNode

scalation.modeling.autograd.GraphExporter.FuncNode
case class FuncNode(id: String, op: String, attrs: Map[String, String], shape: List[Int], depth: Int)

A function node (operation) in the computation graph.

Value parameters

attrs

operator-specific attributes

depth

depth level for layered graph layout

id

unique identifier for the function

op

operation name (e.g., "add", "matmul")

shape

tensor shape of the function output

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def productElementNames: Iterator[String]

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product