TensorProgram

Models & Types · AiDotNet.Tensors.Engines.Export

No summary documentation available yet.

Properties

Property Summary
IEnumerable<int> ParameterIds { get; }
IReadOnlyList<IReadOnlyList<SymbolicInt>> InputDimensions { get; }
IReadOnlyList<ProgramNode> Nodes { get; }
IReadOnlyList<ProgramValue> Values { get; }
IReadOnlyList<int> Inputs { get; }
IReadOnlyList<int> Outputs { get; }
IReadOnlyList<string> Diagnostics { get; }
IReadOnlyList<string> Symbols { get; }
bool ParametersBound { get; }
string OpSetHash { get; set; }
string TracedElementType { get; }

Methods

Method Summary
Func<Tensor<T>, Tensor<T>> ToFunc()
IReadOnlyList<Tensor<T>> GetParameters()
Tensor<T> Run(Tensor<T> input)
Tensor<T>[] Run(IEngine engine, Tensor<T>[] inputs)
Tensor<T>[] Run(Tensor<T>[] inputs)
TensorProgram Trace(Func<Tensor<T>, Tensor<T>> function, Tensor<T> example)
TensorProgram Trace(Func<Tensor<T>, Tensor<T>> function, Tensor<T> example, TraceOptions options)
TensorProgram Trace(Func<Tensor<T>[], Tensor<T>[]> function, Tensor<T>[] examples)
TensorProgram Trace(Func<Tensor<T>[], Tensor<T>[]> function, Tensor<T>[] examples, TraceOptions options)
string ToString()
void BindParameters(IReadOnlyList<Tensor<T>> parameters)

Fields

Field Summary
int FormatVersion