The tensor generating function generate_ht_optical:
|
ht_optical[..., 0, 2] = ( |
Causes ambiguous memory access:
roboreg/util/transform.py", line 68, in generate_ht_optical
ht_optical[..., 0, 2] = (
~~~~~~~~~~^^^^^^^^^^^
RuntimeError: unsupported operation: more than one element of the written-to tensor refers to a single memory location. Please clone() the tensor before performing the operation.