Skip to content
Snippets Groups Projects
Commit eb5e0efb authored by Cyril Moineau's avatar Cyril Moineau Committed by Cyril Moineau
Browse files

Bind Tensor::capacity() method.

parent c257d582
No related branches found
No related tags found
2 merge requests!152Update Aidge export to take a graph view has an argument instead of a...,!137Fix fuse mulAdd (and more ;))
......@@ -85,6 +85,7 @@ void init_Tensor(py::module& m){
.def("dtype", &Tensor::dataType)
.def("init_grad", &Tensor::initGrad)
.def("size", &Tensor::size)
.def("capacity", &Tensor::capacity)
.def("resize", (void (Tensor::*)(const std::vector<DimSize_t>&, std::vector<DimSize_t>)) &Tensor::resize)
.def("has_impl", &Tensor::hasImpl)
.def("get_coord", &Tensor::getCoord)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment