Skip to content
Snippets Groups Projects

[IMPR][MAJ] More precise type system

Closed laurent soulier requested to merge feat/DataTypes into main
1 unresolved thread
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -94,9 +94,9 @@ public:
* @param name Name of the Operator.
* @return std::shared_ptr<Node> A Node containing the Operator.
*/
inline std::shared_ptr<Node> Slice(const std::vector<std::int32_t> const& starts,
const std::vector<std::int32_t> const& ends,
const std::vector<std::int32_t> const& axes,
inline std::shared_ptr<Node> Slice(const std::vector<std::int32_t> & starts,
const std::vector<std::int32_t> & ends,
const std::vector<std::int32_t> & axes,
const std::string &name = "") {
// FIXME: properly handle default w&b initialization in every cases
return std::make_shared<Node>(std::make_shared<Slice_Op>(starts, ends, axes), name);
Loading