docs: update numpy support with information about astype

refs #1080
This commit is contained in:
Arthur Meyre
2021-12-08 14:11:32 +01:00
parent 909c7930f6
commit 868f9d9d6b

View File

@@ -119,9 +119,7 @@ The framework also gives support for:
- true div, i.e., `x / y`: if one of `x` or `y` is a constant
- floor div, i.e., `x // y`: if one of `x` or `y` is a constant
```{warning}
FIXME(Arthur): speak about `astype`
```
There is support for astype as well, e.g. `x.astype(numpy.int32)`. This allows to control which data type to use for computations. In the context of FHE going back to integers may allow to fuse floating point operations together, see [this tutorial](./WORKING_WITH_FLOATING_POINTS.md) to see how to work with floating point values.
```{warning}
FIXME(Umut): speak about `shape`