Commit 8627c495 authored by Christian Convey's avatar Christian Convey Committed by Adam Procter

Fixes minor bugs in XLA-specific code. (#361)

parent 7f3dc2d7
...@@ -87,7 +87,7 @@ namespace ngraph ...@@ -87,7 +87,7 @@ namespace ngraph
}; };
/// Convenience function for making a runtime tuple. /// Convenience function for making a runtime tuple.
std::shared_ptr<XLATuple> make_tuple(const XLAValues& elements) inline std::shared_ptr<XLATuple> make_tuple(const XLAValues& elements)
{ {
return std::make_shared<XLATuple>(elements); return std::make_shared<XLATuple>(elements);
} }
......
...@@ -41,6 +41,12 @@ ...@@ -41,6 +41,12 @@
/// @brief Convenience functions that create addional graph nodes to implement commonly-used /// @brief Convenience functions that create addional graph nodes to implement commonly-used
/// recipes, for example auto-broadcast. /// recipes, for example auto-broadcast.
/// @namespace ngraph::xla
/// @brief Code to facilitate nGraph's support for XLA/HLO.
/// @namespace ngraph::xla::op
/// @brief Operators specific to nGraph's support for XLA/HLO.
#include "ngraph/builder/autobroadcast.hpp" #include "ngraph/builder/autobroadcast.hpp"
#include "ngraph/builder/numpy_transpose.hpp" #include "ngraph/builder/numpy_transpose.hpp"
#include "ngraph/builder/reduce_ops.hpp" #include "ngraph/builder/reduce_ops.hpp"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment