James McParlane

Results 32 comments of James McParlane

Thanks,. Yes, now that I have the flow and semantics thought out and lazy execution working, more complex objects are now needed. Just thinking some things out loud again here....

`DotProduct4` A lot to unpack here. ![image](https://github.com/eduardoleao052/js-torch/assets/42017256/beaac0b1-2f91-4159-89f1-a724a475ffdb) Great success.. but.. From a flow aspect, there are several ways to computer dotN. Not all of them are obviously nonsense. Also this...

The plan => - ISourceable - Takes a `Compute` element and adapts it for streaming inputs in from a source. May require TS type magic or specialised classes for each...

I tried the above. It works. I ended up with the more sensibly named `IStreamer` as we don't seem to need to for Destination and what it effect does is...

TypeScript's type system is doing some heavy lifting here. ```TypeScript type v4 = Vector | DataVectorN | (number | IData)[] const source = new SourceMemory([1, 1, 1, 1], new DataVectorN([1,...

Some more thoughts. Streaming in such a way that engages elegantly with TypeScript's type system but remains performant; There are few ways to go. The main issue is argument cardinality...

Yep, eventually. At the moment, I'm still experimenting. I assumed here was good because others could chip in. It just kind of happened organically as I write down most of...

What do you mean by specified frames? Do you want to be able to seek?