-
Hi, how should I translate this expression from Python(torch) to candle:
Both count, mask and result are tensors:
```
mask = (count.squeeze(-1) > 0)
result[mask] = result[mask] / count[mask].repea…
-
**Submitting author:** @mofeing (Sergio Sánchez Ramírez)
**Repository:** https://github.com/bsc-quantic/EinExprs.jl
**Branch with paper.md** (empty if default branch):
**Version:** v0.6.5
**Editor:**…
-
### Actual behavior
```
Traceback (most recent call last):
File "/share_container/optfuzz/res/bugs/7bug_assert.py", line 25, in
tvm.ir.assert_structural_equal(mod_seq, mod) # assert fail…
-
https://docs.sympy.org/latest/modules/matrices/expressions.html
https://docs.sympy.org/latest/modules/tensor/tensor.html
See also:
- #30307 - Refactor Components into parent & element
- #31942 -…
-
Hey!
I need to derive a weighted average tensor from several tensors (calculated from fields with onnx model) at indexing time e.g.
```
field emb1 type tensor(x[512]) {
indexing: summary
}…
-
When printing a tensor expression involving a non numeric coefficient, sympy crashes. For example
```python
import sympy
from sympy.tensor.tensor import TensorIndexType, TensorIndex, TensorHead
…
-
I am using einsum on four tensors, in a line like
`einsum(A, B, C, D)`
the shapes of A,B,C,D are, respectively: {3, 4, 4}, {3, 3, 2, 2}, {4, 2, 4}, {4, 2, 4}. This lines raises an error upon compila…
-
Hi,
I tried to build with ROCm support and it's fail.
Build output:
```
quentin@quentin-pc:~/Documents/stable-diffusion.cpp/build$ cmake .. -G "Ninja" -DCMAKE_C_COMPILER=$(hipconfig -l)/clang …
-
Very thanks for your job!
I got stuck while compiling LOTD, and there are already several issues the same with me.
@ventusff Do you have time to help me take a look and give some suggestion?
I ha…
-
# Feature request:
I think it would be quite useful to have a function that applies a coordinate transformation to a tensor component, or to all components. Some specialized functions were implemen…