Tree – a lib for working with nested data structures, open-sourced by deepmind
1–10 of 17 posts
Re: Tree – a lib for working with nested data structures, open-sourced by deepmind
#2Re: Tree – a lib for working with nested data structures, open-sourced by deepmind
#3Re: Tree – a lib for working with nested data structures, open-sourced by deepmind
#4If you like this, I do a weekly roundup of open source projects that includes an interview with one of the devs you can subscribe to. https://console.substack.com/
Re: Tree – a lib for working with nested data structures, open-sourced by deepmind
#5Nice. Although I wish the documentation was less sparse.
Re: Tree – a lib for working with nested data structures, open-sourced by deepmind
#6I've wondered for a while how Deepmind manages their (Python & C++) codebase. This is a small window into that I think, and you can see that they're likely using internal 'Blaze' Python rules and rely on the maintenance of compatibility with the open-source Bazel rules. `py_library` is used in `tree/BUILD`, but it is not loaded explicitly as is expected with Bazel these days; the rule definition is loaded by Bazel implicitly.
Re: Tree – a lib for working with nested data structures, open-sourced by deepmind
#7For those using Bazel this looks like a pretty helpful example of developing and releasing a cross-platform Python package with native-libs (C++ in this case). I've wondered for a while how Deepmind manages their (Python & C++) codebase. This is a small window into that I think, and you can see that they're likely using internal 'Blaze' Python rules and rely on the maintenance of compatibility with the open-source Ba…
Re: Tree – a lib for working with nested data structures, open-sourced by deepmind
#8For those using Bazel this looks like a pretty helpful example of developing and releasing a cross-platform Python package with native-libs (C++ in this case). I've wondered for a while how Deepmind manages their (Python & C++) codebase. This is a small window into that I think, and you can see that they're likely using internal 'Blaze' Python rules and rely on the maintenance of compatibility with the open-source Ba…
Re: Tree – a lib for working with nested data structures, open-sourced by deepmind
#9> tree has originally been part of TensorFlow and is available as tf.nest.
The tf.nest docs can be found here and may be more useful for now: https://www.tensorflow.org/api_docs/python/tf/nest
I'm glad this is being moved out of TensorFlow. It's a really useful library on its own and I've found myself reaching for it on projects without wanting to import all of TensorFlow.
Re: Tree – a lib for working with nested data structures, open-sourced by deepmind
#10For those using Bazel this looks like a pretty helpful example of developing and releasing a cross-platform Python package with native-libs (C++ in this case). I've wondered for a while how Deepmind manages their (Python & C++) codebase. This is a small window into that I think, and you can see that they're likely using internal 'Blaze' Python rules and rely on the maintenance of compatibility with the open-source Ba…
I thought implicitly doing anything is against the whole bazel philosophy.