swift
e4d1ebaa - Taught tracer to support concrete, intermediate tensors created within tracee (#22100)

Commit
6 years ago
Taught tracer to support concrete, intermediate tensors created within tracee (#22100) * Taught tracer to support concrete, intermediate tensors created within tracee. These tensors become additional input tensors to feed into the generated trace graph function. For example, if the tracee is: ```swift func foo(x: TensorPair) -> Tensor { let y = Tensor<1.0> return x.first + x.second + y } ``` Then the generated trace graph function has 3 input tensors: `x.first`, `x.second`, and `y`, where `y` is the additional input. * Some polishing work and typo fixes. * Addressed feedback.
Author
Mingsheng Hong
Parents
Loading