| 380 | |
| 381 | template <typename TensorType> |
| 382 | void NumpyToTensorView(TensorType &ten, |
| 383 | const std::string fname) |
| 384 | { |
| 385 | auto resobj = res_dict[fname.c_str()]; |
| 386 | NumpyToTensorView(ten, resobj); |
| 387 | } |
| 388 | |
| 389 | template <typename TensorType> |
| 390 | void NumpyToTensorView(TensorType ten, |