TensorRef

data class TensorRef(val id: String, val shape: Shape, val dtype: DType)(source)

TensorRef represents a reference to a tensor in the computation graph. It captures the essential metadata needed for graph construction and optimization.

Constructors

Link copied to clipboard
constructor(id: String, shape: Shape, dtype: DType)

Properties

Link copied to clipboard
Link copied to clipboard
val id: String
Link copied to clipboard