fsprojects / fsharp-ai-tools

TensorFlow API for F# + F# for AI Models eDSL
MIT License
213 stars 17 forks source link

Would be nice to automatically annotate variables and operations #29

Open migueldeicaza opened 5 years ago

migueldeicaza commented 5 years ago

It would be nice if the F# bindings could automatically use the naming capabilities of TensorFlow for variables and other operations to when creating the graphs. That would allow Tensorboard to show the results directly without any human intervention.

Like this C# code:

graph.Const (Mean, "Mean")

Should just be "Mean" in F#

Oceania2018 commented 5 years ago

@migueldeicaza I think it's already working with naming tensor/ op.

image

https://github.com/fsprojects/TensorFlow.FSharp/blob/d853018febd8820247e8e30a0a474ac3ebe728e7/tests/Training.fsx