SymbolicTensorBuilder
Lightweight, allocation-free builder that mimics the shape/initializer style of the data DSL but produces only TensorSpec metadata for the DAG DSL.
Functions
Link copied to clipboard
Infer shape from a flat float array. Stores initializer metadata only; no allocation is performed.
Infer shape from a flat int array. Stores initializer metadata only; no allocation is performed.
Link copied to clipboard
Declare a tensor with an explicit shape.
Shape overload that accepts a list.