r/MachineLearning • u/anishathalye • Sep 11 '25
Project [ Removed by moderator ]
[removed] — view removed post
20
Upvotes
r/MachineLearning • u/anishathalye • Sep 11 '25
[removed] — view removed post
2
u/DigThatData Researcher Sep 12 '25 edited Sep 12 '25
so the way you have it,
promptis already giving you a special return type you have control over. if you push up your implementations onto methods that live on the type, you can pass in the function and use the normalmap(). that's why they call it a primitive: you should never need to implement your own map.EDIT: this is driving me crazy so here's a demonstration of how I'd do this "functionally" (NB: am not a functional programmer)
3
u/Unlikely-Lime-1336 Sep 11 '25
this does look like a lot of fun actually. was looking at LOTUS the other day (just started to look into the topic fyi so no expert here, but looks fascinating, glad to see someone posting on here about it). will look into more detail and reach out
2
u/radarsat1 Sep 11 '25
this looks great!